Index: platform_tools/android/gyp_gen/gypd_parser.py |
diff --git a/platform_tools/android/gyp_gen/gypd_parser.py b/platform_tools/android/gyp_gen/gypd_parser.py |
index e992637637948a3c8d5cb4ab31c4c339882b6675..082d2645a4d364434c954544eff039f81ec01681 100644 |
--- a/platform_tools/android/gyp_gen/gypd_parser.py |
+++ b/platform_tools/android/gyp_gen/gypd_parser.py |
@@ -89,7 +89,7 @@ def parse_dictionary(var_dict, d, current_target_name, dest_dir): |
var_dict.LOCAL_CPPFLAGS.add(flag) |
for include in d.get('include_dirs', []): |
- if include.startswith('external'): |
+ if include.startswith('external') or include.startswith('frameworks'): |
# This path is relative to the Android root. Leave it alone. |
rel_include = include |
else: |