OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/common.gypi', | 10 '../build/common.gypi', |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 'OptimizeReferences': '1', | 155 'OptimizeReferences': '1', |
156 }, | 156 }, |
157 }, | 157 }, |
158 # We switch it to console post-build so that we have a | 158 # We switch it to console post-build so that we have a |
159 # windows app that can output to the console and still | 159 # windows app that can output to the console and still |
160 # open windows. | 160 # open windows. |
161 'msvs_postbuild': | 161 'msvs_postbuild': |
162 'editbin /SUBSYSTEM:CONSOLE $(OutDir)/$(TargetFileName)', | 162 'editbin /SUBSYSTEM:CONSOLE $(OutDir)/$(TargetFileName)', |
163 }, | 163 }, |
164 ], | 164 ], |
165 ['OS == "win" and renderer == "d3d9"', | 165 ['OS == "win" and (renderer == "d3d9" or renderer == "cb")', |
166 { | 166 { |
167 'sources': [ | 167 'sources': [ |
168 'common/win/dxcapture.cc', | 168 'common/win/dxcapture.cc', |
169 ], | 169 ], |
170 'include_dirs': [ | 170 'include_dirs': [ |
171 '"$(DXSDK_DIR)/Include"', | 171 '"$(DXSDK_DIR)/Include"', |
172 ], | 172 ], |
173 'msvs_settings': { | 173 'msvs_settings': { |
174 'VCLinkerTool': { | 174 'VCLinkerTool': { |
175 'AdditionalDependencies': [ | 175 'AdditionalDependencies': [ |
176 '"$(DXSDK_DIR)/Lib/x86/DxErr9.lib"', | 176 '"$(DXSDK_DIR)/Lib/x86/DxErr.lib"', |
177 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', | 177 '"$(DXSDK_DIR)/Lib/x86/d3dx9.lib"', |
178 'd3d9.lib', | 178 'd3d9.lib', |
179 ], | 179 ], |
180 }, | 180 }, |
181 }, | 181 }, |
182 }, | 182 }, |
183 ], | 183 ], |
184 ['OS == "linux"', | 184 ['OS == "linux"', |
185 { | 185 { |
186 'sources': [ | 186 'sources': [ |
187 'common/linux/testing_common.cc', | 187 'common/linux/testing_common.cc', |
188 ], | 188 ], |
189 'copies': [ | 189 'copies': [ |
190 { | 190 { |
191 'destination': '<(PRODUCT_DIR)', | 191 'destination': '<(PRODUCT_DIR)', |
192 'files': [ | 192 'files': [ |
193 '../../<(pdiffdir)/bin/linux/perceptualdiff', | 193 '../../<(pdiffdir)/bin/linux/perceptualdiff', |
194 ], | 194 ], |
195 }, | 195 }, |
196 ], | 196 ], |
197 }, | 197 }, |
198 ], | 198 ], |
199 ], | 199 ], |
200 }, | 200 }, |
201 ], | 201 ], |
202 } | 202 } |
OLD | NEW |