diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2018-05-05 14:45:11 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-05 14:45:11 -0700 |
commit | 76720740d035ae00d8a1bb7eacc16570bc9e745d (patch) | |
tree | 78e77ba0dc3b154f9ac71e6545b2eab8e4f6e230 /app-launcher | |
parent | 4cb46d619627a7c657336ec2fea0fab2be10a3ea (diff) | |
parent | 0a0cdc00ffee69c80a02a771069e5d3af42929e1 (diff) | |
download | extras-76720740d035ae00d8a1bb7eacc16570bc9e745d.tar.gz |
Merge "Convert to Soong" am: fa073f4988
am: 0a0cdc00ff
Change-Id: I6fb6cc4735b54962c184e8271bed560bd61fd18b
Diffstat (limited to 'app-launcher')
-rw-r--r-- | app-launcher/Android.bp | 26 | ||||
-rw-r--r-- | app-launcher/Android.mk | 28 |
2 files changed, 32 insertions, 22 deletions
diff --git a/app-launcher/Android.bp b/app-launcher/Android.bp new file mode 100644 index 00000000..7585607e --- /dev/null +++ b/app-launcher/Android.bp @@ -0,0 +1,26 @@ +cc_defaults { + name: "computestats-defaults", + + cflags: [ + "-Wall", + "-Werror", + ], + + target: { + darwin: { + enabled: false, + }, + }, +} + +cc_binary_host { + name: "computestats", + defaults: ["computestats-defaults"], + srcs: ["computestats.c"], +} + +cc_binary_host { + name: "computestatsf", + defaults: ["computestats-defaults"], + srcs: ["computestatsf.c"], +} diff --git a/app-launcher/Android.mk b/app-launcher/Android.mk index cef9daaa..5df6eb9e 100644 --- a/app-launcher/Android.mk +++ b/app-launcher/Android.mk @@ -1,26 +1,10 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) -#LOCAL_32_BIT_ONLY = true +LOCAL_MODULE := app-launcher +LOCAL_IS_HOST_MODULE := true +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_SRC_FILES := app-launcher LOCAL_MODULE_HOST_OS := linux -LOCAL_SRC_FILES := computestatsf.c -LOCAL_MODULE := computestatsf -LOCAL_CFLAGS := -Wall -Werror -LOCAL_MODULE_TAGS := debug -include $(BUILD_HOST_EXECUTABLE) - -include $(CLEAR_VARS) -#LOCAL_32_BIT_ONLY = true -LOCAL_MODULE_HOST_OS := linux -LOCAL_SRC_FILES := computestats.c -LOCAL_MODULE := computestats -LOCAL_CFLAGS := -Wall -Werror -LOCAL_MODULE_TAGS := debug -include $(BUILD_HOST_EXECUTABLE) - -include $(CLEAR_VARS) -LOCAL_PREBUILT_EXECUTABLES := app-launcher -LOCAL_MODULE_HOST_OS := linux -LOCAL_MODULE_TAGS := debug -LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -include $(BUILD_HOST_PREBUILT) +LOCAL_REQUIRED_MODULES := computestats computestatsf +include $(BUILD_PREBUILT) |