Merge "Enable Java in mixed builds." am: b3e7dfbd80
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2124255 Change-Id: Ie2bb5ca84a5e361b3243d38d550de1135b6a3888 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7756759ee9
2 changed files with 1 additions and 6 deletions
|
@ -257,6 +257,7 @@ var (
|
|||
"packages/apps/QuickSearchBox":/* recursive = */ true,
|
||||
"packages/apps/WallpaperPicker":/* recursive = */ false,
|
||||
|
||||
"prebuilts/bazel":/* recursive = */ true,
|
||||
"prebuilts/bundletool":/* recursive = */ true,
|
||||
"prebuilts/gcc":/* recursive = */ true,
|
||||
"prebuilts/build-tools":/* recursive = */ true,
|
||||
|
|
|
@ -399,12 +399,6 @@ type builtinBazelRunner struct{}
|
|||
func (r *builtinBazelRunner) issueBazelCommand(paths *bazelPaths, runName bazel.RunName, command bazelCommand,
|
||||
extraFlags ...string) (string, string, error) {
|
||||
cmdFlags := []string{
|
||||
// --noautodetect_server_javabase has the practical consequence of preventing Bazel from
|
||||
// attempting to download rules_java, which is incompatible with
|
||||
// --experimental_repository_disable_download set further below.
|
||||
// rules_java is also not needed until mixed builds start building java targets.
|
||||
// TODO(b/197958133): Once rules_java is pulled into AOSP, remove this flag.
|
||||
"--noautodetect_server_javabase",
|
||||
"--output_base=" + absolutePath(paths.outputBase),
|
||||
command.command,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue