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: |