OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 'variables' : { | 5 'variables' : { |
6 # Variables for js2gtest rules | 6 # Variables for js2gtest rules |
7 'gypv8sh': '../tools/gypv8sh.py', | 7 'gypv8sh': '../tools/gypv8sh.py', |
8 'js2gtest': 'test/base/js2gtest.js', | 8 'js2gtest': 'test/base/js2gtest.js', |
9 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', | 9 'js2gtest_out_dir': '<(SHARED_INTERMEDIATE_DIR)/js2gtest', |
10 'mock_js': 'third_party/mock4js/mock4js.js', | 10 'mock_js': 'third_party/mock4js/mock4js.js', |
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 ], | 2313 ], |
2314 }], | 2314 }], |
2315 ['use_cups==1 and OS!="mac"', { | 2315 ['use_cups==1 and OS!="mac"', { |
2316 'defines': [ | 2316 'defines': [ |
2317 'USE_CUPS', | 2317 'USE_CUPS', |
2318 ], | 2318 ], |
2319 'sources': [ | 2319 'sources': [ |
2320 'browser/printing/print_system_task_proxy_unittest.cc', | 2320 'browser/printing/print_system_task_proxy_unittest.cc', |
2321 ], | 2321 ], |
2322 }], | 2322 }], |
| 2323 ['component == "shared_library"', { |
| 2324 # This is needed for tests that subclass |
| 2325 # RendererWebKitPlatformSupportImpl, which subclasses stuff in |
| 2326 # glue, which refers to symbols defined in these files. |
| 2327 # Hopefully this can be resolved with http://crbug.com/98755. |
| 2328 'sources': [ |
| 2329 '../content/renderer/renderer_glue.cc', |
| 2330 '../content/common/socket_stream_dispatcher.cc', |
| 2331 ]}, |
| 2332 ], |
2323 ], | 2333 ], |
2324 }, | 2334 }, |
2325 { | 2335 { |
2326 # Executable that runs each browser test in a new process. | 2336 # Executable that runs each browser test in a new process. |
2327 'target_name': 'browser_tests', | 2337 'target_name': 'browser_tests', |
2328 'type': 'executable', | 2338 'type': 'executable', |
2329 'msvs_cygwin_shell': 0, | 2339 'msvs_cygwin_shell': 0, |
2330 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 2340 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
2331 'dependencies': [ | 2341 'dependencies': [ |
2332 'browser', | 2342 'browser', |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2917 ], | 2927 ], |
2918 }], | 2928 }], |
2919 ['target_arch!="arm"', { | 2929 ['target_arch!="arm"', { |
2920 'dependencies': [ | 2930 'dependencies': [ |
2921 # build time dependency. | 2931 # build time dependency. |
2922 '../v8/tools/gyp/v8.gyp:v8_shell#host', | 2932 '../v8/tools/gyp/v8.gyp:v8_shell#host', |
2923 # run time dependency | 2933 # run time dependency |
2924 '../webkit/webkit.gyp:copy_npapi_test_plugin', | 2934 '../webkit/webkit.gyp:copy_npapi_test_plugin', |
2925 ], | 2935 ], |
2926 }], | 2936 }], |
| 2937 ['component == "shared_library"', { |
| 2938 # This is needed for tests that subclass |
| 2939 # RendererWebKitPlatformSupportImpl, which subclasses stuff in |
| 2940 # glue, which refers to symbols defined in these files. |
| 2941 # Hopefully this can be resolved with http://crbug.com/98755. |
| 2942 'sources': [ |
| 2943 '../content/renderer/renderer_glue.cc', |
| 2944 '../content/common/socket_stream_dispatcher.cc', |
| 2945 ]}, |
| 2946 ], |
2927 ], # conditions | 2947 ], # conditions |
2928 }, # target browser_tests | 2948 }, # target browser_tests |
2929 { | 2949 { |
2930 # Executable that runs safebrowsing test in a new process. | 2950 # Executable that runs safebrowsing test in a new process. |
2931 'target_name': 'safe_browsing_tests', | 2951 'target_name': 'safe_browsing_tests', |
2932 'type': 'executable', | 2952 'type': 'executable', |
2933 'dependencies': [ | 2953 'dependencies': [ |
2934 'chrome', | 2954 'chrome', |
2935 'test_support_common', | 2955 'test_support_common', |
2936 '../base/base.gyp:base', | 2956 '../base/base.gyp:base', |
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4225 # Use outputs of this action as inputs for the main target build. | 4245 # Use outputs of this action as inputs for the main target build. |
4226 # Seems as a misnomer but makes this happy on Linux (scons). | 4246 # Seems as a misnomer but makes this happy on Linux (scons). |
4227 'process_outputs_as_sources': 1, | 4247 'process_outputs_as_sources': 1, |
4228 }, | 4248 }, |
4229 ], # 'actions' | 4249 ], # 'actions' |
4230 }, | 4250 }, |
4231 ] | 4251 ] |
4232 }], # 'coverage!=0' | 4252 }], # 'coverage!=0' |
4233 ], # 'conditions' | 4253 ], # 'conditions' |
4234 } | 4254 } |
OLD | NEW |