1// Copyright (C) 2014 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
19java_test_host {
20    name: "CtsSecurityBulletinHostTestCases",
21    defaults: ["cts_defaults"],
22    srcs: ["src/**/*.java"],
23    java_resource_dirs: ["res"],
24    // tag this module as a cts test artifact
25    test_suites: [
26        "cts",
27        "general-tests",
28        "sts",
29    ],
30    // Must match the package name in CtsTestCaseList.mk
31    libs: [
32        "cts-tradefed",
33        "tradefed",
34        "compatibility-host-util",
35    ],
36}
37
38cc_defaults {
39    name: "cts_hostsidetests_securitybulletin_defaults",
40    compile_multilib: "both",
41    multilib: {
42        lib32: {
43            suffix: "_sts32",
44        },
45        lib64: {
46            suffix: "_sts64",
47        },
48        // build/soong/common/arch.go default returns nil; no default possible
49    },
50    arch: {
51        arm: {
52            instruction_set: "arm",
53        },
54    },
55    test_suites: [
56        "cts",
57        "sts",
58        "general-tests",
59    ],
60    cflags: [
61        "-Wall",
62        "-Werror",
63    ],
64}
65