• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_pdfium_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["external_pdfium_license"],
8}
9
10cc_library_static {
11    name: "libpdfium-fxcrt",
12    defaults: ["pdfium-core"],
13
14    visibility: [
15        "//external/pdfium:__subpackages__",
16        "//cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8332",
17    ],
18
19    export_shared_lib_headers: [
20        "libicu",
21    ],
22
23    static_libs: [
24        "libpdfium-third_party-base",
25    ],
26
27    shared_libs: [
28        "libicu",
29    ],
30
31    exclude_srcs: [
32        // is_win
33        "cfx_fileaccess_windows.cpp",
34        "fx_folder_windows.cpp",
35        // pdf_enable_xfa
36        "cfx_memorystream.cpp",
37        // pdf_use_partition_alloc
38        "fx_memory_pa.cpp",
39        // test module
40        "fake_time_test.cpp",
41    ],
42
43    srcs: [
44        "*.cpp",
45        "xml/*.cpp",
46        "debug/*.cc",
47    ],
48}
49
50cc_library_static {
51    name: "libpdfium-fxcrt-android-r-compatible",
52    defaults: ["pdfium-core"],
53
54    visibility: [
55        "//external/pdfium:__subpackages__",
56        "//cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8332",
57    ],
58
59    export_shared_lib_headers: [
60        "libicu",
61    ],
62
63    static_libs: [
64        "libpdfium-third_party-base",
65    ],
66
67    shared_libs: [
68        "libicu",
69    ],
70
71    exclude_srcs: [
72        // is_win
73        "cfx_fileaccess_windows.cpp",
74        "fx_folder_windows.cpp",
75        // pdf_enable_xfa
76        "cfx_memorystream.cpp",
77        // pdf_use_partition_alloc
78        "fx_memory_pa.cpp",
79        // test module
80        "fake_time_test.cpp",
81    ],
82
83    srcs: [
84        "*.cpp",
85        "xml/*.cpp",
86        "debug/*.cc",
87    ],
88
89    cflags: [
90        "-DANDROID_R_COMPATIBLE",
91    ],
92}
93