xref: /aosp_15_r20/external/pdfium/core/fxcrt/Android.bp (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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: ["//external/pdfium:__subpackages__", "//cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8332"],
15
16    export_shared_lib_headers: [
17        "libicu",
18    ],
19
20    static_libs: [
21        "libpdfium-third_party-base",
22    ],
23
24    shared_libs: [
25        "libicu",
26    ],
27
28    exclude_srcs: [
29        // is_win
30        "cfx_fileaccess_windows.cpp",
31        "fx_folder_windows.cpp",
32        // pdf_enable_xfa
33        "cfx_memorystream.cpp",
34        // pdf_use_partition_alloc
35        "fx_memory_pa.cpp",
36        // test module
37        "fake_time_test.cpp",
38    ],
39
40    srcs: [
41        "*.cpp",
42        "xml/*.cpp",
43    ],
44}
45