@@ -120,16 +120,17 @@ public static HeadersCheckingMode getValue(String value) {
120120 * --dynamic_mode parses to DynamicModeFlag, but AUTO will be translated based on platform,
121121 * resulting in a DynamicMode value.
122122 */
123- public enum DynamicMode { OFF , DEFAULT , FULLY }
123+ public enum DynamicMode {
124+ OFF ,
125+ DEFAULT ,
126+ FULLY
127+ }
124128
125- /**
126- * This enumeration is used for the --strip option.
127- */
129+ /** This enumeration is used for the --strip option. */
128130 public enum StripMode {
129-
130- ALWAYS ("always" ), // Always strip.
131+ ALWAYS ("always" ), // Always strip.
131132 SOMETIMES ("sometimes" ), // Strip iff compilationMode == FASTBUILD.
132- NEVER ("never" ); // Never strip.
133+ NEVER ("never" ); // Never strip.
133134
134135 private final String mode ;
135136
@@ -304,7 +305,6 @@ public CompilationMode getCompilationMode() {
304305 return compilationMode ;
305306 }
306307
307-
308308 public boolean hasSharedLinkOption () {
309309 return linkopts .contains ("-shared" );
310310 }
@@ -341,31 +341,31 @@ public boolean isCSFdo() {
341341 return cppOptions .isCSFdo ();
342342 }
343343
344- /**
345- * Returns whether or not to strip the binaries.
346- */
344+ public boolean useArgsParamsFile () {
345+ return cppOptions .useArgsParamsFile ;
346+ }
347+
348+ /** Returns whether or not to strip the binaries. */
347349 public boolean shouldStripBinaries () {
348350 return stripBinaries ;
349351 }
350352
351353 /**
352- * Returns the additional options to pass to strip when generating a
353- * {@code <name>.stripped} binary by this build.
354+ * Returns the additional options to pass to strip when generating a {@code <name>.stripped}
355+ * binary by this build.
354356 */
355357 public ImmutableList <String > getStripOpts () {
356358 return ImmutableList .copyOf (cppOptions .stripoptList );
357359 }
358360
359- /**
360- * Returns whether temporary outputs from gcc will be saved.
361- */
361+ /** Returns whether temporary outputs from gcc will be saved. */
362362 public boolean getSaveTemps () {
363363 return cppOptions .saveTemps ;
364364 }
365365
366366 /**
367- * Returns the {@link PerLabelOptions} to apply to the gcc command line, if
368- * the label of the compiled file matches the regular expression.
367+ * Returns the {@link PerLabelOptions} to apply to the gcc command line, if the label of the
368+ * compiled file matches the regular expression.
369369 */
370370 public ImmutableList <PerLabelOptions > getPerFileCopts () {
371371 return ImmutableList .copyOf (cppOptions .perFileCopts );
@@ -388,9 +388,7 @@ public Label customMalloc() {
388388 return cppOptions .customMalloc ;
389389 }
390390
391- /**
392- * Returns whether we are processing headers in dependencies of built C++ targets.
393- */
391+ /** Returns whether we are processing headers in dependencies of built C++ targets. */
394392 public boolean processHeadersInDependencies () {
395393 return cppOptions .processHeadersInDependencies ;
396394 }
@@ -536,9 +534,7 @@ public String getOutputDirectoryName() {
536534 return result ;
537535 }
538536
539- /**
540- * Returns true if we should share identical native libraries between different targets.
541- */
537+ /** Returns true if we should share identical native libraries between different targets. */
542538 public boolean shareNativeDeps () {
543539 return cppOptions .shareNativeDeps ;
544540 }
@@ -821,4 +817,3 @@ public boolean fissionActiveForCurrentCompilationModeStarlark(StarlarkThread thr
821817 return fissionIsActiveForCurrentCompilationMode ();
822818 }
823819}
824-
0 commit comments