From d097d3e23df289fb6de4f363f6e993d841879247 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 19 Apr 2017 20:32:09 -0700 Subject: Convert external/pdfium to Android.bp See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: Id230fda51411f772bbb92b1443467212cc2bbdbd (cherry picked from commit 961fd5e39d0c91e4c60d4c4ac1bb0a240cb2a356) --- Android.bp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Android.bp (limited to 'Android.bp') 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"] -- cgit v1.2.3