aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 7531a72ed89bd2c3006538c88a3a7b16d4e8e712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
cc_defaults {
    name: "pdfium-defaults",
    cflags: [
        "-O3",
        "-fstrict-aliasing",
        "-fprefetch-loop-arrays",
        "-fexceptions",

        "-Wno-non-virtual-dtor",
        "-Wall",
        "-Werror",
    ],

    arch: {
        arm: {
            instruction_set: "arm",
        },
    },

    header_libs: ["pdfium-headers"],
}

cc_library_headers {
    name: "pdfium-headers",
    export_include_dirs: ["."],
}

build = [
    "pdfiumfdrm.bp",
    "pdfiumfpdfapi.bp",
    "pdfiumfpdfdoc.bp",
    "pdfiumfpdftext.bp",
    "pdfiumfxcodec.bp",
    "pdfiumfxcrt.bp",
    "pdfiumfxge.bp",

    "pdfiumjavascript.bp",
    "pdfiumformfiller.bp",
    "pdfiumfxedit.bp",
    "pdfiumpdfwindow.bp",
    "pdfium.bp",
]

subdirs = ["third_party"]