| 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/test/test_launcher.cc', | |
| 3105 '../content/test/test_launcher.h', | |
| 3106 ], | |
| 3107 'rules': [ | |
| 3108 { | |
| 3109 'rule_name': 'js2webui', | |
| 3110 'extension': 'js', | |
| 3111 'msvs_external_rule': 1, | |
| 3112 'inputs': [ | |
| 3113 '<(gypv8sh)', | |
| 3114 '<(PRODUCT_DIR)/v8_shell<(EXECUTABLE_SUFFIX)', | |
| 3115 '<(mock_js)', | |
| 3116 '<(test_api_js)', | |
| 3117 '<(js2gtest)', | |
| 3118 ], | |
| 3119 'outputs': [ | |
| 3120 '<(INTERMEDIATE_DIR)/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)
-gen.cc', | |
| 3121 '<(PRODUCT_DIR)/test_data/chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_
ROOT).js', | |
| 3122 ], | |
| 3123 'process_outputs_as_sources': 1, | |
| 3124 'action': [ | |
| 3125 'python', | |
| 3126 '<@(_inputs)', | |
| 3127 'webui', | |
| 3128 '<(RULE_INPUT_PATH)', | |
| 3129 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', | |
| 3130 '<@(_outputs)', | |
| 3131 ], | |
| 3132 }, | |
| 3133 ], | |
| 3134 'conditions': [ | |
| 3135 ['OS!="linux" or toolkit_views==1', { | |
| 3136 'sources!': [ | |
| 3137 'browser/extensions/browser_action_test_util_gtk.cc', | |
| 3138 ], | |
| 3139 }], | |
| 3140 ['OS=="win"', { | |
| 3141 'sources': [ | |
| 3142 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | |
| 3143 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | |
| 3144 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', | |
| 3145 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | |
| 3146 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', | |
| 3147 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', | |
| 3148 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', | |
| 3149 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | |
| 3150 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_st
andard.rc', | |
| 3151 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', | |
| 3152 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', | |
| 3153 ], | |
| 3154 'include_dirs': [ | |
| 3155 '<(DEPTH)/third_party/wtl/include', | |
| 3156 ], | |
| 3157 'dependencies': [ | |
| 3158 'chrome_version_resources', | |
| 3159 'installer_util_strings', | |
| 3160 '../sandbox/sandbox.gyp:sandbox', | |
| 3161 ], | |
| 3162 'conditions': [ | |
| 3163 ['win_use_allocator_shim==1', { | |
| 3164 'dependencies': [ | |
| 3165 '<(allocator_target)', | |
| 3166 ], | |
| 3167 }], | |
| 3168 ], | |
| 3169 'configurations': { | |
| 3170 'Debug_Base': { | |
| 3171 'msvs_settings': { | |
| 3172 'VCLinkerTool': { | |
| 3173 'LinkIncremental': '<(msvs_debug_link_nonincremental)', | |
| 3174 }, | |
| 3175 }, | |
| 3176 }, | |
| 3177 } | |
| 3178 }, { # else: OS != "win" | |
| 3179 'sources!': [ | |
| 3180 'app/chrome_command_ids.h', | |
| 3181 'app/chrome_dll.rc', | |
| 3182 'app/chrome_dll_resource.h', | |
| 3183 'app/chrome_version.rc.version', | |
| 3184 ], | |
| 3185 }], | |
| 3186 ['toolkit_uses_gtk == 1', { | |
| 3187 'dependencies': [ | |
| 3188 '../build/linux/system.gyp:gtk', | |
| 3189 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 3190 ], | |
| 3191 }], | |
| 3192 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | |
| 3193 'dependencies': [ | |
| 3194 '../build/linux/system.gyp:ssl', | |
| 3195 ], | |
| 3196 }], | |
| 3197 ['OS=="mac"', { | |
| 3198 'include_dirs': [ | |
| 3199 '../third_party/GTM', | |
| 3200 ], | |
| 3201 # TODO(mark): We really want this for all non-static library | |
| 3202 # targets, but when we tried to pull it up to the common.gypi | |
| 3203 # level, it broke other things like the ui, startup, and | |
| 3204 # page_cycler tests. *shrug* | |
| 3205 'xcode_settings': { | |
| 3206 'OTHER_LDFLAGS': [ | |
| 3207 '-Wl,-ObjC', | |
| 3208 ], | |
| 3209 }, | |
| 3210 # See the comment in this section of the unit_tests target for an | |
| 3211 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
| 3212 'dependencies+++': [ | |
| 3213 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
| 3214 ], | |
| 3215 }, { # else: OS != "mac" | |
| 3216 'sources!': [ | |
| 3217 'browser/extensions/browser_action_test_util_mac.mm', | |
| 3218 ], | |
| 3219 }], | |
| 3220 ['os_posix == 1 and OS != "mac"', { | |
| 3221 'conditions': [ | |
| 3222 ['linux_use_tcmalloc==1', { | |
| 3223 'dependencies': [ | |
| 3224 '../base/allocator/allocator.gyp:allocator', | |
| 3225 ], | |
| 3226 }], | |
| 3227 ], | |
| 3228 }], | |
| 3229 ], # conditions | |
| 3230 }, # target performance_browser_tests | |
| 3231 { | |
| 3232 # Executable that runs safebrowsing test in a new process. | 3054 # Executable that runs safebrowsing test in a new process. |
| 3233 'target_name': 'safe_browsing_tests', | 3055 'target_name': 'safe_browsing_tests', |
| 3234 'type': 'executable', | 3056 'type': 'executable', |
| 3235 'dependencies': [ | 3057 'dependencies': [ |
| 3236 'chrome', | 3058 'chrome', |
| 3237 'test_support_common', | 3059 'test_support_common', |
| 3238 '../base/base.gyp:base', | 3060 '../base/base.gyp:base', |
| 3239 '../net/net.gyp:net_test_support', | 3061 '../net/net.gyp:net_test_support', |
| 3240 '../skia/skia.gyp:skia', | 3062 '../skia/skia.gyp:skia', |
| 3241 '../testing/gtest.gyp:gtest', | 3063 '../testing/gtest.gyp:gtest', |
| (...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4531 # Use outputs of this action as inputs for the main target build. | 4353 # Use outputs of this action as inputs for the main target build. |
| 4532 # Seems as a misnomer but makes this happy on Linux (scons). | 4354 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4533 'process_outputs_as_sources': 1, | 4355 'process_outputs_as_sources': 1, |
| 4534 }, | 4356 }, |
| 4535 ], # 'actions' | 4357 ], # 'actions' |
| 4536 }, | 4358 }, |
| 4537 ] | 4359 ] |
| 4538 }], # 'coverage!=0' | 4360 }], # 'coverage!=0' |
| 4539 ], # 'conditions' | 4361 ], # 'conditions' |
| 4540 } | 4362 } |
| OLD | NEW |