diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-05-04 18:35:50 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-05-04 20:25:22 -0700 |
commit | 2a904afcb32568d3c33d56971c7b1783e265c8d5 (patch) | |
tree | 2ac40ff8a86c94ba1278ec98a7c59e19e579aafd /boot_control_copy | |
parent | a1b34a8173609094df0e124ecca19b619fc19a41 (diff) | |
download | extras-2a904afcb32568d3c33d56971c7b1783e265c8d5.tar.gz |
Convert to Soong
See build/soong/README.md for more information.
This effectively moves some of these targets from /system/xbin to
/system/bin, as Soong is not supporting xbin. I've attempted to fix and
find any external dependencies to these paths.
Test: m anrd app-launcher bootctrl.default bootctl cpustats crypto iotop
Change-Id: I3eb58d8a260884652b5ee827ac88ece429d76448
Diffstat (limited to 'boot_control_copy')
-rw-r--r-- | boot_control_copy/Android.bp | 26 | ||||
-rw-r--r-- | boot_control_copy/Android.mk | 14 |
2 files changed, 26 insertions, 14 deletions
diff --git a/boot_control_copy/Android.bp b/boot_control_copy/Android.bp new file mode 100644 index 00000000..97d89c86 --- /dev/null +++ b/boot_control_copy/Android.bp @@ -0,0 +1,26 @@ +// Copyright 2015 The Android Open Source Project + +cc_library_shared { + name: "bootctrl.default", + relative_install_path: "hw", + + srcs: [ + "boot_control_copy.cpp", + "bootinfo.cpp", + ], + cflags: [ + "-Wall", + "-Werror", + "-Wno-missing-field-initializers", + "-Wno-unused-parameter", + ], + header_libs: ["bootimg_headers"], + shared_libs: [ + "libbase", + "libcutils", + ], + static_libs: [ + "libbootloader_message", + "libfs_mgr", + ], +} diff --git a/boot_control_copy/Android.mk b/boot_control_copy/Android.mk deleted file mode 100644 index 8ed3273f..00000000 --- a/boot_control_copy/Android.mk +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 2015 The Android Open Source Project - -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := boot_control_copy.cpp bootinfo.cpp -LOCAL_CFLAGS := -Wall -Werror -Wno-missing-field-initializers -Wno-unused-parameter -LOCAL_HEADER_LIBRARIES := bootimg_headers -LOCAL_SHARED_LIBRARIES := libbase libcutils -LOCAL_STATIC_LIBRARIES := libbootloader_message libfs_mgr - -LOCAL_MODULE_RELATIVE_PATH := hw -LOCAL_MODULE:= bootctrl.default -include $(BUILD_SHARED_LIBRARY) |