OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'browser_tests_sources_views_specific': [ | 7 'browser_tests_sources_views_specific': [ |
8 'browser/extensions/browser_action_test_util_views.cc', | 8 'browser/extensions/browser_action_test_util_views.cc', |
9 'browser/views/browser_actions_container_browsertest.cc', | 9 'browser/views/browser_actions_container_browsertest.cc', |
10 ], | 10 ], |
(...skipping 2187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2198 '-o', | 2198 '-o', |
2199 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', | 2199 '<(INTERMEDIATE_DIR)/pyautolib_wrap.cc', |
2200 'test/pyautolib/pyautolib.i', | 2200 'test/pyautolib/pyautolib.i', |
2201 ], | 2201 ], |
2202 'message': 'Generating swig wrappers for pyautolib.', | 2202 'message': 'Generating swig wrappers for pyautolib.', |
2203 }, | 2203 }, |
2204 ], # actions | 2204 ], # actions |
2205 }, # target 'pyautolib' | 2205 }, # target 'pyautolib' |
2206 ] # targets | 2206 ] # targets |
2207 }], | 2207 }], |
| 2208 ['(OS=="linux") and linux_fpic==1', { |
| 2209 'targets': [ |
| 2210 { |
| 2211 'target_name': 'wtflib', |
| 2212 'type': 'shared_library', |
| 2213 'product_prefix': 'np', |
| 2214 'dependencies': [ |
| 2215 'chrome', |
| 2216 'debugger', |
| 2217 'syncapi', |
| 2218 'test_support_common', |
| 2219 'chrome_resources', |
| 2220 'chrome_strings', |
| 2221 'theme_resources', |
| 2222 '../skia/skia.gyp:skia', |
| 2223 '../testing/gtest.gyp:gtest', |
| 2224 ], |
| 2225 'export_dependent_settings': [ |
| 2226 'test_support_common', |
| 2227 ], |
| 2228 'include_dirs': [ |
| 2229 '..', |
| 2230 'test/wtflib', |
| 2231 '../tools/nixysa/nixysa/static_glue/npapi', |
| 2232 '../tools/nixysa/third_party/npapi/include', |
| 2233 '<(INTERMEDIATE_DIR)/glue', |
| 2234 ], |
| 2235 'sources': [ |
| 2236 'test/wtflib/wtf.cc', |
| 2237 'test/wtflib/wtf.h', |
| 2238 |
| 2239 'test/wtflib/wtf_testsuite.cc', |
| 2240 'test/wtflib/wtf_testsuite.h', |
| 2241 |
| 2242 'test/ui/ui_test.cc', |
| 2243 'test/ui/ui_test.h', |
| 2244 'test/ui/ui_test_suite.cc', |
| 2245 'test/ui/ui_test_suite.h', |
| 2246 |
| 2247 # npapi glue from here on |
| 2248 'test/wtflib/plugin.cc', |
| 2249 '../tools/nixysa/nixysa/static_glue/npapi/common.cc', |
| 2250 '../tools/nixysa/nixysa/static_glue/npapi/common.h', |
| 2251 '../tools/nixysa/nixysa/static_glue/npapi/npn_api.cc', |
| 2252 '../tools/nixysa/nixysa/static_glue/npapi/npn_api.h', |
| 2253 '../tools/nixysa/nixysa/static_glue/npapi/static_object.cc', |
| 2254 '../tools/nixysa/nixysa/static_glue/npapi/static_object.h', |
| 2255 '../tools/nixysa/nixysa/static_glue/npapi/main.cc', |
| 2256 '../tools/nixysa/nixysa/static_glue/npapi/plugin_main.h', |
| 2257 |
| 2258 '<(INTERMEDIATE_DIR)/glue/wtf_glue.cc', |
| 2259 '<(INTERMEDIATE_DIR)/glue/wtf_glue.h', |
| 2260 '<(INTERMEDIATE_DIR)/glue/globals_glue.cc', |
| 2261 '<(INTERMEDIATE_DIR)/glue/globals_glue.h', |
| 2262 ], |
| 2263 'conditions': [ |
| 2264 ['OS=="linux"', { |
| 2265 'include_dirs': [ |
| 2266 '..', |
| 2267 ], |
| 2268 'dependencies': [ |
| 2269 '../build/linux/system.gyp:gtk', |
| 2270 ], |
| 2271 'cflags': [ |
| 2272 '-Wno-error', |
| 2273 '-fPIC', |
| 2274 '-DOS_LINUX', |
| 2275 '-fvisibility=default', |
| 2276 ], |
| 2277 'link_settings': { |
| 2278 }, |
| 2279 }], |
| 2280 ], |
| 2281 'actions': [ |
| 2282 { |
| 2283 'action_name': 'wtflib_nyxia_gen', |
| 2284 'inputs': [ |
| 2285 'test/wtflib/wtf.idl', |
| 2286 ], |
| 2287 'outputs': [ |
| 2288 '<(INTERMEDIATE_DIR)/glue/wtf_glue.cc', |
| 2289 '<(INTERMEDIATE_DIR)/glue/wtf_glue.h', |
| 2290 '<(INTERMEDIATE_DIR)/glue/globals_glue.cc', |
| 2291 '<(INTERMEDIATE_DIR)/glue/globals_glue.h', |
| 2292 ], |
| 2293 'action': ['../tools/nixysa/nixysa/codegen.sh', |
| 2294 '--output-dir=<(INTERMEDIATE_DIR)/glue' |
| 2295 '--generate=npapi' |
| 2296 'test/wtflib/wtf.idl',], |
| 2297 'message': 'Generating NPAPI glue for test/wtflib/wtf.idl', |
| 2298 }, |
| 2299 ], # actions |
| 2300 }, # target 'wtflib' |
| 2301 ] # targets |
| 2302 }], |
2208 ['coverage!=0', | 2303 ['coverage!=0', |
2209 { 'targets': [ | 2304 { 'targets': [ |
2210 { | 2305 { |
2211 'target_name': 'coverage', | 2306 'target_name': 'coverage', |
2212 # do NOT place this in the 'all' list; most won't want it. | 2307 # do NOT place this in the 'all' list; most won't want it. |
2213 # In gyp, booleans are 0/1 not True/False. | 2308 # In gyp, booleans are 0/1 not True/False. |
2214 'suppress_wildcard': 1, | 2309 'suppress_wildcard': 1, |
2215 'type': 'none', | 2310 'type': 'none', |
2216 # Cross platform test bundles. If you add new tests you may | 2311 # Cross platform test bundles. If you add new tests you may |
2217 # need to update the croc configs. For example, see the | 2312 # need to update the croc configs. For example, see the |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2284 ] | 2379 ] |
2285 }], # 'coverage!=0' | 2380 }], # 'coverage!=0' |
2286 ], # 'conditions' | 2381 ], # 'conditions' |
2287 } | 2382 } |
2288 | 2383 |
2289 # Local Variables: | 2384 # Local Variables: |
2290 # tab-width:2 | 2385 # tab-width:2 |
2291 # indent-tabs-mode:nil | 2386 # indent-tabs-mode:nil |
2292 # End: | 2387 # End: |
2293 # vim: set expandtab tabstop=2 shiftwidth=2: | 2388 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |