Merge "Export some api files for use by cts/tests/signature tests"
This commit is contained in:
18
Android.bp
18
Android.bp
@@ -1102,6 +1102,24 @@ filegroup {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the api/system-current.txt file available for use by modules in other
|
||||||
|
// directories.
|
||||||
|
filegroup {
|
||||||
|
name: "frameworks-base-api-system-current.txt",
|
||||||
|
srcs: [
|
||||||
|
"api/system-current.txt",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make the api/system-removed.txt file available for use by modules in other
|
||||||
|
// directories.
|
||||||
|
filegroup {
|
||||||
|
name: "frameworks-base-api-system-removed.txt",
|
||||||
|
srcs: [
|
||||||
|
"api/system-removed.txt",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
|
framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
|
||||||
"-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
|
"-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
|
||||||
"-overview $(location core/java/overview.html) " +
|
"-overview $(location core/java/overview.html) " +
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ java_sdk_library {
|
|||||||
srcs: ["src/**/*.java"],
|
srcs: ["src/**/*.java"],
|
||||||
|
|
||||||
errorprone: {
|
errorprone: {
|
||||||
javacflags: ["-Xep:DepAnn:ERROR"],
|
javacflags: ["-Xep:DepAnn:ERROR"],
|
||||||
},
|
},
|
||||||
|
|
||||||
hostdex: true,
|
hostdex: true,
|
||||||
@@ -96,3 +96,14 @@ java_library_static {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the current.txt available for use by the cts/tests/signature tests.
|
||||||
|
// ========================================================================
|
||||||
|
filegroup {
|
||||||
|
name: "android-test-base-current.txt",
|
||||||
|
visibility: [
|
||||||
|
"//cts/tests/signature/api",
|
||||||
|
],
|
||||||
|
srcs: [
|
||||||
|
"api/current.txt",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|||||||
@@ -30,3 +30,15 @@ java_sdk_library {
|
|||||||
srcs_lib_whitelist_pkgs: ["android"],
|
srcs_lib_whitelist_pkgs: ["android"],
|
||||||
compile_dex: true,
|
compile_dex: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the current.txt available for use by the cts/tests/signature tests.
|
||||||
|
// ========================================================================
|
||||||
|
filegroup {
|
||||||
|
name: "android-test-mock-current.txt",
|
||||||
|
visibility: [
|
||||||
|
"//cts/tests/signature/api",
|
||||||
|
],
|
||||||
|
srcs: [
|
||||||
|
"api/current.txt",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ java_sdk_library {
|
|||||||
"junit.textui",
|
"junit.textui",
|
||||||
],
|
],
|
||||||
|
|
||||||
compile_dex: true
|
compile_dex: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build the android.test.runner-minus-junit library
|
// Build the android.test.runner-minus-junit library
|
||||||
@@ -86,3 +86,14 @@ java_library_static {
|
|||||||
java_version: "1.8",
|
java_version: "1.8",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Make the current.txt available for use by the cts/tests/signature tests.
|
||||||
|
// ========================================================================
|
||||||
|
filegroup {
|
||||||
|
name: "android-test-runner-current.txt",
|
||||||
|
visibility: [
|
||||||
|
"//cts/tests/signature/api",
|
||||||
|
],
|
||||||
|
srcs: [
|
||||||
|
"api/current.txt",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user