OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'dependencies': [ | 6 'dependencies': [ |
7 '../base/base.gyp:base', | 7 '../base/base.gyp:base', |
8 '../skia/skia.gyp:skia', | 8 '../skia/skia.gyp:skia', |
9 '../third_party/re2/re2.gyp:re2', | |
10 '../ui/gl/gl.gyp:gl', | 9 '../ui/gl/gl.gyp:gl', |
11 ], | 10 ], |
12 'sources': [ | 11 'sources': [ |
13 'gpu/gpu_dx_diagnostics_win.cc', | |
14 'gpu/gpu_info_collector_android.cc', | |
15 'gpu/gpu_info_collector_mac.mm', | |
16 'gpu/gpu_info_collector_win.cc', | |
17 'gpu/gpu_info_collector_x11.cc', | |
18 'gpu/gpu_info_collector.cc', | |
19 'gpu/gpu_info_collector.h', | |
20 'gpu/gpu_main.cc', | 12 'gpu/gpu_main.cc', |
21 'gpu/gpu_process.cc', | 13 'gpu/gpu_process.cc', |
22 'gpu/gpu_process.h', | 14 'gpu/gpu_process.h', |
23 'gpu/gpu_child_thread.cc', | 15 'gpu/gpu_child_thread.cc', |
24 'gpu/gpu_child_thread.h', | 16 'gpu/gpu_child_thread.h', |
25 'gpu/gpu_watchdog_thread.cc', | 17 'gpu/gpu_watchdog_thread.cc', |
26 'gpu/gpu_watchdog_thread.h', | 18 'gpu/gpu_watchdog_thread.h', |
27 ], | 19 ], |
28 'include_dirs': [ | 20 'include_dirs': [ |
29 '..', | 21 '..', |
30 ], | 22 ], |
31 'conditions': [ | 23 'conditions': [ |
32 ['OS=="win"', { | 24 ['OS=="win"', { |
33 'include_dirs': [ | 25 'include_dirs': [ |
34 '<(DEPTH)/third_party/khronos', | 26 '<(DEPTH)/third_party/khronos', |
35 '<(DEPTH)/third_party/angle/src', | 27 '<(DEPTH)/third_party/angle/src', |
36 '<(DEPTH)/third_party/wtl/include', | 28 '<(DEPTH)/third_party/wtl/include', |
37 ], | 29 ], |
38 'dependencies': [ | 30 'dependencies': [ |
39 '../third_party/angle/src/build_angle.gyp:libEGL', | 31 '../third_party/angle/src/build_angle.gyp:libEGL', |
40 '../third_party/angle/src/build_angle.gyp:libGLESv2', | 32 '../third_party/angle/src/build_angle.gyp:libGLESv2', |
41 '../third_party/libxml/libxml.gyp:libxml', | |
42 ], | 33 ], |
43 'link_settings': { | 34 'link_settings': { |
44 'libraries': [ | 35 'libraries': [ |
45 '-lsetupapi.lib', | 36 '-lsetupapi.lib', |
46 ], | 37 ], |
47 }, | 38 }, |
48 'copies': [ | 39 'copies': [ |
49 { | 40 { |
50 'destination': '<(PRODUCT_DIR)', | 41 'destination': '<(PRODUCT_DIR)', |
51 'files': [ | 42 'files': [ |
(...skipping 20 matching lines...) Expand all Loading... |
72 'python', | 63 'python', |
73 '../build/extract_from_cab.py', | 64 '../build/extract_from_cab.py', |
74 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', | 65 '..\\third_party\\directxsdk\\files\\Redist\\<(input)', |
75 '<(output)', | 66 '<(output)', |
76 '<(PRODUCT_DIR)', | 67 '<(PRODUCT_DIR)', |
77 ], | 68 ], |
78 'msvs_cygwin_shell': 1, | 69 'msvs_cygwin_shell': 1, |
79 }, | 70 }, |
80 ], | 71 ], |
81 }], | 72 }], |
82 ['OS=="win" and branding=="Chrome"', { | |
83 'sources': [ | |
84 '../third_party/amd/AmdCfxPxExt.h', | |
85 '../third_party/amd/amd_videocard_info_win.cc', | |
86 ], | |
87 }], | |
88 ['OS=="linux" and use_x11==1', { | |
89 'dependencies': [ | |
90 '../build/linux/system.gyp:libpci', | |
91 '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl', | |
92 ], | |
93 }], | |
94 ['target_arch=="arm" and chromeos == 1', { | 73 ['target_arch=="arm" and chromeos == 1', { |
95 'include_dirs': [ | 74 'include_dirs': [ |
96 '<(DEPTH)/third_party/openmax/il', | 75 '<(DEPTH)/third_party/openmax/il', |
97 ], | 76 ], |
98 }], | 77 }], |
99 ['target_arch!="arm" and chromeos == 1', { | 78 ['target_arch!="arm" and chromeos == 1', { |
100 'include_dirs': [ | 79 'include_dirs': [ |
101 '<(DEPTH)/third_party/libva', | 80 '<(DEPTH)/third_party/libva', |
102 ], | 81 ], |
103 }], | 82 }], |
104 ], | 83 ], |
105 } | 84 } |
OLD | NEW |