summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:25:53 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-28 20:25:53 +0000
commitf4672d6d7e4c87f61aee6a5f9f8f54801f4a6692 (patch)
treef3d6d8aa7cd9c560d8a9d1ebef0047565e232b73
parent07b172807c1a4607997d1f72c62bbe9caa025aa2 (diff)
parenta1182cb5e3ed263807e0c2233725874819411bce (diff)
downloadneven-android10-mainline-tzdata-release.tar.gz
Change-Id: I6b19f99080bdf3ef6a978a85df6608b181bd2209
-rw-r--r--Android.bp26
-rw-r--r--Android.mk33
2 files changed, 33 insertions, 26 deletions
diff --git a/Android.bp b/Android.bp
index 6d58846..173db03 100644
--- a/Android.bp
+++ b/Android.bp
@@ -139,29 +139,3 @@ cc_library_shared {
},
},
}
-
-prebuilt_usr_share {
- name: "RFFspeed_501.bmd",
-
- //disable build in PDK
- product_variables: {
- pdk: {
- enabled: false,
- },
- },
- src: "Embedded/common/data/APIEm/Modules/RFFspeed_501.bmd",
- sub_dir: "bmd",
-}
-
-prebuilt_usr_share {
- name: "RFFstd_501.bmd",
-
- //disable build in PDK
- product_variables: {
- pdk: {
- enabled: false,
- },
- },
- src: "Embedded/common/data/APIEm/Modules/RFFstd_501.bmd",
- sub_dir: "bmd",
-}
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..e2adf42
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 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.
+
+#disable build in PDK
+ifneq ($(TARGET_BUILD_PDK),true)
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+LOCAL_MODULE := RFFspeed_501.bmd
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share/bmd
+LOCAL_SRC_FILES := Embedded/common/data/APIEm/Modules/RFFspeed_501.bmd
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := RFFstd_501.bmd
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share/bmd
+LOCAL_SRC_FILES := Embedded/common/data/APIEm/Modules/RFFstd_501.bmd
+include $(BUILD_PREBUILT)
+
+endif #TARGET_BUILD_PDK