diff options
author | Yuntao Xu <yuntaoxu@google.com> | 2021-05-04 17:12:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-05-04 17:12:00 +0000 |
commit | 4027e5874ba3b794972e2061a474e5b49fc6d4c8 (patch) | |
tree | 5a5a7697a4be8151f68c69a7c4c4ebc5d91897ff | |
parent | 8d575199e11a38f7917a8761a19c993395788e3f (diff) | |
parent | dde3732b08d325a8e94e3d13cdaa7cad6691d927 (diff) | |
download | SampleLocationAttribution-4027e5874ba3b794972e2061a474e5b49fc6d4c8.tar.gz |
Convert Android.mk to Android.bp am: db999d6341 am: b41a26429f am: 77c3522420 am: dde3732b08
Original change: https://android-review.googlesource.com/c/platform/packages/apps/SampleLocationAttribution/+/1689364
Change-Id: Icb7f10a3f272fa73f5a66efcddcd7c879431084e
-rw-r--r-- | Android.bp | 17 | ||||
-rw-r--r-- | Android.mk | 26 |
2 files changed, 17 insertions, 26 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..c5a4f18 --- /dev/null +++ b/Android.bp @@ -0,0 +1,17 @@ +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +android_app { + name: "SampleLocationAttribution", + resource_dirs: ["res"], + static_libs: [ + "androidx.core_core", + "androidx.appcompat_appcompat", + ], + // Build all java files in the src subdirectory + srcs: ["src/**/*.java"], + sdk_version: "current", + product_specific: true, +} diff --git a/Android.mk b/Android.mk deleted file mode 100644 index dbf609b..0000000 --- a/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_USE_AAPT2 := true - -LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res - -LOCAL_STATIC_ANDROID_LIBRARIES := \ - androidx.core_core \ - androidx.appcompat_appcompat - -# Build all java files in the src subdirectory -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_SDK_VERSION := current - -LOCAL_PRODUCT_MODULE := true - -# Name of the APK to build -LOCAL_PACKAGE_NAME := SampleLocationAttribution -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 -LOCAL_LICENSE_CONDITIONS := notice - -# Tell it to build an APK -include $(BUILD_PACKAGE) |