summaryrefslogtreecommitdiff
path: root/kexec_tools
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-05-09 16:26:42 -0700
committerDan Willemsen <dwillemsen@google.com>2018-05-09 16:39:41 -0700
commit9f022b4b5d6b7dde25290e793eb8b5c5239659af (patch)
treec9d82f2cc68caf511e8c1e47b3963e709173d818 /kexec_tools
parentdc0191161cb4557535e89d45c8cfdd2305dcef4e (diff)
downloadextras-9f022b4b5d6b7dde25290e793eb8b5c5239659af.tar.gz
Convert more of system/extras to Soong
See build/soong/README.md for more information. Some modules are no longer installed by default on eng/debug builds, but I didn't see any automatic references to them. If they're commonly used by users, they can be added into build/make with PRODUCT_PACKAGES_ENG / PRODUCT_PACKAGES_DEBUG. Otherwise everyone's compiles get a little smaller. Some modules also moved from /system/xbin to /system/bin, as we've deprecated xbin. I checked codesearch for references to the full paths and couldn't find any. Test: cd system/extras; mma Test: for the modules changing locations, check cs/ for references Change-Id: I4ffd99d3dcf50e4d5cb2197824abc11973214133
Diffstat (limited to 'kexec_tools')
-rw-r--r--kexec_tools/Android.bp23
-rw-r--r--kexec_tools/Android.mk24
2 files changed, 23 insertions, 24 deletions
diff --git a/kexec_tools/Android.bp b/kexec_tools/Android.bp
new file mode 100644
index 00000000..bcfc2ee6
--- /dev/null
+++ b/kexec_tools/Android.bp
@@ -0,0 +1,23 @@
+// 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.
+// Copyright The Android Open Source Project
+
+cc_binary {
+ name: "kexecload",
+ srcs: ["kexecload.c"],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+}
diff --git a/kexec_tools/Android.mk b/kexec_tools/Android.mk
deleted file mode 100644
index c8a49321..00000000
--- a/kexec_tools/Android.mk
+++ /dev/null
@@ -1,24 +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.
-# Copyright The Android Open Source Project
-
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := kexecload
-LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
-LOCAL_MODULE_TAGS := eng
-LOCAL_SRC_FILES := kexecload.c
-LOCAL_CFLAGS := -Wall -Werror
-include $(BUILD_EXECUTABLE)