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

Unified Diff: pylib/gyp/generator/gypd.py

Issue 271019: Adding cross-compile ability to the make build (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: '' Created 11 years, 2 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 | « pylib/gyp/common.py ('k') | pylib/gyp/generator/make.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/generator/gypd.py
===================================================================
--- pylib/gyp/generator/gypd.py (revision 706)
+++ pylib/gyp/generator/gypd.py (working copy)
@@ -53,6 +53,9 @@
generator_default_variables = {
}
+# gypd supports multiple toolsets
+generator_supports_multiple_toolsets = True
+
# TODO(mark): This always uses <, which isn't right. The input module should
# notify the generator to tell it which phase it is operating in, and this
# module should use < for the early phase and then switch to > for the late
@@ -65,7 +68,7 @@
output_files = {}
for qualified_target in target_list:
[input_file, target] = \
- gyp.common.BuildFileAndTarget('', qualified_target)[0:2]
+ gyp.common.ParseQualifiedTarget(qualified_target)[0:2]
if input_file[-4:] != '.gyp':
continue
« no previous file with comments | « pylib/gyp/common.py ('k') | pylib/gyp/generator/make.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698