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 // See: http://go/android-license-faq 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20java_test_host { 21 // Must match the package name in CtsTestCaseList.mk 22 name: "CtsThemeHostTestCases", 23 defaults: ["cts_defaults"], 24 srcs: ["src/**/*.java"], 25 // Special handling for pre-release builds where the SDK version has not been 26 // updated, in which case we'll use the version codename (ex. "O"). 27 product_variables: { 28 platform_sdk_version_or_codename: { 29 java_resource_dirs: ["assets/%s"], 30 }, 31 }, 32 libs: [ 33 "cts-tradefed", 34 "tradefed", 35 "compatibility-host-util", 36 ], 37 // Tag this module as a cts test artifact 38 test_suites: [ 39 "cts", 40 "general-tests", 41 ], 42 data: [ 43 ":CtsThemeDeviceApp", 44 ], 45 per_testcase_directory: true, 46} 47