• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21cc_defaults {
22    name: "gsi_boot_defaults",
23    shared_libs: [
24        "libbase",
25        "libcutils",
26        "libhardware",
27        "libhidlbase",
28        "liblog",
29        "libutils",
30    ],
31    static_libs: [
32        "libext4_utils",
33        "libfstab",
34        "android.hardware.weaver@1.0",
35    ],
36    srcs: [
37        "boot_tests.cpp",
38    ],
39}
40
41cc_test {
42    name: "gsi_boot_test",
43    defaults: ["gsi_boot_defaults"],
44}
45
46cc_test {
47    name: "vts_gsi_boot_test",
48    defaults: ["gsi_boot_defaults"],
49    test_suites: [
50        "general-tests",
51        "vts",
52    ],
53    auto_gen_config: true,
54    test_min_api_level: 29,
55    require_root: true,
56}
57
58java_test_host {
59    name: "DSUEndtoEndTest",
60    srcs: ["DSUEndtoEndTest.java"],
61    libs: ["tradefed"],
62    test_config: "dsu-test.xml",
63    test_suites: ["general-tests"],
64}
65