summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2020-02-05 13:03:23 -0800
committerSasha Smundak <asmundak@google.com>2020-02-05 13:03:23 -0800
commite98656a23cf3de5c39b721037dd00cee1943d09e (patch)
treeb14e63964b6fdaeeede10065f8905a76c68f3316
parentfbeaf20a06dcbd195a78a38a079455d974931494 (diff)
Convert Android.mk file to Android.bp
See build/soong/README.md for more information. Fixes: 144289754 Test: treehugger Change-Id: Iba1e40d8b02d13f0e3d8bace9b6fedacced54294
-rw-r--r--dynamic_partitions/Android.bp21
-rw-r--r--dynamic_partitions/Android.mk27
2 files changed, 21 insertions, 27 deletions
diff --git a/dynamic_partitions/Android.bp b/dynamic_partitions/Android.bp
new file mode 100644
index 0000000..ba0557f
--- /dev/null
+++ b/dynamic_partitions/Android.bp
@@ -0,0 +1,21 @@
+//
+// Copyright 2018 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.
+//
+
+sh_binary {
+ name: "check_dynamic_partitions",
+ src: "check_dynamic_partitions",
+ product_specific: true,
+}
diff --git a/dynamic_partitions/Android.mk b/dynamic_partitions/Android.mk
deleted file mode 100644
index af4a79f..0000000
--- a/dynamic_partitions/Android.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Copyright 2018 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_MODULE:= check_dynamic_partitions
-LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_SRC_FILES := check_dynamic_partitions
-LOCAL_PRODUCT_MODULE := true
-
-include $(BUILD_PREBUILT)