Index: build/android/gyp/util/build_utils.py |
diff --git a/build/android/gyp/util/build_utils.py b/build/android/gyp/util/build_utils.py |
index 607f9be2771039fdd20bf09bc3ee0e690a85d059..36c83193c1ad3347b6a4b563b14ac5c76552b087 100644 |
--- a/build/android/gyp/util/build_utils.py |
+++ b/build/android/gyp/util/build_utils.py |
@@ -59,7 +59,7 @@ def CheckOptions(options, parser, required=None): |
if not required: |
return |
for option_name in required: |
- if not getattr(options, option_name): |
+ if getattr(options, option_name) is None: |
parser.error('--%s is required' % option_name.replace('_', '-')) |
def WriteJson(obj, path, only_if_changed=False): |