diff options
author | nelsonli <nelsonli@google.com> | 2019-09-27 14:52:44 +0800 |
---|---|---|
committer | nelsonli <nelsonli@google.com> | 2019-09-27 15:00:12 +0800 |
commit | 3beec54bf1f3bf030160de372f858b3f5e3bd67c (patch) | |
tree | 63ad371dee8df5905684c9acf35197e964cec200 | |
parent | 3edff134efe100f7890c037b2606dcb5e525a98a (diff) |
[vts-core] Remove extra folder for vts_core_liblp_test and vts_libdm_test
Remove the extra folder of vts_core for vts_core_liblp_test and
vts_libdm_test since we have a better auto-gen option of auto_gen_config.
Bug: 141684102
Test: 1. m -j vts_core_liblp_test
2. m -j vts_libdm_test
3. check out/.../vts_core_liblp_test.config
and
out/.../vts_libdm_test.config
Change-Id: Ibcdf96104205b50b3da522364199330ad0190c70
-rw-r--r-- | fs_mgr/libdm/Android.bp | 17 | ||||
-rw-r--r-- | fs_mgr/libdm/vts_core/Android.bp | 23 | ||||
-rw-r--r-- | fs_mgr/liblp/Android.bp | 16 | ||||
-rw-r--r-- | fs_mgr/liblp/vts_core/Android.bp | 22 |
4 files changed, 19 insertions, 59 deletions
diff --git a/fs_mgr/libdm/Android.bp b/fs_mgr/libdm/Android.bp index 449a170a3..dd95a5e57 100644 --- a/fs_mgr/libdm/Android.bp +++ b/fs_mgr/libdm/Android.bp @@ -55,13 +55,7 @@ filegroup { cc_defaults { name: "libdm_defaults", - sanitize: { - misc_undefined: ["integer"], - }, - cflags: [ - "-Wall", - "-Werror", - ], + defaults: ["fs_mgr_defaults"], static_libs: [ "libdm", "libbase", @@ -76,3 +70,12 @@ cc_test { name: "libdm_test", defaults: ["libdm_defaults"], } + +cc_test { + name: "vts_libdm_test", + defaults: ["libdm_defaults"], + test_suites: ["vts-core"], + auto_gen_config: true, + require_root: true, + test_min_api_level: 29, +} diff --git a/fs_mgr/libdm/vts_core/Android.bp b/fs_mgr/libdm/vts_core/Android.bp deleted file mode 100644 index 2eceb28a9..000000000 --- a/fs_mgr/libdm/vts_core/Android.bp +++ /dev/null @@ -1,23 +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. -// - -cc_test { - name: "vts_libdm_test", - defaults: ["libdm_defaults"], - test_suites: ["vts-core"], - require_root: true, - test_min_api_level: 29, -} diff --git a/fs_mgr/liblp/Android.bp b/fs_mgr/liblp/Android.bp index 178b343ac..a7c77b897 100644 --- a/fs_mgr/liblp/Android.bp +++ b/fs_mgr/liblp/Android.bp @@ -69,13 +69,7 @@ filegroup { cc_defaults { name: "liblp_test_defaults", - sanitize: { - misc_undefined: ["integer"], - }, - cflags: [ - "-Wall", - "-Werror", - ], + defaults: ["fs_mgr_defaults"], cppflags: [ "-Wno-unused-parameter", ], @@ -101,6 +95,14 @@ cc_test { } cc_test { + name: "vts_core_liblp_test", + defaults: ["liblp_test_defaults"], + test_suites: ["vts-core"], + auto_gen_config: true, + test_min_api_level: 29, +} + +cc_test { name: "vts_kernel_liblp_test", defaults: ["liblp_test_defaults"], } diff --git a/fs_mgr/liblp/vts_core/Android.bp b/fs_mgr/liblp/vts_core/Android.bp deleted file mode 100644 index 7af0b9e35..000000000 --- a/fs_mgr/liblp/vts_core/Android.bp +++ /dev/null @@ -1,22 +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. -// - -cc_test { - name: "vts_core_liblp_test", - defaults: ["liblp_test_defaults"], - test_suites: ["vts-core"], - test_min_api_level: 29, -} |