Index: build/config/android/internal_rules.gni |
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni |
index b864dd54f2656b70a3795e0ac72e6f6423c58cca..630d0e69a22348632b9ea1d7e4f33886e0f46732 100644 |
--- a/build/config/android/internal_rules.gni |
+++ b/build/config/android/internal_rules.gni |
@@ -1002,11 +1002,13 @@ template("compile_java") { |
sources = _java_files + _java_srcjars |
inputs = _system_jars + [ _build_config ] |
+ _rebased_android_sdk_jar = rebase_path(android_sdk_jar, root_build_dir) |
_rebased_system_jars = rebase_path(_system_jars, root_build_dir) |
_rebased_java_srcjars = rebase_path(_java_srcjars, root_build_dir) |
_rebased_depfile = rebase_path(depfile, root_build_dir) |
args = [ |
"--depfile=$_rebased_depfile", |
+ "--bootclasspath=$_rebased_android_sdk_jar", |
"--classpath=$_rebased_system_jars", |
"--classpath=@FileArg($_rebased_build_config:javac:classpath)", |
"--jar-path=$_rebased_jar_path", |