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