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 'variables' : { | 5 'variables' : { |
6 'pyautolib_sources': [ | 6 'pyautolib_sources': [ |
7 'app/chrome_command_ids.h', | 7 'app/chrome_command_ids.h', |
8 'app/chrome_dll_resource.h', | 8 'app/chrome_dll_resource.h', |
9 'common/automation_constants.h', | 9 'common/automation_constants.h', |
10 'common/pref_names.cc', | 10 'common/pref_names.cc', |
(...skipping 3033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3044 # RendererWebKitPlatformSupportImpl, which subclasses stuff in | 3044 # RendererWebKitPlatformSupportImpl, which subclasses stuff in |
3045 # glue, which refers to symbols defined in these files. | 3045 # glue, which refers to symbols defined in these files. |
3046 # Hopefully this can be resolved with http://crbug.com/98755. | 3046 # Hopefully this can be resolved with http://crbug.com/98755. |
3047 'sources': [ | 3047 'sources': [ |
3048 '../content/common/socket_stream_dispatcher.cc', | 3048 '../content/common/socket_stream_dispatcher.cc', |
3049 ]}, | 3049 ]}, |
3050 ], | 3050 ], |
3051 ], # conditions | 3051 ], # conditions |
3052 }, # target browser_tests | 3052 }, # target browser_tests |
3053 { | 3053 { |
| 3054 # Executable that runs each perf browser test in a new process. |
| 3055 'target_name': 'performance_browser_tests', |
| 3056 'type': 'executable', |
| 3057 'msvs_cygwin_shell': 0, |
| 3058 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
| 3059 'dependencies': [ |
| 3060 'browser', |
| 3061 'browser/sync/protocol/sync_proto.gyp:sync_proto', |
| 3062 'chrome', |
| 3063 'chrome_resources.gyp:chrome_resources', |
| 3064 'chrome_resources.gyp:chrome_strings', |
| 3065 'renderer', |
| 3066 'test_support_common', |
| 3067 '../base/base.gyp:base', |
| 3068 '../base/base.gyp:base_i18n', |
| 3069 '../base/base.gyp:test_support_base', |
| 3070 '../net/net.gyp:net', |
| 3071 '../net/net.gyp:net_test_support', |
| 3072 '../skia/skia.gyp:skia', |
| 3073 '../testing/gmock.gyp:gmock', |
| 3074 '../testing/gtest.gyp:gtest', |
| 3075 '../third_party/cld/cld.gyp:cld', |
| 3076 '../third_party/icu/icu.gyp:icui18n', |
| 3077 '../third_party/icu/icu.gyp:icuuc', |
| 3078 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 3079 '../v8/tools/gyp/v8.gyp:v8', |
| 3080 '../webkit/webkit.gyp:test_shell_test_support', |
| 3081 # Runtime dependencies |
| 3082 '../third_party/mesa/mesa.gyp:osmesa', |
| 3083 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:copy_TestNetsca
pePlugIn', |
| 3084 ], |
| 3085 'include_dirs': [ |
| 3086 '..', |
| 3087 ], |
| 3088 'defines': [ |
| 3089 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 3090 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test
.h"', |
| 3091 ], |
| 3092 'sources': [ |
| 3093 'app/breakpad_mac_stubs.mm', |
| 3094 'app/chrome_command_ids.h', |
| 3095 'app/chrome_dll.rc', |
| 3096 'app/chrome_dll_resource.h', |
| 3097 'app/chrome_version.rc.version', |
| 3098 'test/base/chrome_render_view_test.cc', |
| 3099 'test/base/chrome_render_view_test.h', |
| 3100 'test/base/chrome_test_launcher.cc', |
| 3101 'test/perf/browser_perf_test.cc', |
| 3102 'test/perf/browser_perf_test.h', |
| 3103 'test/perf/rendering/latency_tests.cc', |
| 3104 '../content/app/startup_helper_win.cc', |
| 3105 '../content/test/test_launcher.cc', |
| 3106 '../content/test/test_launcher.h', |
| 3107 ], |
| 3108 'rules': [ |
| 3109 { |
| 3110 'rule_name': 'js2webui', |
| 3111 'extension': 'js', |
| 3112 'msvs_external_rule': 1, |
| 3113 'inputs': [ |
| 3114 '<(gypv8sh)', |
| 3115 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', |
| 3116 '<(mock_js)', |
| 3117 '<(test_api_js)', |
| 3118 '<(js2gtest)', |
| 3119 ], |
| 3120 'outputs': [ |
| 3121 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
-gen.cc', |
| 3122 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', |
| 3123 ], |
| 3124 'process_outputs_as_sources': 1, |
| 3125 'action': [ |
| 3126 'python', |
| 3127 '<@(_inputs)', |
| 3128 'webui', |
| 3129 '<(RULE_INPUT_PATH)', |
| 3130 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', |
| 3131 '<@(_outputs)', |
| 3132 ], |
| 3133 }, |
| 3134 ], |
| 3135 'conditions': [ |
| 3136 ['OS!="linux" or toolkit_views==1', { |
| 3137 'sources!': [ |
| 3138 'browser/extensions/browser_action_test_util_gtk.cc', |
| 3139 ], |
| 3140 }], |
| 3141 ['OS=="win"', { |
| 3142 'sources': [ |
| 3143 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
| 3144 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
| 3145 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', |
| 3146 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
| 3147 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', |
| 3148 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', |
| 3149 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 3150 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
| 3151 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_st
andard.rc', |
| 3152 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', |
| 3153 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 3154 ], |
| 3155 'include_dirs': [ |
| 3156 '<(DEPTH)/third_party/wtl/include', |
| 3157 ], |
| 3158 'dependencies': [ |
| 3159 'chrome_version_resources', |
| 3160 'installer_util_strings', |
| 3161 '../sandbox/sandbox.gyp:sandbox', |
| 3162 ], |
| 3163 'conditions': [ |
| 3164 ['win_use_allocator_shim==1', { |
| 3165 'dependencies': [ |
| 3166 '<(allocator_target)', |
| 3167 ], |
| 3168 }], |
| 3169 ], |
| 3170 'configurations': { |
| 3171 'Debug_Base': { |
| 3172 'msvs_settings': { |
| 3173 'VCLinkerTool': { |
| 3174 'LinkIncremental': '<(msvs_debug_link_nonincremental)', |
| 3175 }, |
| 3176 }, |
| 3177 }, |
| 3178 } |
| 3179 }, { # else: OS != "win" |
| 3180 'sources!': [ |
| 3181 'app/chrome_command_ids.h', |
| 3182 'app/chrome_dll.rc', |
| 3183 'app/chrome_dll_resource.h', |
| 3184 'app/chrome_version.rc.version', |
| 3185 ], |
| 3186 }], |
| 3187 ['toolkit_uses_gtk == 1', { |
| 3188 'dependencies': [ |
| 3189 '../build/linux/system.gyp:gtk', |
| 3190 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
| 3191 ], |
| 3192 }], |
| 3193 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
| 3194 'dependencies': [ |
| 3195 '../build/linux/system.gyp:ssl', |
| 3196 ], |
| 3197 }], |
| 3198 ['OS=="mac"', { |
| 3199 'include_dirs': [ |
| 3200 '../third_party/GTM', |
| 3201 ], |
| 3202 # TODO(mark): We really want this for all non-static library |
| 3203 # targets, but when we tried to pull it up to the common.gypi |
| 3204 # level, it broke other things like the ui, startup, and |
| 3205 # page_cycler tests. *shrug* |
| 3206 'xcode_settings': { |
| 3207 'OTHER_LDFLAGS': [ |
| 3208 '-Wl,-ObjC', |
| 3209 ], |
| 3210 }, |
| 3211 # See the comment in this section of the unit_tests target for an |
| 3212 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). |
| 3213 'dependencies+++': [ |
| 3214 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', |
| 3215 ], |
| 3216 }, { # else: OS != "mac" |
| 3217 'sources!': [ |
| 3218 'browser/extensions/browser_action_test_util_mac.mm', |
| 3219 ], |
| 3220 }], |
| 3221 ['os_posix == 1 and OS != "mac"', { |
| 3222 'conditions': [ |
| 3223 ['linux_use_tcmalloc==1', { |
| 3224 'dependencies': [ |
| 3225 '../base/allocator/allocator.gyp:allocator', |
| 3226 ], |
| 3227 }], |
| 3228 ], |
| 3229 }], |
| 3230 ], # conditions |
| 3231 }, # target performance_browser_tests |
| 3232 { |
3054 # Executable that runs safebrowsing test in a new process. | 3233 # Executable that runs safebrowsing test in a new process. |
3055 'target_name': 'safe_browsing_tests', | 3234 'target_name': 'safe_browsing_tests', |
3056 'type': 'executable', | 3235 'type': 'executable', |
3057 'dependencies': [ | 3236 'dependencies': [ |
3058 'chrome', | 3237 'chrome', |
3059 'test_support_common', | 3238 'test_support_common', |
3060 '../base/base.gyp:base', | 3239 '../base/base.gyp:base', |
3061 '../net/net.gyp:net_test_support', | 3240 '../net/net.gyp:net_test_support', |
3062 '../skia/skia.gyp:skia', | 3241 '../skia/skia.gyp:skia', |
3063 '../testing/gtest.gyp:gtest', | 3242 '../testing/gtest.gyp:gtest', |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4353 # Use outputs of this action as inputs for the main target build. | 4532 # Use outputs of this action as inputs for the main target build. |
4354 # Seems as a misnomer but makes this happy on Linux (scons). | 4533 # Seems as a misnomer but makes this happy on Linux (scons). |
4355 'process_outputs_as_sources': 1, | 4534 'process_outputs_as_sources': 1, |
4356 }, | 4535 }, |
4357 ], # 'actions' | 4536 ], # 'actions' |
4358 }, | 4537 }, |
4359 ] | 4538 ] |
4360 }], # 'coverage!=0' | 4539 }], # 'coverage!=0' |
4361 ], # 'conditions' | 4540 ], # 'conditions' |
4362 } | 4541 } |
OLD | NEW |