Tao Bao | d2be7fc | 2018-08-09 01:24:33 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 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 | |
Bob Badour | 29be3f6 | 2021-02-12 18:00:57 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | // A large-scale-change added 'default_applicable_licenses' to import |
| 18 | // all of the 'license_kinds' from "bootable_recovery_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["bootable_recovery_license"], |
| 22 | } |
| 23 | |
Tao Bao | d2be7fc | 2018-08-09 01:24:33 -0700 | [diff] [blame] | 24 | android_test { |
| 25 | name: "SystemUpdaterSampleTests", |
| 26 | sdk_version: "system_current", |
| 27 | |
| 28 | libs: [ |
| 29 | "android.test.base.stubs", |
| 30 | "android.test.runner.stubs", |
| 31 | "SystemUpdaterSample", |
| 32 | ], |
| 33 | |
| 34 | static_libs: [ |
koushik panuganti | d5c7fb5 | 2018-12-12 10:39:44 -0800 | [diff] [blame] | 35 | "androidx.test.runner", |
Zhomart Mukhamejanov | 75f4073 | 2018-12-14 09:36:32 -0800 | [diff] [blame] | 36 | "androidx.test.rules", |
Tao Bao | d2be7fc | 2018-08-09 01:24:33 -0700 | [diff] [blame] | 37 | "mockito-target-minus-junit4", |
| 38 | "guava", |
| 39 | ], |
| 40 | |
Colin Cross | 88dcca9 | 2018-10-17 15:14:31 -0700 | [diff] [blame] | 41 | instrumentation_for: "SystemUpdaterSample", |
Tao Bao | d2be7fc | 2018-08-09 01:24:33 -0700 | [diff] [blame] | 42 | |
| 43 | optimize: { |
| 44 | enabled: false, |
| 45 | }, |
| 46 | |
| 47 | resource_dirs: ["res"], |
| 48 | |
| 49 | srcs: ["src/**/*.java"], |
| 50 | } |