diff options
author | mikecase <mikecase@chromium.org> | 2015-11-04 20:27:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-05 04:27:49 +0000 |
commit | ed28ee43be761ae91ed1348cbcf2448c28ae4fec (patch) | |
tree | 137fe453f6696df50efcaec8810ba425e4bb5fc5 /third_party/errorprone/errorprone.gyp | |
parent | 97c1d6979f48b945c479a02a2b6a136808221378 (diff) | |
download | chromium_src-ed28ee43be761ae91ed1348cbcf2448c28ae4fec.zip chromium_src-ed28ee43be761ae91ed1348cbcf2448c28ae4fec.tar.gz chromium_src-ed28ee43be761ae91ed1348cbcf2448c28ae4fec.tar.bz2 |
[Android] Add --bootclasspath option to java script for errorprone.
I previously added a --extra-java-args option to be able to set
the -Xbootclasspath option for the errorprone jar. However, there
is no good way to fix relative paths (the paths will be relative to
the gyp file and not to the generated java script). Removing this
option and switching it with a --bootclasspath option, which sets
the -Xbootclasspath the relative paths corrected.
BUG=
Review URL: https://codereview.chromium.org/1409843003
Cr-Commit-Position: refs/heads/master@{#357999}
Diffstat (limited to 'third_party/errorprone/errorprone.gyp')
-rw-r--r-- | third_party/errorprone/errorprone.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/errorprone/errorprone.gyp b/third_party/errorprone/errorprone.gyp index 4a1f6a1..67de768 100644 --- a/third_party/errorprone/errorprone.gyp +++ b/third_party/errorprone/errorprone.gyp @@ -84,7 +84,7 @@ 'python', '<(DEPTH)/build/android/gyp/create_java_binary_script.py', '--output', '<(PRODUCT_DIR)/bin.java/chromium_errorprone', # TODO(mikecase): Remove this extra arg when the bots are on jdk8 or higher. - '--extra-java-args', '-Xbootclasspath/p:<(PRODUCT_DIR)/lib.java/javac_jar.jar', + '--bootclasspath', '<(PRODUCT_DIR)/lib.java/javac_jar.jar', '--jar-path=<(jar_path)', '--classpath=>@(input_jars_paths)', '--main-class=com.google.errorprone.ErrorProneCompiler', |