Jing Ji | 8412131 | 2019-10-17 15:36:57 -0700 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | 8a6a2bc | 2021-02-12 17:07:05 -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 "frameworks_base_license" |
| 19 | // to get the below license kinds: |
| 20 | // SPDX-license-identifier-Apache-2.0 |
| 21 | default_applicable_licenses: ["frameworks_base_license"], |
| 22 | } |
| 23 | |
Jing Ji | 8412131 | 2019-10-17 15:36:57 -0700 | [diff] [blame] | 24 | android_test_helper_app { |
| 25 | name: "ActivityManagerPerfTestsStubApp1", |
| 26 | static_libs: ["ActivityManagerPerfTestsUtils"], |
| 27 | srcs: [ |
| 28 | "src/**/*.java", |
| 29 | ], |
| 30 | resource_dirs: [ |
| 31 | "app1/res", |
| 32 | "res", |
| 33 | ], |
| 34 | platform_apis: true, |
| 35 | certificate: "platform", |
| 36 | aaptflags: [ |
| 37 | "--rename-manifest-package com.android.stubs.am1", |
| 38 | "--auto-add-overlay", |
| 39 | ], |
| 40 | } |
| 41 | |
| 42 | android_test_helper_app { |
| 43 | name: "ActivityManagerPerfTestsStubApp2", |
| 44 | static_libs: ["ActivityManagerPerfTestsUtils"], |
| 45 | srcs: [ |
| 46 | "src/**/*.java", |
| 47 | ], |
| 48 | resource_dirs: [ |
| 49 | "app2/res", |
| 50 | "res", |
| 51 | ], |
| 52 | platform_apis: true, |
| 53 | certificate: "platform", |
| 54 | aaptflags: [ |
| 55 | "--rename-manifest-package com.android.stubs.am2", |
| 56 | "--auto-add-overlay", |
| 57 | ], |
| 58 | } |
| 59 | |
| 60 | android_test_helper_app { |
| 61 | name: "ActivityManagerPerfTestsStubApp3", |
| 62 | static_libs: ["ActivityManagerPerfTestsUtils"], |
| 63 | srcs: [ |
| 64 | "src/**/*.java", |
| 65 | ], |
| 66 | resource_dirs: [ |
| 67 | "app3/res", |
| 68 | "res", |
| 69 | ], |
| 70 | platform_apis: true, |
| 71 | certificate: "platform", |
| 72 | aaptflags: [ |
| 73 | "--rename-manifest-package com.android.stubs.am3", |
| 74 | "--auto-add-overlay", |
| 75 | ], |
| 76 | } |