OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ], | 61 ], |
62 'export_dependent_settings': [ | 62 'export_dependent_settings': [ |
63 'test_support_common', | 63 'test_support_common', |
64 ], | 64 ], |
65 'include_dirs': [ | 65 'include_dirs': [ |
66 '..', | 66 '..', |
67 ], | 67 ], |
68 'sources': [ | 68 'sources': [ |
69 'test/automation/proxy_launcher.cc', | 69 'test/automation/proxy_launcher.cc', |
70 'test/automation/proxy_launcher.h', | 70 'test/automation/proxy_launcher.h', |
71 'test/reliability/automated_ui_test_base.cc', | |
72 'test/reliability/automated_ui_test_base.h', | |
73 'test/ui/javascript_test_util.cc', | 71 'test/ui/javascript_test_util.cc', |
74 'test/ui/run_all_unittests.cc', | 72 'test/ui/run_all_unittests.cc', |
75 'test/ui/ui_perf_test.cc', | 73 'test/ui/ui_perf_test.cc', |
76 'test/ui/ui_perf_test.h', | 74 'test/ui/ui_perf_test.h', |
77 'test/ui/ui_test.cc', | 75 'test/ui/ui_test.cc', |
78 'test/ui/ui_test.h', | 76 'test/ui/ui_test.h', |
79 'test/ui/ui_test_suite.cc', | 77 'test/ui/ui_test_suite.cc', |
80 'test/ui/ui_test_suite.h', | 78 'test/ui/ui_test_suite.h', |
81 ], | 79 ], |
82 'conditions': [ | 80 'conditions': [ |
(...skipping 10 matching lines...) Expand all Loading... |
93 ['toolkit_uses_gtk == 1', { | 91 ['toolkit_uses_gtk == 1', { |
94 'dependencies': [ | 92 'dependencies': [ |
95 '../build/linux/system.gyp:gtk', | 93 '../build/linux/system.gyp:gtk', |
96 ], | 94 ], |
97 }], | 95 }], |
98 ], | 96 ], |
99 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 97 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
100 'msvs_disabled_warnings': [ 4267, ], | 98 'msvs_disabled_warnings': [ 4267, ], |
101 }, | 99 }, |
102 { | 100 { |
103 'target_name': 'automated_ui_tests', | |
104 'type': 'executable', | |
105 'dependencies': [ | |
106 'browser', | |
107 'chrome_resources.gyp:theme_resources', | |
108 'renderer', | |
109 'test_support_common', | |
110 'test_support_ui', | |
111 'test_support_ui_runner', | |
112 '../base/base.gyp:base', | |
113 '../skia/skia.gyp:skia', | |
114 '../third_party/libxml/libxml.gyp:libxml', | |
115 '../testing/gtest.gyp:gtest', | |
116 ], | |
117 'include_dirs': [ | |
118 '..', | |
119 ], | |
120 'sources': [ | |
121 'test/reliability/automated_ui_tests.cc', | |
122 'test/reliability/automated_ui_tests.h', | |
123 ], | |
124 'conditions': [ | |
125 ['OS=="win" and buildtype=="Official"', { | |
126 'configurations': { | |
127 'Release': { | |
128 'msvs_settings': { | |
129 'VCCLCompilerTool': { | |
130 'WholeProgramOptimization': 'false', | |
131 }, | |
132 }, | |
133 }, | |
134 }, | |
135 },], | |
136 ['use_x11==1', { | |
137 'dependencies': [ | |
138 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
139 ], | |
140 }], | |
141 ['OS=="win"', { | |
142 'dependencies': [ | |
143 'automated_ui_tests_exe_pdb_workaround', | |
144 ], | |
145 'include_dirs': [ | |
146 '<(DEPTH)/third_party/wtl/include', | |
147 ], | |
148 'conditions': [ | |
149 ['win_use_allocator_shim==1', { | |
150 'dependencies': [ | |
151 '<(allocator_target)', | |
152 ], | |
153 }], | |
154 ], | |
155 }], | |
156 ['OS=="linux" and enable_webrtc==1', { | |
157 'dependencies': [ | |
158 # TODO(tommi): Figure out why the 32bit lucid builder fails to | |
159 # find this dependency for this target (other builders pick it up | |
160 # correctly). crbug.com/231068. | |
161 '../third_party/libjingle/libjingle.gyp:libpeerconnection', | |
162 ], | |
163 }], | |
164 ], | |
165 }, | |
166 { | |
167 'target_name': 'interactive_ui_tests', | 101 'target_name': 'interactive_ui_tests', |
168 'type': 'executable', | 102 'type': 'executable', |
169 'dependencies': [ | 103 'dependencies': [ |
170 'browser', | 104 'browser', |
171 'chrome_resources.gyp:chrome_resources', | 105 'chrome_resources.gyp:chrome_resources', |
172 'chrome_resources.gyp:chrome_strings', | 106 'chrome_resources.gyp:chrome_strings', |
173 'chrome_resources.gyp:packed_extra_resources', | 107 'chrome_resources.gyp:packed_extra_resources', |
174 'chrome_resources.gyp:packed_resources', | 108 'chrome_resources.gyp:packed_resources', |
175 'common/extensions/api/api.gyp:api', | 109 'common/extensions/api/api.gyp:api', |
176 'debugger', | 110 'debugger', |
(...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2094 ['linux_use_tcmalloc==1', { | 2028 ['linux_use_tcmalloc==1', { |
2095 'dependencies': [ | 2029 'dependencies': [ |
2096 '../base/allocator/allocator.gyp:allocator', | 2030 '../base/allocator/allocator.gyp:allocator', |
2097 ], | 2031 ], |
2098 }], | 2032 }], |
2099 ], | 2033 ], |
2100 }], | 2034 }], |
2101 ], # conditions | 2035 ], # conditions |
2102 }, # target performance_browser_tests | 2036 }, # target performance_browser_tests |
2103 { | 2037 { |
2104 # To run the tests from page_load_test.cc on Linux, we need to: | |
2105 # | |
2106 # a) Run with CHROME_HEADLESS=1 to generate crash dumps. | |
2107 # b) Strip the binary if it's a debug build. (binary may be over 2GB) | |
2108 'target_name': 'reliability_tests', | |
2109 'type': 'executable', | |
2110 'dependencies': [ | |
2111 'browser', | |
2112 'chrome', | |
2113 'chrome_resources.gyp:theme_resources', | |
2114 'test_support_common', | |
2115 'test_support_ui', | |
2116 'test_support_ui_runner', | |
2117 '../skia/skia.gyp:skia', | |
2118 '../testing/gtest.gyp:gtest', | |
2119 '../third_party/WebKit/public/blink.gyp:blink', | |
2120 ], | |
2121 'include_dirs': [ | |
2122 '..', | |
2123 ], | |
2124 'sources': [ | |
2125 'test/reliability/page_load_test.cc', | |
2126 ], | |
2127 'conditions': [ | |
2128 ['OS=="win" and buildtype=="Official"', { | |
2129 'configurations': { | |
2130 'Release': { | |
2131 'msvs_settings': { | |
2132 'VCCLCompilerTool': { | |
2133 'WholeProgramOptimization': 'false', | |
2134 }, | |
2135 }, | |
2136 }, | |
2137 }, | |
2138 },], | |
2139 ['OS=="win" and win_use_allocator_shim==1', { | |
2140 'dependencies': [ | |
2141 '<(allocator_target)', | |
2142 ], | |
2143 'configurations': { | |
2144 'Debug': { | |
2145 'msvs_settings': { | |
2146 'VCLinkerTool': { | |
2147 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
2148 }, | |
2149 }, | |
2150 }, | |
2151 }, | |
2152 },], | |
2153 ['toolkit_uses_gtk == 1', { | |
2154 'dependencies': [ | |
2155 '../build/linux/system.gyp:gtk', | |
2156 ], | |
2157 },], | |
2158 ['OS=="linux" and enable_webrtc==1', { | |
2159 'dependencies': [ | |
2160 # TODO(tommi): Figure out why the 32bit lucid builder fails to | |
2161 # find this dependency for this target (other builders pick it up | |
2162 # correctly). crbug.com/231068. | |
2163 '../third_party/libjingle/libjingle.gyp:libpeerconnection', | |
2164 ], | |
2165 }], | |
2166 ], | |
2167 }, | |
2168 { | |
2169 'target_name': 'performance_ui_tests', | 2038 'target_name': 'performance_ui_tests', |
2170 'type': 'executable', | 2039 'type': 'executable', |
2171 'dependencies': [ | 2040 'dependencies': [ |
2172 'chrome', | 2041 'chrome', |
2173 'chrome_resources.gyp:chrome_resources', | 2042 'chrome_resources.gyp:chrome_resources', |
2174 'chrome_resources.gyp:chrome_strings', | 2043 'chrome_resources.gyp:chrome_strings', |
2175 'debugger', | 2044 'debugger', |
2176 'test/perf/perf_test.gyp:*', | 2045 'test/perf/perf_test.gyp:*', |
2177 'test_support_common', | 2046 'test_support_common', |
2178 'test_support_ui', | 2047 'test_support_ui', |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2958 ### | 2827 ### |
2959 ### If you want to both build and run coverage from your IDE, | 2828 ### If you want to both build and run coverage from your IDE, |
2960 ### use the 'coverage' target. | 2829 ### use the 'coverage' target. |
2961 { | 2830 { |
2962 'target_name': 'coverage_build', | 2831 'target_name': 'coverage_build', |
2963 # do NOT place this in the 'all' list; most won't want it. | 2832 # do NOT place this in the 'all' list; most won't want it. |
2964 # In gyp, booleans are 0/1 not True/False. | 2833 # In gyp, booleans are 0/1 not True/False. |
2965 'suppress_wildcard': 1, | 2834 'suppress_wildcard': 1, |
2966 'type': 'none', | 2835 'type': 'none', |
2967 'dependencies': [ | 2836 'dependencies': [ |
2968 'automated_ui_tests', | |
2969 '../base/base.gyp:base_unittests', | 2837 '../base/base.gyp:base_unittests', |
2970 # browser_tests's use of subprocesses chokes gcov on 10.6? | 2838 # browser_tests's use of subprocesses chokes gcov on 10.6? |
2971 # Disabling for now (enabled on linux/windows below). | 2839 # Disabling for now (enabled on linux/windows below). |
2972 # 'browser_tests', | 2840 # 'browser_tests', |
2973 '../ipc/ipc.gyp:ipc_tests', | 2841 '../ipc/ipc.gyp:ipc_tests', |
2974 '../net/net.gyp:net_unittests', | 2842 '../net/net.gyp:net_unittests', |
2975 '../printing/printing.gyp:printing_unittests', | 2843 '../printing/printing.gyp:printing_unittests', |
2976 '../remoting/remoting.gyp:remoting_unittests', | 2844 '../remoting/remoting.gyp:remoting_unittests', |
2977 '../sql/sql.gyp:sql_unittests', | 2845 '../sql/sql.gyp:sql_unittests', |
2978 '../content/content.gyp:content_unittests', | 2846 '../content/content.gyp:content_unittests', |
(...skipping 24 matching lines...) Expand all Loading... |
3003 '../crypto/crypto.gyp:crypto_unittests', | 2871 '../crypto/crypto.gyp:crypto_unittests', |
3004 '../jingle/jingle.gyp:jingle_unittests', | 2872 '../jingle/jingle.gyp:jingle_unittests', |
3005 '../net/net.gyp:net_perftests', | 2873 '../net/net.gyp:net_perftests', |
3006 '../third_party/WebKit/public/all.gyp:all_blink', | 2874 '../third_party/WebKit/public/all.gyp:all_blink', |
3007 '../url/url.gyp:url_unittests', | 2875 '../url/url.gyp:url_unittests', |
3008 'browser_tests', | 2876 'browser_tests', |
3009 'chromedriver_unittests', | 2877 'chromedriver_unittests', |
3010 'gpu_tests', | 2878 'gpu_tests', |
3011 'performance_ui_tests', | 2879 'performance_ui_tests', |
3012 'pyautolib', | 2880 'pyautolib', |
3013 'reliability_tests', | |
3014 'sync_integration_tests', | 2881 'sync_integration_tests', |
3015 ]}], | 2882 ]}], |
3016 ['OS=="mac"', { | 2883 ['OS=="mac"', { |
3017 'dependencies': [ | 2884 'dependencies': [ |
3018 # Placeholder; empty for now. | 2885 # Placeholder; empty for now. |
3019 ]}], | 2886 ]}], |
3020 ], # 'conditions' | 2887 ], # 'conditions' |
3021 'actions': [ | 2888 'actions': [ |
3022 { | 2889 { |
3023 # 'message' for Linux/scons in particular. Scons | 2890 # 'message' for Linux/scons in particular. Scons |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3217 'sources': [ | 3084 'sources': [ |
3218 'sync_integration_tests.isolate', | 3085 'sync_integration_tests.isolate', |
3219 ], | 3086 ], |
3220 }, | 3087 }, |
3221 ], | 3088 ], |
3222 }], | 3089 }], |
3223 ['OS=="win"', { | 3090 ['OS=="win"', { |
3224 'targets' : [ | 3091 'targets' : [ |
3225 { | 3092 { |
3226 # This target is only depended upon in Windows. | 3093 # This target is only depended upon in Windows. |
3227 'target_name': 'automated_ui_tests_exe_pdb_workaround', | |
3228 'type': 'static_library', | |
3229 'sources': [ 'empty_pdb_workaround.cc' ], | |
3230 'msvs_settings': { | |
3231 'VCCLCompilerTool': { | |
3232 # This *in the compile phase* must match the pdb name that's | |
3233 # output by the final link. See empty_pdb_workaround.cc for | |
3234 # more details. | |
3235 'DebugInformationFormat': '3', | |
3236 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/automated_ui_tests.exe.
pdb', | |
3237 }, | |
3238 }, | |
3239 }, | |
3240 { | |
3241 # This target is only depended upon in Windows. | |
3242 'target_name': 'browser_tests_exe_pdb_workaround', | 3094 'target_name': 'browser_tests_exe_pdb_workaround', |
3243 'type': 'static_library', | 3095 'type': 'static_library', |
3244 'sources': [ 'empty_pdb_workaround.cc' ], | 3096 'sources': [ 'empty_pdb_workaround.cc' ], |
3245 'msvs_settings': { | 3097 'msvs_settings': { |
3246 'VCCLCompilerTool': { | 3098 'VCCLCompilerTool': { |
3247 # This *in the compile phase* must match the pdb name that's | 3099 # This *in the compile phase* must match the pdb name that's |
3248 # output by the final link. See empty_pdb_workaround.cc for | 3100 # output by the final link. See empty_pdb_workaround.cc for |
3249 # more details. | 3101 # more details. |
3250 'DebugInformationFormat': '3', | 3102 'DebugInformationFormat': '3', |
3251 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/browser_tests.exe.pdb', | 3103 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/browser_tests.exe.pdb', |
(...skipping 13 matching lines...) Expand all Loading... |
3265 'utility', | 3117 'utility', |
3266 ], | 3118 ], |
3267 'sources': [ | 3119 'sources': [ |
3268 'tools/service_discovery_sniffer/service_discovery_sniffer.h', | 3120 'tools/service_discovery_sniffer/service_discovery_sniffer.h', |
3269 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', | 3121 'tools/service_discovery_sniffer/service_discovery_sniffer.cc', |
3270 ], | 3122 ], |
3271 }] | 3123 }] |
3272 }], | 3124 }], |
3273 ], # 'conditions' | 3125 ], # 'conditions' |
3274 } | 3126 } |
OLD | NEW |