summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Tang <jimtang@google.com>2023-12-01 13:01:28 +0800
committerJim Tang <jimtang@google.com>2023-12-01 13:16:22 +0800
commit6b154905ae0b5f5f2f92e008f8b435391bff6a64 (patch)
tree9582b73da34e3d47e6becc21cf1bb96618424e99
parentd7420173573e419fe311afdc540b2fab2555e3cc (diff)
downloadruntime-6b154905ae0b5f5f2f92e008f8b435391bff6a64.tar.gz
Remove unused Android.mk
Bug: 314234991 Test: m nothing Test: m dex-prebuilt Change-Id: I0cd9f9237038acc005a436b4b1338f0d1d484b39
-rw-r--r--Android.mk16
-rw-r--r--common/dex/Android.bp25
-rw-r--r--common/dex/Android.mk28
3 files changed, 25 insertions, 44 deletions
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index b4f7aa85..00000000
--- a/Android.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2013 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 := $(my-dir)
diff --git a/common/dex/Android.bp b/common/dex/Android.bp
new file mode 100644
index 00000000..2ccb30cc
--- /dev/null
+++ b/common/dex/Android.bp
@@ -0,0 +1,25 @@
+// Copyright (C) 2013 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",
+ ],
+}
+
+java_import_host {
+ name: "dex-prebuilt",
+ jars: ["dex-host-prebuilt.jar"],
+}
diff --git a/common/dex/Android.mk b/common/dex/Android.mk
deleted file mode 100644
index d1a5bcb9..00000000
--- a/common/dex/Android.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (C) 2013 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 := dex-prebuilt
-LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
-LOCAL_LICENSE_CONDITIONS := notice
-LOCAL_MODULE_TAGS := optional
-LOCAL_SRC_FILES := dex-host-prebuilt.jar
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_CLASS := JAVA_LIBRARIES
-LOCAL_MODULE_SUFFIX := $(COMMON_JAVA_PACKAGE_SUFFIX)
-
-include $(BUILD_PREBUILT)