Updates Android.bp for new pdfium
Rewrite Android.bp to follow the new BUILD.gn structure.
Will try to set up auto update in following changes.
Bug: 155031873
Change-Id: I4a0632e1f5220ecbd257153a647b594a038f1229
Merged-Id: I4a0632e1f5220ecbd257153a647b594a038f1229
diff --git a/core/fxcrt/Android.bp b/core/fxcrt/Android.bp
new file mode 100644
index 0000000..cfbe939
--- /dev/null
+++ b/core/fxcrt/Android.bp
@@ -0,0 +1,34 @@
+cc_library_static {
+ name: "libpdfium-fxcrt",
+ defaults: ["pdfium-core"],
+
+ visibility: ["//external/pdfium:__subpackages__"],
+
+ header_libs: [
+ "libandroidicu_headers",
+ ],
+
+ export_header_lib_headers: [
+ "libandroidicu_headers",
+ ],
+
+ static_libs: [
+ "libpdfium-third_party-base",
+ ],
+
+ shared_libs: [
+ "libandroidicu",
+ ],
+
+ exclude_srcs: [
+ // is_win
+ "cfx_fileaccess_windows.cpp",
+ // pdf_enable_xfa
+ "cfx_memorystream.cpp",
+ ],
+
+ srcs: [
+ "*.cpp",
+ "xml/*.cpp",
+ ],
+}