summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-05-10 19:53:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-10 19:53:53 +0000
commitb71d4e6acf99dc2138ca7ae42baff546f68dda02 (patch)
treec4c406987e7096c0877008413ce7506aa459b808
parentd92d484537aa7f615972899ad81689419ed30d6f (diff)
parent32ca458cb617ae9dd6aca1db80ad29b94ea324df (diff)
downloadneven-b71d4e6acf99dc2138ca7ae42baff546f68dda02.tar.gz
Merge "Convert external/neven/Android.mk file to Android.bp file"
-rw-r--r--Android.bp26
-rw-r--r--Android.mk33
2 files changed, 26 insertions, 33 deletions
diff --git a/Android.bp b/Android.bp
index 173db03..6d58846 100644
--- a/Android.bp
+++ b/Android.bp
@@ -139,3 +139,29 @@ 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
deleted file mode 100644
index e2adf42..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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