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

Unified Diff: chrome/chrome_tests.gypi

Issue 661342: Build pyauto on win (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: using subprocess.call() Created 10 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 | « DEPS ('k') | chrome/test/pyautolib/pyautolib.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests.gypi
===================================================================
--- chrome/chrome_tests.gypi (revision 40971)
+++ chrome/chrome_tests.gypi (working copy)
@@ -1900,9 +1900,9 @@
]}, # 'targets'
], # OS=="win"
# Build on linux x86_64 only if linux_fpic==1
- ['OS=="mac" or (OS=="linux" and target_arch==python_arch and (target_arch!="x64" or linux_fpic==1))', {
+ ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch==python_arch '
+ 'and (target_arch!="x64" or linux_fpic==1))', {
'targets': [
- # TODO(nirnimesh): enable for win - crbug.com/32285
{
# Documentation: http://dev.chromium.org/developers/pyauto
'target_name': 'pyautolib',
@@ -1971,6 +1971,17 @@
],
}
}],
+ ['OS=="win"', {
+ 'include_dirs': [
+ '..',
+ '../third_party/python_24/include',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '../third_party/python_24/libs/python24.lib',
+ ],
+ }
+ }],
],
'actions': [
{
@@ -1991,13 +2002,14 @@
'<(PRODUCT_DIR)',
'-o',
'<(INTERMEDIATE_DIR)/pyautolib_wrap.cc',
- '<(_inputs)',
- ]
+ '<@(_inputs)',
+ ],
+ 'message': 'Generating swig wrappers for <(_inputs).',
},
], # actions
}, # target 'pyautolib'
] # targets
- }], # OS=='mac' or OS=='linux'
+ }],
['coverage!=0',
{ 'targets': [
{
« no previous file with comments | « DEPS ('k') | chrome/test/pyautolib/pyautolib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698