Commit c071c3b9 authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Android: Delete unused GN variable "never_goma"

Bug: None
Change-Id: I17a8d301b67a8b2a5fc94f921fd2121a5469e5a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2242640
Auto-Submit: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779858}
parent 54f4f9fc
......@@ -2918,7 +2918,6 @@ if (enable_java_templates) {
# javac:processor_classes
# javac_jar_path: Path to the final output .jar file.
# javac_args: Optional list of extra arguments to pass to javac.
# never_goma: When true, ignore the value of use_java_goma.
# chromium_code: Whether this corresponds to Chromium-specific sources.
# requires_android: True if these sources can only run on Android.
# additional_jar_files: Optional list of files to copy into the resulting
......@@ -3045,8 +3044,7 @@ if (enable_java_templates) {
if (invoker.supports_android || invoker.use_turbine) {
args += [ "--java-version=1.8" ]
}
if ((!defined(invoker.never_goma) || !invoker.never_goma) &&
use_java_goma) {
if (use_java_goma) {
args += [ "--gomacc-path=$goma_dir/gomacc" ]
# Override the default action_pool when goma is enabled.
......@@ -3196,7 +3194,6 @@ if (enable_java_templates) {
# requires_android: Optional. True if target can only run on Android.
# java_files: Optional list of Java source file paths for this target.
# javac_args: Optional list of extra arguments to pass to javac.
# never_goma: When true, ignore the value of use_java_goma.
# errorprone_args: Optional list of extra arguments to pass to .
# srcjar_deps: Optional list of .srcjar targets (not file paths). The Java
# source files they contain will also be compiled for this target.
......@@ -3647,7 +3644,6 @@ if (enable_java_templates) {
"provider_configurations",
"javac_args",
"jar_excluded_patterns",
"never_goma",
]
_annotation_processor_deps = []
if (defined(invoker.annotation_processor_deps)) {
......
......@@ -1478,7 +1478,6 @@ if (enable_java_templates) {
# [ [ path_to_file, path_to_put_in_jar ] ]
#
# javac_args: Additional arguments to pass to javac.
# never_goma: When true, ignore the value of use_java_goma.
# errorprone_args: Additional arguments to pass to errorprone.
#
# data_deps, testonly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment