Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 8883005: Input latency performance test that uses tracing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win link error fix Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/all.gyp ('k') | chrome/test/data/perf/latency_suite.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3027 matching lines...) Expand 10 before | Expand all | Expand 10 after
3038 # RendererWebKitPlatformSupportImpl, which subclasses stuff in 3038 # RendererWebKitPlatformSupportImpl, which subclasses stuff in
3039 # glue, which refers to symbols defined in these files. 3039 # glue, which refers to symbols defined in these files.
3040 # Hopefully this can be resolved with http://crbug.com/98755. 3040 # Hopefully this can be resolved with http://crbug.com/98755.
3041 'sources': [ 3041 'sources': [
3042 '../content/common/socket_stream_dispatcher.cc', 3042 '../content/common/socket_stream_dispatcher.cc',
3043 ]}, 3043 ]},
3044 ], 3044 ],
3045 ], # conditions 3045 ], # conditions
3046 }, # target browser_tests 3046 }, # target browser_tests
3047 { 3047 {
3048 # Executable that runs each perf browser test in a new process.
3049 'target_name': 'performance_browser_tests',
3050 'type': 'executable',
3051 'msvs_cygwin_shell': 0,
3052 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
3053 'dependencies': [
3054 'browser',
3055 'browser/sync/protocol/sync_proto.gyp:sync_proto',
3056 'chrome',
3057 'chrome_resources.gyp:chrome_resources',
3058 'chrome_resources.gyp:chrome_strings',
3059 'renderer',
3060 'test_support_common',
3061 '../base/base.gyp:base',
3062 '../base/base.gyp:base_i18n',
3063 '../base/base.gyp:test_support_base',
3064 '../net/net.gyp:net',
3065 '../net/net.gyp:net_test_support',
3066 '../skia/skia.gyp:skia',
3067 '../testing/gmock.gyp:gmock',
3068 '../testing/gtest.gyp:gtest',
3069 '../third_party/cld/cld.gyp:cld',
3070 '../third_party/icu/icu.gyp:icui18n',
3071 '../third_party/icu/icu.gyp:icuuc',
3072 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
3073 '../v8/tools/gyp/v8.gyp:v8',
3074 '../webkit/webkit.gyp:test_shell_test_support',
3075 # Runtime dependencies
3076 '../third_party/mesa/mesa.gyp:osmesa',
3077 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:copy_TestNetsca pePlugIn',
3078 ],
3079 'include_dirs': [
3080 '..',
3081 ],
3082 'defines': [
3083 'HAS_OUT_OF_PROC_TEST_RUNNER',
3084 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test .h"',
3085 ],
3086 'sources': [
3087 'app/breakpad_mac_stubs.mm',
3088 'app/chrome_command_ids.h',
3089 'app/chrome_dll.rc',
3090 'app/chrome_dll_resource.h',
3091 'app/chrome_version.rc.version',
3092 'test/base/chrome_render_view_test.cc',
3093 'test/base/chrome_render_view_test.h',
3094 'test/base/chrome_test_launcher.cc',
3095 'test/perf/browser_perf_test.cc',
3096 'test/perf/browser_perf_test.h',
3097 'test/perf/rendering/latency_tests.cc',
3098 '../content/test/test_launcher.cc',
3099 '../content/test/test_launcher.h',
3100 ],
3101 'rules': [
3102 {
3103 'rule_name': 'js2webui',
3104 'extension': 'js',
3105 'msvs_external_rule': 1,
3106 'inputs': [
3107 '<(gypv8sh)',
3108 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)',
3109 '<(mock_js)',
3110 '<(test_api_js)',
3111 '<(js2gtest)',
3112 ],
3113 'outputs': [
3114 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT) -gen.cc',
3115 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ ROOT).js',
3116 ],
3117 'process_outputs_as_sources': 1,
3118 'action': [
3119 'python',
3120 '<@(_inputs)',
3121 'webui',
3122 '<(RULE_INPUT_PATH)',
3123 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
3124 '<@(_outputs)',
3125 ],
3126 },
3127 ],
3128 'conditions': [
3129 ['OS!="linux" or toolkit_views==1', {
3130 'sources!': [
3131 'browser/extensions/browser_action_test_util_gtk.cc',
3132 ],
3133 }],
3134 ['OS=="win"', {
3135 'sources': [
3136 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
3137 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
3138 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc',
3139 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc',
3140 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc',
3141 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
3142 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
3143 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
3144 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_st andard.rc',
3145 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
3146 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc',
3147 ],
3148 'include_dirs': [
3149 '<(DEPTH)/third_party/wtl/include',
3150 ],
3151 'dependencies': [
3152 'chrome_version_resources',
3153 'installer_util_strings',
3154 '../sandbox/sandbox.gyp:sandbox',
3155 ],
3156 'conditions': [
3157 ['win_use_allocator_shim==1', {
3158 'dependencies': [
3159 '<(allocator_target)',
3160 ],
3161 }],
3162 ],
3163 'configurations': {
3164 'Debug_Base': {
3165 'msvs_settings': {
3166 'VCLinkerTool': {
3167 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
3168 },
3169 },
3170 },
3171 }
3172 }, { # else: OS != "win"
3173 'sources!': [
3174 'app/chrome_command_ids.h',
3175 'app/chrome_dll.rc',
3176 'app/chrome_dll_resource.h',
3177 'app/chrome_version.rc.version',
3178 ],
3179 }],
3180 ['toolkit_uses_gtk == 1', {
3181 'dependencies': [
3182 '../build/linux/system.gyp:gtk',
3183 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3184 ],
3185 }],
3186 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)' , {
3187 'dependencies': [
3188 '../build/linux/system.gyp:ssl',
3189 ],
3190 }],
3191 ['OS=="mac"', {
3192 'include_dirs': [
3193 '../third_party/GTM',
3194 ],
3195 # TODO(mark): We really want this for all non-static library
3196 # targets, but when we tried to pull it up to the common.gypi
3197 # level, it broke other things like the ui, startup, and
3198 # page_cycler tests. *shrug*
3199 'xcode_settings': {
3200 'OTHER_LDFLAGS': [
3201 '-Wl,-ObjC',
3202 ],
3203 },
3204 # See the comment in this section of the unit_tests target for an
3205 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3206 'dependencies+++': [
3207 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
3208 ],
3209 }, { # else: OS != "mac"
3210 'sources!': [
3211 'browser/extensions/browser_action_test_util_mac.mm',
3212 ],
3213 }],
3214 ['os_posix == 1 and OS != "mac"', {
3215 'conditions': [
3216 ['linux_use_tcmalloc==1', {
3217 'dependencies': [
3218 '../base/allocator/allocator.gyp:allocator',
3219 ],
3220 }],
3221 ],
3222 }],
3223 ], # conditions
3224 }, # target performance_browser_tests
3225 {
3048 # Executable that runs safebrowsing test in a new process. 3226 # Executable that runs safebrowsing test in a new process.
3049 'target_name': 'safe_browsing_tests', 3227 'target_name': 'safe_browsing_tests',
3050 'type': 'executable', 3228 'type': 'executable',
3051 'dependencies': [ 3229 'dependencies': [
3052 'chrome', 3230 'chrome',
3053 'test_support_common', 3231 'test_support_common',
3054 '../base/base.gyp:base', 3232 '../base/base.gyp:base',
3055 '../net/net.gyp:net_test_support', 3233 '../net/net.gyp:net_test_support',
3056 '../skia/skia.gyp:skia', 3234 '../skia/skia.gyp:skia',
3057 '../testing/gtest.gyp:gtest', 3235 '../testing/gtest.gyp:gtest',
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
4347 # Use outputs of this action as inputs for the main target build. 4525 # Use outputs of this action as inputs for the main target build.
4348 # Seems as a misnomer but makes this happy on Linux (scons). 4526 # Seems as a misnomer but makes this happy on Linux (scons).
4349 'process_outputs_as_sources': 1, 4527 'process_outputs_as_sources': 1,
4350 }, 4528 },
4351 ], # 'actions' 4529 ], # 'actions'
4352 }, 4530 },
4353 ] 4531 ]
4354 }], # 'coverage!=0' 4532 }], # 'coverage!=0'
4355 ], # 'conditions' 4533 ], # 'conditions'
4356 } 4534 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/test/data/perf/latency_suite.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698