diff options
author | Yuntao Xu <yuntaoxu@google.com> | 2021-04-30 17:45:37 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-30 17:45:37 +0000 |
commit | a927501359e84981c733122f582aec6511169275 (patch) | |
tree | d51fe2c9b495971f9cde4ab36814184d070aa0b7 | |
parent | 02af27736f496954494224d1efd6707c82e2e407 (diff) | |
parent | 8184c3c8104fc516464ca27ee152bf38677372a0 (diff) | |
download | android-a927501359e84981c733122f582aec6511169275.tar.gz |
Merge "Convert src/main/Android.mk to Android.bp" am: 3c3a5d95b6 am: 8184c3c810
Original change: https://android-review.googlesource.com/c/platform/developers/samples/android/+/1690211
Change-Id: I25e2744b0bea9fbfedf6b6d8a413554ed987ea62
-rw-r--r-- | security/FingerprintDialog/Application/src/main/Android.bp | 37 | ||||
-rw-r--r-- | security/FingerprintDialog/Application/src/main/Android.mk | 33 |
2 files changed, 37 insertions, 33 deletions
diff --git a/security/FingerprintDialog/Application/src/main/Android.bp b/security/FingerprintDialog/Application/src/main/Android.bp new file mode 100644 index 00000000..8fd208f0 --- /dev/null +++ b/security/FingerprintDialog/Application/src/main/Android.bp @@ -0,0 +1,37 @@ +// Copyright (C) 2016 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +android_app { + name: "FingerprintDialog", + static_libs: [ + "androidx.appcompat_appcompat", + "androidx.legacy_legacy-support-v4", + "androidx.annotation_annotation", + ], + srcs: ["**/*.java"], + sdk_version: "current", + resource_dirs: [ + "res", + ], + aaptflags: [ + "--auto-add-overlay", + "--extra-packages", + "android.support.v7.appcompat", + ], +} diff --git a/security/FingerprintDialog/Application/src/main/Android.mk b/security/FingerprintDialog/Application/src/main/Android.mk deleted file mode 100644 index 796e182f..00000000 --- a/security/FingerprintDialog/Application/src/main/Android.mk +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2016 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -LOCAL_PATH:= $(call my-dir) -include $(CLEAR_VARS) -LOCAL_USE_AAPT2 := true -LOCAL_STATIC_ANDROID_LIBRARIES := \ - androidx.appcompat_appcompat \ - androidx.legacy_legacy-support-v4 \ - androidx.annotation_annotation -LOCAL_MODULE_TAGS := samples -LOCAL_SRC_FILES := $(call all-subdir-java-files) -LOCAL_PACKAGE_NAME := FingerprintDialog -LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 -LOCAL_LICENSE_CONDITIONS := notice -LOCAL_SDK_VERSION := current -LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \ - prebuilts/sdk/current/support/v7/appcompat/res -LOCAL_AAPT_FLAGS := --auto-add-overlay \ - --extra-packages android.support.v7.appcompat - -include $(BUILD_PACKAGE) |