Merge "bpfmt -w Android.bp"

am: c51996859d

Change-Id: I4fcfe15d94114e327df91c3e6ada261929727b63
This commit is contained in:
Tobias Thierer
2019-05-29 15:12:31 -07:00
committed by android-build-merger

View File

@@ -669,7 +669,7 @@ java_defaults {
"system/security/keystore/binder", "system/security/keystore/binder",
], ],
generate_get_transaction_name: true generate_get_transaction_name: true,
}, },
exclude_srcs: [ exclude_srcs: [
@@ -791,7 +791,7 @@ gensrcs {
name: "framework-javastream-protos", name: "framework-javastream-protos",
depfile: true, depfile: true,
tool_files: [ "tools/genprotos.sh", ], tool_files: ["tools/genprotos.sh"],
tools: [ tools: [
"aprotoc", "aprotoc",
"protoc-gen-javastream", "protoc-gen-javastream",
@@ -802,13 +802,13 @@ gensrcs {
// end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to // end up with a command that is extremely long, potentially going passed MAX_ARG_STRLEN due to
// the way sbox rewrites the command. See b/70221552. // the way sbox rewrites the command. See b/70221552.
cmd: "$(location tools/genprotos.sh) " + cmd: "$(location tools/genprotos.sh) " +
" $(location aprotoc) " + " $(location aprotoc) " +
" $(location protoc-gen-javastream) " + " $(location protoc-gen-javastream) " +
" $(location soong_zip) " + " $(location soong_zip) " +
" $(genDir) " + " $(genDir) " +
" $(depfile) " + " $(depfile) " +
" $(in) " + " $(in) " +
" $(out)", " $(out)",
srcs: [ srcs: [
"core/proto/**/*.proto", "core/proto/**/*.proto",
"libs/incident/**/*.proto", "libs/incident/**/*.proto",
@@ -826,7 +826,7 @@ filegroup {
"core/java/android/annotation/UnsupportedAppUsage.java", "core/java/android/annotation/UnsupportedAppUsage.java",
"core/java/com/android/internal/annotations/GuardedBy.java", "core/java/com/android/internal/annotations/GuardedBy.java",
"core/java/com/android/internal/annotations/VisibleForTesting.java", "core/java/com/android/internal/annotations/VisibleForTesting.java",
] ],
} }
filegroup { filegroup {
@@ -847,7 +847,7 @@ filegroup {
"core/java/com/android/internal/util/TrafficStatsConstants.java", "core/java/com/android/internal/util/TrafficStatsConstants.java",
"core/java/com/android/internal/util/WakeupMessage.java", "core/java/com/android/internal/util/WakeupMessage.java",
"core/java/android/net/shared/*.java", "core/java/android/net/shared/*.java",
] ],
} }
// Build ext.jar // Build ext.jar
@@ -883,7 +883,7 @@ java_library_host {
type: "full", type: "full",
}, },
errorprone: { errorprone: {
javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520 javacflags: ["-Xep:MissingOverride:OFF"], // b/72714520
}, },
} }
@@ -1103,11 +1103,11 @@ filegroup {
} }
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) " +
// Federate Support Library references against local API file. // Federate Support Library references against local API file.
"-federate SupportLib https://developer.android.com " + "-federate SupportLib https://developer.android.com " +
"-federationapi SupportLib $(location :current-support-api) " "-federationapi SupportLib $(location :current-support-api) "
framework_docs_only_libs = [ framework_docs_only_libs = [
"voip-common", "voip-common",
@@ -1204,7 +1204,7 @@ stubs_defaults {
doc_defaults { doc_defaults {
name: "framework-docs-default", name: "framework-docs-default",
libs: framework_docs_only_libs + libs: framework_docs_only_libs +
["stub-annotations"], ["stub-annotations"],
html_dirs: [ html_dirs: [
"docs/html", "docs/html",
], ],
@@ -1336,8 +1336,8 @@ droiddoc {
"android.whichdoc offline", "android.whichdoc offline",
], ],
proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt", proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" + args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
" -offlinemode -title \"Android System SDK\" -referenceonly", " -offlinemode -title \"Android System SDK\" -referenceonly",
write_sdk_values: true, write_sdk_values: true,
static_doc_index_redirect: "docs/docs-documentation-redirect.html", static_doc_index_redirect: "docs/docs-documentation-redirect.html",
static_doc_properties: "docs/source.properties", static_doc_properties: "docs/source.properties",
@@ -1354,7 +1354,7 @@ droiddoc {
"android.hasSamples true", "android.hasSamples true",
], ],
proofread_file: "online-sdk-docs-proofrerad.txt", proofread_file: "online-sdk-docs-proofrerad.txt",
args: framework_docs_only_args + args: framework_docs_only_args +
" -toroot / -samplegroup Admin " + " -toroot / -samplegroup Admin " +
" -samplegroup Background " + " -samplegroup Background " +
" -samplegroup Connectivity " + " -samplegroup Connectivity " +
@@ -1447,10 +1447,10 @@ droiddoc {
], ],
proofread_file: "ds-static-docs-proofrerad.txt", proofread_file: "ds-static-docs-proofrerad.txt",
args: framework_docs_only_args + args: framework_docs_only_args +
" -staticonly " + " -staticonly " +
" -toroot / " + " -toroot / " +
" -devsite " + " -devsite " +
" -ignoreJdLinks ", " -ignoreJdLinks ",
} }
droiddoc { droiddoc {
@@ -1464,9 +1464,9 @@ droiddoc {
], ],
proofread_file: "ds-ref-navtree-docs-proofrerad.txt", proofread_file: "ds-ref-navtree-docs-proofrerad.txt",
args: framework_docs_only_args + args: framework_docs_only_args +
" -toroot / " + " -toroot / " +
" -atLinksNavtree " + " -atLinksNavtree " +
" -navtreeonly ", " -navtreeonly ",
} }
droiddoc { droiddoc {
@@ -1506,8 +1506,8 @@ droiddoc {
], ],
proofread_file: "hidden-docs-proofrerad.txt", proofread_file: "hidden-docs-proofrerad.txt",
args: framework_docs_only_args + args: framework_docs_only_args +
" -referenceonly " + " -referenceonly " +
" -title \"Android SDK - Including hidden APIs.\"", " -title \"Android SDK - Including hidden APIs.\"",
} }
droidstubs { droidstubs {
@@ -1559,10 +1559,9 @@ droidstubs {
args: metalava_framework_docs_args + args: metalava_framework_docs_args +
" --show-unannotated " + " --show-unannotated " +
" --show-annotation android.annotation.SystemApi " + " --show-annotation android.annotation.SystemApi " +
" --show-annotation android.annotation.TestApi " " --show-annotation android.annotation.TestApi ",
} }
droidstubs { droidstubs {
name: "hiddenapi-mappings", name: "hiddenapi-mappings",
defaults: ["metalava-api-stubs-default"], defaults: ["metalava-api-stubs-default"],
@@ -1581,7 +1580,7 @@ droidstubs {
" --hide UnhiddenSystemApi " + " --hide UnhiddenSystemApi " +
" --show-unannotated " + " --show-unannotated " +
" --show-annotation android.annotation.SystemApi " + " --show-annotation android.annotation.SystemApi " +
" --show-annotation android.annotation.TestApi " " --show-annotation android.annotation.TestApi ",
} }
filegroup { filegroup {
@@ -1685,5 +1684,5 @@ filegroup {
aidl_mapping { aidl_mapping {
name: "framework-aidl-mappings", name: "framework-aidl-mappings",
srcs: [":framework-defaults"], srcs: [":framework-defaults"],
output: "framework-aidl-mappings.txt" output: "framework-aidl-mappings.txt",
} }