• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2022 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
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_defaults {
21    name: "cvd_load_defaults",
22    shared_libs: [
23        "libext2_blkid",
24        "libbase",
25        "libcuttlefish_fs",
26        "liblog",
27        "libicuuc",
28    ],
29    defaults: ["cuttlefish_buildhost_only"],
30}
31
32cc_test_host {
33    name: "cvd_load_test",
34    shared_libs: [
35        "libext2_blkid",
36        "libbase",
37        "libcuttlefish_fs",
38        "libcuttlefish_utils",
39        "libjsoncpp",
40    ],
41    srcs: [
42        "test_common.cc",
43        "flags_parser_test.cc",
44        "configs_inheritance_test.cc",
45        "instance/vm_configs_test.cc",
46        "instance/boot_configs_test.cc",
47        "instance/metrics_configs_test.cc",
48        "instance/graphics_configs_test.cc",
49    ],
50    static_libs: [
51        "libprotobuf-cpp-full",
52        "libcuttlefish_launch_cvd_proto",
53        "libcvd_parser",
54        "libcuttlefish_host_config",
55        "libgmock",
56    ],
57    test_options: {
58        unit_test: true,
59    },
60    defaults: ["cvd_load_defaults"],
61}