1cc_library_static {
2    name: "libpdfiumjavascript",
3    defaults: ["pdfium-defaults"],
4
5    cflags: [
6        "-DOPJ_STATIC",
7        "-DV8_DEPRECATION_WARNINGS",
8        "-D_CRT_SECURE_NO_WARNINGS",
9
10        // Mask some warnings. These are benign, but we probably want to fix them
11        // upstream at some point.
12        "-Wno-sign-compare",
13        "-Wno-unused-parameter",
14    ],
15
16    srcs: ["fpdfsdk/javascript/JS_Runtime_Stub.cpp"],
17}
18