1*8b6cd535SAndroid Build Coastguard Worker// Copyright (C) 2019 The Android Open Source Project 2*8b6cd535SAndroid Build Coastguard Worker// 3*8b6cd535SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*8b6cd535SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*8b6cd535SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*8b6cd535SAndroid Build Coastguard Worker// 7*8b6cd535SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*8b6cd535SAndroid Build Coastguard Worker// 9*8b6cd535SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*8b6cd535SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*8b6cd535SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*8b6cd535SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*8b6cd535SAndroid Build Coastguard Worker// limitations under the License. 14*8b6cd535SAndroid Build Coastguard Worker 15*8b6cd535SAndroid Build Coastguard Workerpackage { 16*8b6cd535SAndroid Build Coastguard Worker // See: http://go/android-license-faq 17*8b6cd535SAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 18*8b6cd535SAndroid Build Coastguard Worker // all of the 'license_kinds' from "external_icing_license" 19*8b6cd535SAndroid Build Coastguard Worker // to get the below license kinds: 20*8b6cd535SAndroid Build Coastguard Worker // SPDX-license-identifier-Apache-2.0 21*8b6cd535SAndroid Build Coastguard Worker default_applicable_licenses: ["external_icing_license"], 22*8b6cd535SAndroid Build Coastguard Worker} 23*8b6cd535SAndroid Build Coastguard Worker 24*8b6cd535SAndroid Build Coastguard Workerandroid_test { 25*8b6cd535SAndroid Build Coastguard Worker name: "IcingSearchEngineTest", 26*8b6cd535SAndroid Build Coastguard Worker srcs: [ 27*8b6cd535SAndroid Build Coastguard Worker "src/com/google/android/icing/**/*.java", 28*8b6cd535SAndroid Build Coastguard Worker ], 29*8b6cd535SAndroid Build Coastguard Worker static_libs: [ 30*8b6cd535SAndroid Build Coastguard Worker "androidx.test.ext.junit", 31*8b6cd535SAndroid Build Coastguard Worker "androidx.test.rules", 32*8b6cd535SAndroid Build Coastguard Worker "androidx.test.ext.truth", 33*8b6cd535SAndroid Build Coastguard Worker "libicing-java", 34*8b6cd535SAndroid Build Coastguard Worker "icing-java-proto-lite", 35*8b6cd535SAndroid Build Coastguard Worker ], 36*8b6cd535SAndroid Build Coastguard Worker jni_libs: ["libicing"], 37*8b6cd535SAndroid Build Coastguard Worker test_suites: ["device-tests"], 38*8b6cd535SAndroid Build Coastguard Worker platform_apis: true, 39*8b6cd535SAndroid Build Coastguard Worker use_embedded_native_libs: true, 40*8b6cd535SAndroid Build Coastguard Worker} 41*8b6cd535SAndroid Build Coastguard Worker 42*8b6cd535SAndroid Build Coastguard Workerandroid_test { 43*8b6cd535SAndroid Build Coastguard Worker name: "AndroidXSmokeTest", 44*8b6cd535SAndroid Build Coastguard Worker srcs: ["src/androidx/**/*.java"], 45*8b6cd535SAndroid Build Coastguard Worker static_libs: [ 46*8b6cd535SAndroid Build Coastguard Worker "androidx.appsearch_appsearch", 47*8b6cd535SAndroid Build Coastguard Worker "androidx.appsearch_appsearch_local_storage", 48*8b6cd535SAndroid Build Coastguard Worker "androidx.test.ext.junit", 49*8b6cd535SAndroid Build Coastguard Worker "androidx.test.runner", 50*8b6cd535SAndroid Build Coastguard Worker "truth", 51*8b6cd535SAndroid Build Coastguard Worker ], 52*8b6cd535SAndroid Build Coastguard Worker jni_libs: ["libicing"], 53*8b6cd535SAndroid Build Coastguard Worker plugins: ["androidx.appsearch_appsearch-compiler-plugin"], 54*8b6cd535SAndroid Build Coastguard Worker test_suites: ["device-tests"], 55*8b6cd535SAndroid Build Coastguard Worker platform_apis: true, 56*8b6cd535SAndroid Build Coastguard Worker use_embedded_native_libs: true, 57*8b6cd535SAndroid Build Coastguard Worker} 58