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

Unified Diff: platform_tools/android/gyp_gen/gypd_parser.py

Issue 2129523002: Compile Vulkan when building for the Android framework. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Compile Vulkan when building for the Android framework. Created 4 years, 5 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 | « gyp/shaderc.gyp ('k') | src/gpu/vk/GrVkPipelineStateBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « gyp/shaderc.gyp ('k') | src/gpu/vk/GrVkPipelineStateBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698