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

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

Issue 1181613005: Extend unknown_deps for build_configs exemption to android_resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn2
Patch Set: Created 5 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 | no next file » | 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 8507a95d0b982808d5ca08eb12a6a86aa0a55d73..3773e98bc70beeb6c154774c395a31999a85b009 100755
--- a/build/android/gyp/write_build_config.py
+++ b/build/android/gyp/write_build_config.py
@@ -181,7 +181,8 @@ def main(argv):
possible_deps_config_paths = build_utils.ParseGypList(
options.possible_deps_configs)
- allow_unknown_deps = options.type == 'android_apk'
+ allow_unknown_deps = (options.type == 'android_apk' or
+ options.type == 'android_resources')
unknown_deps = [
c for c in possible_deps_config_paths if not os.path.exists(c)]
if unknown_deps and not allow_unknown_deps:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698