Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2438)

Unified Diff: build/android/gyp/write_build_config.py

Issue 2109293003: 🎊 Reland #2 of Have build_config targets depend only on other build_config targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change // to * to fix downstream Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/write_build_config.py
diff --git a/build/android/gyp/write_build_config.py b/build/android/gyp/write_build_config.py
index 6845dabdb35a966ad78755e45a2b45211583db12..69acb2bb8a437911f524fcf0f98d42874774399c 100755
--- a/build/android/gyp/write_build_config.py
+++ b/build/android/gyp/write_build_config.py
@@ -200,10 +200,8 @@ def main(argv):
'--type',
help='Type of this target (e.g. android_library).')
parser.add_option(
- '--possible-deps-configs',
- help='List of paths for dependency\'s build_config files. Some '
- 'dependencies may not write build_config files. Missing build_config '
- 'files are handled differently based on the type of this target.')
+ '--deps-configs',
+ help='List of paths for dependency\'s build_config files. ')
# android_resources options
parser.add_option('--srcjar', help='Path to target\'s resources srcjar.')
@@ -290,14 +288,7 @@ def main(argv):
raise Exception(
'--supports-android is required when using --requires-android')
- possible_deps_config_paths = build_utils.ParseGypList(
- options.possible_deps_configs)
-
- unknown_deps = [
- c for c in possible_deps_config_paths if not os.path.exists(c)]
-
- direct_deps_config_paths = [
- c for c in possible_deps_config_paths if not c in unknown_deps]
+ direct_deps_config_paths = build_utils.ParseGypList(options.deps_configs)
direct_deps_config_paths = _FilterUnwantedDepsPaths(direct_deps_config_paths,
options.type)
« no previous file with comments | « no previous file | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698