12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- java_sdk_library {
- name: "android.test.runner",
- srcs: ["src/**/*.java"],
- errorprone: {
- javacflags: ["-Xep:DepAnn:ERROR"],
- },
- libs: [
- "android.test.base",
- "android.test.mock",
- ],
- stub_only_libs: [
- "android.test.base",
- "android.test.mock",
- ],
- api_packages: [
- "android.test",
- "android.test.suitebuilder",
- "junit.runner",
- "junit.textui",
- ],
- compile_dex: true
- }
- java_library {
- name: "android.test.runner-minus-junit",
- srcs: ["src/android/**/*.java"],
- sdk_version: "current",
- libs: [
- "android.test.base_static",
- "android.test.mock",
- "junit",
- ],
- }
- java_library_static {
- name: "repackaged.android.test.runner",
- srcs: ["src/**/*.java"],
- exclude_srcs: [
- "src/android/test/ActivityUnitTestCase.java",
- "src/android/test/ApplicationTestCase.java",
- "src/android/test/IsolatedContext.java",
- "src/android/test/ProviderTestCase.java",
- "src/android/test/ProviderTestCase2.java",
- "src/android/test/RenamingDelegatingContext.java",
- "src/android/test/ServiceTestCase.java",
- ],
- sdk_version: "current",
- libs: [
- "android.test.base_static",
- ],
- jarjar_rules: "jarjar-rules.txt",
-
- java_version: "1.8",
- }
|