summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Arruda <patricearruda@google.com>2019-05-09 11:23:50 -0700
committerPatrice Arruda <patricearruda@google.com>2019-05-10 16:05:36 +0000
commit32ca458cb617ae9dd6aca1db80ad29b94ea324df (patch)
treec4c406987e7096c0877008413ce7506aa459b808
parent7467a54e29291d3e0dab368c3e7069af19f6b91f (diff)
downloadneven-32ca458cb617ae9dd6aca1db80ad29b94ea324df.tar.gz
Convert external/neven/Android.mk file to Android.bp file
Convert the external/neven/Android.mk file to Android.bp file. Fixes: b/132351217 Test: Ran build. Change-Id: I8867c6b350a43a03e3c09595c24a61346e3fe2f8
-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