2 // Copyright (C) 2008 The Android Open Source Project
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 // Build the android.test.runner library
18 // =====================================
20 name: "android.test.runner",
22 // Needs to be consistent with the repackaged version of this make target.
24 srcs: ["src/**/*.java"],
27 javacflags: ["-Xep:DepAnn:ERROR"],
30 sdk_version: "current",
37 // Build the android.test.runner-minus-junit library
38 // =================================================
39 // This is only intended for inclusion in the legacy-android-test static
40 // library and must not be used elsewhere.
42 name: "android.test.runner-minus-junit",
44 srcs: ["src/android/**/*.java"],
46 sdk_version: "current",
54 // Build the repackaged.android.test.runner library
55 // ================================================
57 name: "repackaged.android.test.runner",
59 srcs: ["src/**/*.java"],
61 "src/android/test/ActivityUnitTestCase.java",
62 "src/android/test/ApplicationTestCase.java",
63 "src/android/test/IsolatedContext.java",
64 "src/android/test/ProviderTestCase.java",
65 "src/android/test/ProviderTestCase2.java",
66 "src/android/test/RenamingDelegatingContext.java",
67 "src/android/test/ServiceTestCase.java",
70 sdk_version: "current",
75 jarjar_rules: "jarjar-rules.txt",
76 // Pin java_version until jarjar is certified to support later versions. http://b/72703434