| Colin Cross | fc7ba9e | 2017-12-07 13:11:06 -0800 | [diff] [blame] | 1 | // | 
|  | 2 | // Copyright (C) 2008 The Android Open Source Project | 
|  | 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 |  | 
|  | 17 | // Build the android.test.mock library | 
|  | 18 | // =================================== | 
| Sundong Ahn | e933ced | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 19 | java_sdk_library { | 
| Colin Cross | fc7ba9e | 2017-12-07 13:11:06 -0800 | [diff] [blame] | 20 | name: "android.test.mock", | 
|  | 21 |  | 
| Jiyong Park | 00ea0b1 | 2019-10-31 20:38:47 +0900 | [diff] [blame] | 22 | srcs: [ | 
|  | 23 | "src/**/*.java", | 
|  | 24 | // Note: Below are NOT APIs of this library. We only take APIs under | 
|  | 25 | // the android.test.mock package. They however provide private APIs that | 
|  | 26 | // android.test.mock APIs references to. | 
|  | 27 | ":framework-core-sources-for-test-mock", | 
|  | 28 | ":framework_native_aidl", | 
|  | 29 | ], | 
| atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 30 | libs: [ | 
| Anton Hansson | 6fb18bb | 2019-12-17 18:34:59 +0000 | [diff] [blame] | 31 | "framework", | 
| atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 32 | "app-compat-annotations", | 
| Artur Satayev | 6aa25ec | 2019-12-11 16:33:22 +0000 | [diff] [blame] | 33 | "unsupportedappusage", | 
| atrost | 1a94550 | 2019-11-04 17:03:54 +0000 | [diff] [blame] | 34 | ], | 
| Colin Cross | fc7ba9e | 2017-12-07 13:11:06 -0800 | [diff] [blame] | 35 |  | 
| Sundong Ahn | e933ced | 2018-07-31 16:54:41 +0900 | [diff] [blame] | 36 | api_packages: [ | 
|  | 37 | "android.test.mock", | 
| Colin Cross | fc7ba9e | 2017-12-07 13:11:06 -0800 | [diff] [blame] | 38 | ], | 
| David Brazdil | 89c6432 | 2018-06-28 10:23:50 +0100 | [diff] [blame] | 39 | compile_dex: true, | 
| Jiyong Park | 6964add | 2018-03-13 16:06:03 +0900 | [diff] [blame] | 40 | } | 
| Paul Duffin | cd35de3 | 2019-05-30 15:12:47 +0100 | [diff] [blame] | 41 |  | 
|  | 42 | // Make the current.txt available for use by the cts/tests/signature tests. | 
|  | 43 | // ======================================================================== | 
|  | 44 | filegroup { | 
|  | 45 | name: "android-test-mock-current.txt", | 
|  | 46 | visibility: [ | 
|  | 47 | "//cts/tests/signature/api", | 
|  | 48 | ], | 
|  | 49 | srcs: [ | 
|  | 50 | "api/current.txt", | 
|  | 51 | ], | 
|  | 52 | } |