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

Unified Diff: gyp/tools.gyp

Issue 12639008: Add build condition not to build in iOS an unused lib (failing to build empty lib in iOS). Unreview… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
===================================================================
--- gyp/tools.gyp (revision 8044)
+++ gyp/tools.gyp (working copy)
@@ -268,18 +268,26 @@
'tools.gyp:picture_utils',
],
},
- {
- 'target_name': 'win_dbghelp',
- 'type': 'static_library',
- 'defines': [
- 'SK_CDB_PATH="<(skia_win_debuggers_path)"',
- ],
- 'sources': [
- '../tools/win_dbghelp.h',
- '../tools/win_dbghelp.cpp',
- ],
- },
],
+ 'conditions': [
+ ['skia_win_debuggers_path and skia_os == "win"',
+ {
+ 'targets': [
+ {
+ 'target_name': 'win_dbghelp',
+ 'type': 'static_library',
+ 'defines': [
+ 'SK_CDB_PATH="<(skia_win_debuggers_path)"',
+ ],
+ 'sources': [
+ '../tools/win_dbghelp.h',
+ '../tools/win_dbghelp.cpp',
+ ],
+ },
+ ],
+ },
+ ],
+ ],
}
# Local Variables:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698