diff options
author | Jerome Gaillard <jgaillard@google.com> | 2018-10-23 17:37:41 +0100 |
---|---|---|
committer | Jerome Gaillard <jgaillard@google.com> | 2018-10-23 17:37:41 +0100 |
commit | eef3c2700edf4dcd0055235c451c020d457f45fa (patch) | |
tree | c61ce1cb4da80b46491741481839f61d0985cca9 | |
parent | 7f657a970ab2a6bc79f4797777c0fbb72770d2c4 (diff) | |
download | dng_sdk-eef3c2700edf4dcd0055235c451c020d457f45fa.tar.gz |
Create a host target for libdng_sdkandroid-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcs
This is required for building a version of layoutlib using skia as its
renderer.
This is disabled on macOs because libjpeg is not available on that
platform.
Test: sdk build
Change-Id: Ib81956df0171da2ac8be70683f8a9b9725ffe49d
-rw-r--r-- | Android.bp | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -101,6 +101,7 @@ cc_defaults { cc_library{ name: "libdng_sdk", + host_supported: true, vendor_available: true, defaults: ["libdng_sdk-defaults"], @@ -111,6 +112,16 @@ cc_library{ "libjpeg", ], + target: { + host: { + static_libs: ["libcompiler_rt-extras"], + }, + darwin: { + // TODO(b/67474260) Turn this back on + enabled: false, + }, + }, + export_include_dirs: ["source"], } |