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

Unified Diff: gyp/shaderc.gyp

Issue 1903253003: VulkanViewer on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: gyp Created 4 years, 8 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/most.gyp ('k') | gyp/vulkanviewer.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/shaderc.gyp
diff --git a/gyp/shaderc.gyp b/gyp/shaderc.gyp
index 7732e221ac049547005717b29367c9b6fa563df1..32026850afa1803b10a9235ffe67083a1b2e0617 100644
--- a/gyp/shaderc.gyp
+++ b/gyp/shaderc.gyp
@@ -28,13 +28,14 @@
'shaderc_project_type' : 'ninja',
}],
],
- 'shaderc_out_path': '../out/<(CONFIGURATION_NAME)/shaderc_out_<(skia_arch_type)',
+ 'shaderc_out_path': '<(PRODUCT_DIR)/shaderc_out_<(skia_arch_type)',
},
# Export out of nested variables.
'shaderc_build_configuration': '<(shaderc_build_configuration)',
'shaderc_project_type': '<(shaderc_project_type)',
'shaderc_out_path': '<(shaderc_out_path)',
'shaderc_lib_name': '<(shaderc_lib_name)',
+ 'android_toolchain%': '',
# On Windows the library winds up inside a 'Debug' or 'Release' dir, not so
# with ninja project build.
@@ -62,12 +63,12 @@
'outputs': [
'<(shaderc_lib_full_path)',
],
- 'action': ['python', '../tools/build_shaderc.py', '-s', '../third_party/externals/shaderc2', '-o', '<(shaderc_out_path)', '-a', '<(skia_arch_type)', '-t', '<(shaderc_build_configuration)', '-p', '<(shaderc_project_type)'],
+ 'action': ['python', '../tools/build_shaderc.py', '-s', '../third_party/externals/shaderc2', '-o', '<(shaderc_out_path)', '-a', '<(skia_arch_type)', '-t', '<(shaderc_build_configuration)', '-p', '<(shaderc_project_type)', '-c', '<(android_toolchain)'],
},
],
'copies': [
{
- 'destination': '../out/<(CONFIGURATION_NAME)',
+ 'destination': '<(PRODUCT_DIR)',
'files': ['<(shaderc_lib_full_path)'],
},
],
« no previous file with comments | « gyp/most.gyp ('k') | gyp/vulkanviewer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698