diff options
author | d34d <clark@cyngn.com> | 2015-10-27 17:26:10 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-10-27 18:29:30 -0700 |
commit | 5cac74773330b56715bd2fc97fdf36fac91a8bac (patch) | |
tree | 4ceefa73fd8c7da8454eadcafec871cb40518b68 /tools/aapt | |
parent | 37e6e22d01d08aaf3a37b02db99b5acfe9f5fa1a (diff) | |
download | frameworks_base-5cac74773330b56715bd2fc97fdf36fac91a8bac.zip frameworks_base-5cac74773330b56715bd2fc97fdf36fac91a8bac.tar.gz frameworks_base-5cac74773330b56715bd2fc97fdf36fac91a8bac.tar.bz2 |
AAPT: Build aapt for device
Change-Id: I9666cb18120675d65ccdf1c1eba2f4bbf6707041
Diffstat (limited to 'tools/aapt')
-rw-r--r-- | tools/aapt/Android.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk index b991d55..68c2fe8f 100644 --- a/tools/aapt/Android.mk +++ b/tools/aapt/Android.mk @@ -133,5 +133,30 @@ LOCAL_STATIC_LIBRARIES += libaapt $(aaptHostStaticLibs) include $(BUILD_HOST_NATIVE_TEST) +# ========================================================== +# Build the device executable: aapt +# ========================================================== +ifneq ($(SDK_ONLY),true) +include $(CLEAR_VARS) + +LOCAL_MODULE := aapt +LOCAL_CFLAGS += $(aaptCFlags) +LOCAL_SRC_FILES := $(aaptSources) $(aaptMain) +LOCAL_C_INCLUDES += \ + $(aaptCIncludes) \ + bionic +LOCAL_SHARED_LIBRARIES := \ + libandroidfw \ + libutils \ + libcutils \ + libpng \ + liblog \ + libz +LOCAL_STATIC_LIBRARIES := \ + libexpat_static + +include $(BUILD_EXECUTABLE) + +endif # Not SDK_ONLY endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK |