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

Side by Side Diff: third_party/psutil/psutil.gyp

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: Replace 'python' w/ sys.executable. Created 9 years 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4 {
5 'targets': [
6 {
7 'target_name': 'psutil_lib',
8 'type': 'none',
9 'actions': [
10 {
11 'action_name': 'psutil_build',
12 'inputs': [
13 'setup.py',
14 'psutil/_common.py',
15 'psutil/_compat.py',
16 'psutil/error.py',
17 'psutil/__init__.py',
18 'psutil/_psutil_common.c',
19 'psutil/_psutil_common.h',
20 ],
21 'outputs': [
22 '<(PRODUCT_DIR)/psutil',
23 '<(PRODUCT_DIR)/psutil/_compat.py',
24 '<(PRODUCT_DIR)/psutil/_psosx.py',
25 '<(PRODUCT_DIR)/psutil/__init__.py',
26 '<(PRODUCT_DIR)/psutil/_pslinux.py',
27 '<(PRODUCT_DIR)/psutil/_common.py',
28 '<(PRODUCT_DIR)/psutil/error.py',
29 '<(PRODUCT_DIR)/psutil/_psmswindows.py',
30 '<(PRODUCT_DIR)/psutil/_psbsd.py',
31 '<(PRODUCT_DIR)/psutil/_psposix.py',
32 ],
33 'conditions': [
34 ['OS=="linux"', {
35 'inputs': [
36 'psutil/_pslinux.py',
37 'psutil/_psposix.py',
38 'psutil/_psutil_linux.c',
39 'psutil/_psutil_linux.h',
40 'psutil/_psutil_posix.c',
41 'psutil/_psutil_posix.h',
42 ],
43 'outputs': [
44 '<(PRODUCT_DIR)/_psutil_linux.so',
45 '<(PRODUCT_DIR)/_psutil_posix.so',
46 ],
47 }],
48 ['OS=="mac"', {
49 'inputs': [
50 'psutil/_psosx.py',
51 'psutil/_psposix.py',
52 'psutil/_psutil_osx.c',
53 'psutil/_psutil_osx.h',
54 'psutil/_psutil_posix.c',
55 'psutil/_psutil_posix.h',
56 'psutil/arch/osx/process_info.c',
57 'psutil/arch/osx/process_info.h',
58 ],
59 'outputs': [
60 '<(PRODUCT_DIR)/_psutil_osx.so',
61 '<(PRODUCT_DIR)/_psutil_posix.so',
62 ],
63 }],
64 ['OS=="win"', {
65 'inputs': [
66 'psutil/_psmswindows.py',
67 'psutil/_psutil_mswindows.c',
68 'psutil/_psutil_mswindows.h',
69 'psutil/arch/mswindows/ntextapi.h',
70 'psutil/arch/mswindows/process_handles.c',
71 'psutil/arch/mswindows/process_handles.h',
72 'psutil/arch/mswindows/process_info.c',
73 'psutil/arch/mswindows/process_info.h',
74 'psutil/arch/mswindows/security.c',
75 'psutil/arch/mswindows/security.h',
76 ],
77 'outputs': [
78 '<(PRODUCT_DIR)/_psutil_mswindows.pyd',
79 ],
80 }],
81 ],
82 'action': ['python',
83 'build.py',
Nico 2011/12/12 18:20:12 Shelling out to a script to do a compilation is…un
DaleCurtis 2011/12/12 19:23:20 Hi Nico, I'm not sure what you mean by a real gyp
Nico 2011/12/12 23:20:43 Yes.
DaleCurtis 2011/12/12 23:34:57 I didn't realize you guys were already doing that,
Nico 2011/12/12 23:42:11 It sounds like those are all chrome processes – co
84 '<(PRODUCT_DIR)'
85 ],
86 'message': 'Generating psutil binaries.',
87 },
88 ],
89 },
90 ],
91 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698