From a8f188f011710aecf67aec14db20f5c6490ed478 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sat, 7 Mar 2020 21:21:33 -0800 Subject: [PATCH] Convert vts configs to Android.bp Test: treehugger Change-Id: Ibe8ed03555ac78ee38be6511eb4169cddfcd3555 --- fs_mgr/libdm/Android.bp | 20 ++++++++++++-------- fs_mgr/libdm/Android.mk | 22 ---------------------- fs_mgr/liblp/Android.bp | 3 +++ fs_mgr/liblp/Android.mk | 22 ---------------------- libprocessgroup/profiles/Android.bp | 4 ++++ libprocessgroup/profiles/Android.mk | 21 --------------------- 6 files changed, 19 insertions(+), 73 deletions(-) delete mode 100644 fs_mgr/libdm/Android.mk delete mode 100644 fs_mgr/liblp/Android.mk delete mode 100644 libprocessgroup/profiles/Android.mk diff --git a/fs_mgr/libdm/Android.bp b/fs_mgr/libdm/Android.bp index 1c3427f6d..c2c2cc4da 100644 --- a/fs_mgr/libdm/Android.bp +++ b/fs_mgr/libdm/Android.bp @@ -84,17 +84,21 @@ cc_test { } cc_fuzz { - name: "dm_linear_table_fuzzer", - defaults: ["fs_mgr_defaults"], - srcs: [ - "dm_linear_fuzzer.cpp", - "test_util.cpp", - ], - static_libs: [ + name: "dm_linear_table_fuzzer", + defaults: ["fs_mgr_defaults"], + srcs: [ + "dm_linear_fuzzer.cpp", + "test_util.cpp", + ], + static_libs: [ "libdm", "libbase", "libext2_uuid", "libfs_mgr", "liblog", - ], + ], +} + +vts_config { + name: "VtsKernelLibdmTest", } diff --git a/fs_mgr/libdm/Android.mk b/fs_mgr/libdm/Android.mk deleted file mode 100644 index 6aedc2562..000000000 --- a/fs_mgr/libdm/Android.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (C) 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 := VtsKernelLibdmTest --include test/vts/tools/build/Android.host_config.mk diff --git a/fs_mgr/liblp/Android.bp b/fs_mgr/liblp/Android.bp index ea0fca83f..ad19f387e 100644 --- a/fs_mgr/liblp/Android.bp +++ b/fs_mgr/liblp/Android.bp @@ -108,3 +108,6 @@ cc_test { defaults: ["liblp_test_defaults"], } +vts_config { + name: "VtsKernelLiblpTest", +} diff --git a/fs_mgr/liblp/Android.mk b/fs_mgr/liblp/Android.mk deleted file mode 100644 index 7f7f891e9..000000000 --- a/fs_mgr/liblp/Android.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (C) 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 := VtsKernelLiblpTest --include test/vts/tools/build/Android.host_config.mk diff --git a/libprocessgroup/profiles/Android.bp b/libprocessgroup/profiles/Android.bp index e05a69096..12474f174 100644 --- a/libprocessgroup/profiles/Android.bp +++ b/libprocessgroup/profiles/Android.bp @@ -106,3 +106,7 @@ cc_test { }, }, } + +vts_config { + name: "VtsProcessgroupValidateTest", +} diff --git a/libprocessgroup/profiles/Android.mk b/libprocessgroup/profiles/Android.mk deleted file mode 100644 index eab96d431..000000000 --- a/libprocessgroup/profiles/Android.mk +++ /dev/null @@ -1,21 +0,0 @@ -# -# Copyright (C) 2019 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 := VtsProcessgroupValidateTest --include test/vts/tools/build/Android.host_config.mk