diff options
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 000000000..62cb7b401 --- /dev/null +++ b/Android.bp @@ -0,0 +1,43 @@ +cc_defaults { + name: "pdfium-defaults", + cflags: [ + "-O3", + "-fstrict-aliasing", + "-fprefetch-loop-arrays", + "-fexceptions", + + "-Wno-non-virtual-dtor", + "-Wall", + ], + + 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"] |