xref: /aosp_15_r20/external/pdfium/core/fxge/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-fxge",
12    defaults: ["pdfium-core"],
13
14    visibility: ["//external/pdfium:__subpackages__"],
15
16    static_libs: [
17        "libpdfium-agg",
18        "libpdfium-fxcrt",
19    ],
20
21    exclude_srcs: [
22        // pdf_enable_xfa
23        "cfx_unicodeencodingex.cpp",
24        // is_win
25        "dib/cfx_dibextractor.cpp",
26        "cfx_windowsrenderdevice.cpp",
27        // is_linux
28        "fx_ge_linux.cpp",
29    ],
30
31    srcs: [
32        "*.cpp",
33        "dib/*.cpp",
34        "freetype/*.cpp",
35        "fontdata/**/*.cpp",
36        // !pdf_use_skia
37        "agg/*.cpp",
38        // is_android
39        "android/*.cpp",
40    ],
41
42    include_dirs: [
43        "external/freetype/include",
44        "external/freetype/include/freetype",
45    ],
46}
47