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

Unified Diff: chrome/chrome_tests.gypi

Issue 8774018: Add psutil build step to fix pyauto media issues. Upgrade psutil to 0.4.0. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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 | third_party/psutil/HISTORY » ('j') | third_party/psutil/build.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests.gypi
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 83bc9fd845528ccc3d91e33bb2973fd8d8c6c469..c92e29aed0fa2f531be7f08f7004916855d48891 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -444,6 +444,52 @@
],
},
{
+ 'target_name': 'test_support_psutil',
+ 'type': 'static_library',
+ 'actions': [
+ {
+ 'action_name': 'psutil_build',
+ 'inputs': [
+ '../third_party/psutil/psutil/_psutil_bsd.c',
+ '../third_party/psutil/psutil/_psutil_common.c',
+ '../third_party/psutil/psutil/_psutil_linux.c',
+ '../third_party/psutil/psutil/_psutil_mswindows.c',
+ '../third_party/psutil/psutil/_psutil_osx.c',
+ '../third_party/psutil/psutil/_psutil_posix.c',
+ '../third_party/psutil/psutil/_psutil_bsd.h',
+ '../third_party/psutil/psutil/_psutil_common.h',
+ '../third_party/psutil/psutil/_psutil_linux.h',
+ '../third_party/psutil/psutil/_psutil_mswindows.h',
+ '../third_party/psutil/psutil/_psutil_osx.h',
+ '../third_party/psutil/psutil/_psutil_posix.h',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'outputs': [
+ '<(PRODUCT_DIR)/_psutil_linux.so',
+ '<(PRODUCT_DIR)/psutil',
+ '<(PRODUCT_DIR)/psutil/_compat.py',
+ '<(PRODUCT_DIR)/psutil/_psosx.py',
+ '<(PRODUCT_DIR)/psutil/__init__.py',
+ '<(PRODUCT_DIR)/psutil/_pslinux.py',
+ '<(PRODUCT_DIR)/psutil/_common.py',
+ '<(PRODUCT_DIR)/psutil/error.py',
+ '<(PRODUCT_DIR)/psutil/_psmswindows.py',
+ '<(PRODUCT_DIR)/psutil/_psbsd.py',
+ '<(PRODUCT_DIR)/psutil/_psposix.py',
+ '<(PRODUCT_DIR)/_psutil_posix.so',
+ ],
+ },],
+ ],
+ 'action': ['python',
+ '../third_party/psutil/build.py',
+ '<(PRODUCT_DIR)'
+ ],
+ 'message': 'Generating psutil binary',
+ },
+ ], # actions
+ },
+ {
'target_name': 'automated_ui_tests',
'type': 'executable',
'dependencies': [
@@ -4016,6 +4062,7 @@
],
'export_dependent_settings': [
'test_support_common',
+ 'test_support_psutil',
Nirnimesh 2011/12/07 00:30:41 where did you specify this dep on linux only? FWI
DaleCurtis 2011/12/07 01:26:08 In the conditions section above, I only provided o
],
'include_dirs': [
'..',
« no previous file with comments | « no previous file | third_party/psutil/HISTORY » ('j') | third_party/psutil/build.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698