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_team: "trendy_team_platform_security", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20java_test_host { 21 name: "CtsSecurityBulletinHostTestCases", 22 defaults: ["cts_defaults"], 23 srcs: ["src/**/*.java"], 24 java_resource_dirs: ["res"], 25 // tag this module as a cts test artifact 26 test_suites: [ 27 "general-tests", 28 "sts", 29 ], 30 static_libs: ["sts-host-util"], 31 // Must match the package name in CtsTestCaseList.mk 32 libs: [ 33 "compatibility-host-util", 34 "cts-tradefed", 35 "tradefed", 36 ], 37 device_common_data: [ 38 ":CtsHostLaunchAnyWhereApp", 39 ":MainlineModuleDetector", 40 ":hotspot", 41 ], 42 data_device_bins_both: [ 43 "Bug-115739809", 44 ], 45 per_testcase_directory: true, 46} 47 48cc_defaults { 49 name: "cts_hostsidetests_securitybulletin_defaults", 50 auto_gen_config: false, 51 compile_multilib: "both", 52 multilib: { 53 lib32: { 54 suffix: "_sts32", 55 }, 56 lib64: { 57 suffix: "_sts64", 58 }, 59 // build/soong/common/arch.go default returns nil; no default possible 60 }, 61 arch: { 62 arm: { 63 instruction_set: "arm", 64 }, 65 }, 66 test_suites: [ 67 "sts", 68 "general-tests", 69 ], 70 cpp_std: "gnu++20", 71 cflags: [ 72 "-Wall", 73 "-Werror", 74 ], 75} 76