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 "general-tests", 27 "sts", 28 ], 29 // Must match the package name in CtsTestCaseList.mk 30 libs: [ 31 "compatibility-host-util", 32 "cts-tradefed", 33 "sts-host-util", 34 "tradefed", 35 ], 36 data: [ 37 ":CtsHostLaunchAnyWhereApp", 38 ":MainlineModuleDetector", 39 ":hotspot", 40 ], 41 per_testcase_directory: true, 42} 43 44cc_defaults { 45 name: "cts_hostsidetests_securitybulletin_defaults", 46 auto_gen_config: false, 47 compile_multilib: "both", 48 multilib: { 49 lib32: { 50 suffix: "_sts32", 51 }, 52 lib64: { 53 suffix: "_sts64", 54 }, 55 // build/soong/common/arch.go default returns nil; no default possible 56 }, 57 arch: { 58 arm: { 59 instruction_set: "arm", 60 }, 61 }, 62 test_suites: [ 63 "sts", 64 "general-tests", 65 ], 66 cflags: [ 67 "-Wall", 68 "-Werror", 69 ], 70} 71