• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2025 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_binary {
20    name: "simply_red",
21    defaults: ["hwc_deps"],
22    srcs: [
23        "./src/simply_red.cpp",
24    ],
25    static_libs: [
26        "hwc_tester",
27    ],
28    include_dirs: [
29        "platform_testing/tests/display/hcct/utils",
30    ],
31    compile_multilib: "both",
32    multilib: {
33        lib32: {
34            suffix: "32",
35        },
36        lib64: {
37            suffix: "",
38        },
39    },
40}
41
42java_test_host {
43    name: "CuttlefishHwcRedSmokeTest",
44    defaults: [
45        "cuttlefish_host_test_utils_defaults",
46    ],
47    srcs: [
48        "CuttlefishHwcRedSmokeTest.java",
49    ],
50    data_device_bins_both: [
51        "simply_red",
52    ],
53    test_options: {
54        unit_test: false,
55    },
56    test_suites: [
57        "device-tests",
58    ],
59    libs: [
60        "compatibility-host-util",
61        "cts-tradefed",
62        "tradefed",
63    ],
64    plugins: [
65        "auto_annotation_plugin",
66        "auto_value_plugin",
67    ],
68    test_config_template: "display_config_template.xml",
69}
70