1// 2// Copyright (C) 2016 Google, Inc. 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at: 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "external_sl4a_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 // SPDX-license-identifier-GPL-2.0 24 default_applicable_licenses: ["external_sl4a_license"], 25} 26 27android_test_helper_app { 28 name: "sl4a", 29 30 test_suites: [ 31 "pts", 32 "device-tests", 33 ], 34 35 platform_apis: true, 36 owner: "google", 37 dex_preopt: { 38 enabled: false, 39 }, 40 41 certificate: "platform", 42 43 srcs: ["src/**/*.java"], 44 resource_dirs: ["res"], 45 46 aaptflags: ["--auto-add-overlay"], 47 48 compile_multilib: "both", 49 50 static_libs: [ 51 "guava", 52 "android-common", 53 "sl4a.locale_platform", 54 "androidx.legacy_legacy-support-v4", 55 56 "sl4a.Utils", 57 "sl4a.Common", 58 59 "sl4a.InterpreterForAndroid", 60 "sl4a.ScriptingLayer", 61 ], 62 63 privileged: true, 64 optimize: { 65 enabled: false, 66 }, 67 68 jni_libs: ["libcom_googlecode_android_scripting_Exec"], 69 70 min_sdk_version: "30", 71 target_sdk_version: "31", 72} 73 74java_import { 75 name: "sl4a.locale_platform", 76 jars: ["libs/locale_platform.jar"], 77} 78