Index: build/android/gradle/generate_gradle.py |
diff --git a/build/android/gradle/generate_gradle.py b/build/android/gradle/generate_gradle.py |
index 86786ddfc6c75287d2ef164d68e166f2db28ec3a..d06c6aaf48e656b3845ddd36feb2cfbc40d005b1 100755 |
--- a/build/android/gradle/generate_gradle.py |
+++ b/build/android/gradle/generate_gradle.py |
@@ -714,8 +714,8 @@ def main(): |
devil_chromium.Initialize(output_directory=output_dir) |
run_tests_helper.SetLogLevel(args.verbose_count) |
- if args.split_projects: |
- assert not args.use_gradle_process_resources, ( |
+ if args.use_gradle_process_resources: |
+ assert args.split_projects, ( |
'Gradle resources does not work without --split-projects.') |
_gradle_output_dir = os.path.abspath( |