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

Side by Side Diff: BUILD.gn

Issue 1072653005: Update gn_all and gyp_remaining to reflect reality on the win config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_all
Patch Set: fix breakpad-related issues Created 5 years, 8 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
« no previous file with comments | « no previous file | base/BUILD.gn » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
11 import("//build/config/crypto.gni")
brettw 2015/04/13 21:31:45 Long-term, this structure is unfortunate since it
11 import("//build/config/features.gni") 12 import("//build/config/features.gni")
12 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
14 import("//build/module_args/v8.gni")
13 import("//remoting/remoting_host.gni") 15 import("//remoting/remoting_host.gni")
14 16
15 if (is_android) { 17 if (is_android) {
16 import("//build/config/android/config.gni") 18 import("//build/config/android/config.gni")
17 } 19 }
18 20
19 declare_args() { 21 declare_args() {
20 # A list of extra dependencies to add to the root target. This allows a 22 # A list of extra dependencies to add to the root target. This allows a
21 # checkout to add additional targets without explicitly changing any checked- 23 # checkout to add additional targets without explicitly changing any checked-
22 # in files. 24 # in files.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", 113 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests",
112 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", 114 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests",
113 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", 115 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests",
114 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", 116 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests",
115 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", 117 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
116 "//third_party/pdfium/samples:pdfium_test", 118 "//third_party/pdfium/samples:pdfium_test",
117 "//third_party/smhasher:pmurhash", 119 "//third_party/smhasher:pmurhash",
118 "//tools/imagediff($host_toolchain)", 120 "//tools/imagediff($host_toolchain)",
119 "//tools/gn", 121 "//tools/gn",
120 "//tools/gn:gn_unittests", 122 "//tools/gn:gn_unittests",
123 "//tools/gn:generate_test_gn_data",
121 "//tools/telemetry:bitmaptools($host_toolchain)", 124 "//tools/telemetry:bitmaptools($host_toolchain)",
122 "//ui/accessibility:accessibility_unittests", 125 "//ui/accessibility:accessibility_unittests",
123 "//ui/app_list:app_list_unittests", 126 "//ui/app_list:app_list_unittests",
124 "//ui/base:ui_base_unittests", 127 "//ui/base:ui_base_unittests",
125 "//ui/display:display_unittests", 128 "//ui/display:display_unittests",
126 "//ui/events:events_unittests", 129 "//ui/events:events_unittests",
127 "//ui/gfx:gfx_unittests", 130 "//ui/gfx:gfx_unittests",
128 "//ui/touch_selection:ui_touch_selection_unittests", 131 "//ui/touch_selection:ui_touch_selection_unittests",
129 "//url:url_unittests", 132 "//url:url_unittests",
130 ] 133 ]
131 134
132 deps += root_extra_deps 135 deps += root_extra_deps
133 136
134 # TODO(GYP): Get this working on the mac?
135 if (enable_extensions && !is_mac) { 137 if (enable_extensions && !is_mac) {
138 # TODO(GYP): Get this working on the mac?
136 deps += [ "//extensions/shell:app_shell_unittests" ] 139 deps += [ "//extensions/shell:app_shell_unittests" ]
137 } 140 }
138 141
142 if (enable_me2me_host) {
143 deps += [ "//remoting/host:remoting_me2me_host" ]
144 }
145
146 if (enable_media_router) {
147 deps += [
148 "//chrome/browser/media/router/",
149 "//chrome/browser/media/router:unit_tests",
150 ]
151 }
152
139 if (enable_remoting_host) { 153 if (enable_remoting_host) {
140 deps += [ 154 deps += [
141 "//remoting:remoting_unittests", 155 "//remoting:remoting_unittests",
142 "//remoting:remoting_perftests", 156 "//remoting:remoting_perftests",
143 "//remoting/host", 157 "//remoting/host",
144 "//remoting/host:remoting_start_host", 158 "//remoting/host:remoting_start_host",
145 "//remoting/host/it2me:remote_assistance_host", 159 "//remoting/host/it2me:remote_assistance_host",
146 ] 160 ]
147 } 161 }
148 162
149 if (enable_me2me_host) {
150 deps += [ "//remoting/host:remoting_me2me_host" ]
151 }
152
153 if (!is_win) {
154 deps += [ "//breakpad:symupload" ]
155 }
156
157 if (use_x11) {
158 deps += [ "//tools/xdisplaycheck" ]
159 }
160
161 if (toolkit_views) { 163 if (toolkit_views) {
162 deps += [ "//ui/views:views_unittests" ] 164 deps += [ "//ui/views:views_unittests" ]
163 } 165 }
164 166
165 if (use_aura) { 167 if (use_aura) {
166 deps += [ "//ui/wm:wm_unittests" ] 168 deps += [ "//ui/wm:wm_unittests" ]
167 } 169 }
168 170
169 if (use_ozone) { 171 if (use_ozone) {
170 deps += [ "//ui/ozone" ] 172 deps += [ "//ui/ozone" ]
171 } 173 }
172 174
173 if (enable_media_router) { 175 if (use_x11) {
174 deps += [ 176 deps += [ "//tools/xdisplaycheck" ]
175 "//chrome/browser/media/router/",
176 "//chrome/browser/media/router:unit_tests",
177 ]
178 } 177 }
179 178
180 if (is_win || is_mac || is_chromeos) { 179 if (v8_use_external_startup_data) {
181 # RLZ works on these platforms. 180 deps += [ "//gin:gin_v8_snapshot_fingerprint" ]
182 # TODO(GYP): Is this target needed, or pulled in automatically?
183 deps += [ "//rlz:rlz_lib" ]
184 } 181 }
185 182
186 if (is_android) { 183 if (is_android) {
187 deps += [ 184 deps += [
188 "//base/android/linker:chromium_android_linker", 185 "//base/android/linker:chromium_android_linker",
189 "//build/android/gyp/test:hello_world", 186 "//build/android/gyp/test:hello_world",
190 "//build/android/rezip", 187 "//build/android/rezip",
191 "//chrome/android:chrome_shell_apk", 188 "//chrome/android:chrome_shell_apk",
192 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_ apk", 189 "//chrome/test/chromedriver/test/webview_shell:chromedriver_webview_shell_ apk",
193 "//tools/imagediff($host_toolchain)", 190 "//tools/imagediff($host_toolchain)",
(...skipping 20 matching lines...) Expand all
214 "//third_party/openmax_dl/dl", 211 "//third_party/openmax_dl/dl",
215 "//third_party/speex", 212 "//third_party/speex",
216 "//ui/android:ui_java", 213 "//ui/android:ui_java",
217 214
218 # TODO(GYP): Are these needed? 215 # TODO(GYP): Are these needed?
219 "//chrome/test:test_support_unit", 216 "//chrome/test:test_support_unit",
220 "//third_party/smhasher:murmurhash3", 217 "//third_party/smhasher:murmurhash3",
221 "//ui/message_center:test_support", 218 "//ui/message_center:test_support",
222 ] 219 ]
223 deps -= [ 220 deps -= [
224 "//breakpad:symupload", # TODO(GYP) ??
225 "//chrome", # TODO(GYP) ?? 221 "//chrome", # TODO(GYP) ??
226 "//chrome/test:browser_tests", # TODO(GYP) ?? 222 "//chrome/test:browser_tests", # TODO(GYP) ??
227 "//chrome/test:interactive_ui_tests", # TODO(GYP) ?? 223 "//chrome/test:interactive_ui_tests", # TODO(GYP) ??
228 "//chrome/test:sync_integration_tests", # TODO(GYP) ?? 224 "//chrome/test:sync_integration_tests", # TODO(GYP) ??
229 "//chrome/test:unit_tests", # TODO(GYP) 225 "//chrome/test:unit_tests", # TODO(GYP)
230 226
231 # Chromedriver shouldn't be compiled on Android. 227 # Chromedriver shouldn't be compiled on Android.
232 "//chrome/test/chromedriver:chromedriver_unittests", 228 "//chrome/test/chromedriver:chromedriver_unittests",
233 "//extensions:extensions_browsertests", 229 "//extensions:extensions_browsertests",
234 "//extensions:extensions_unittests", 230 "//extensions:extensions_unittests",
(...skipping 28 matching lines...) Expand all
263 "//ppapi/examples/scripting", 259 "//ppapi/examples/scripting",
264 "//ppapi/examples/stub", 260 "//ppapi/examples/stub",
265 "//ppapi/examples/threading", 261 "//ppapi/examples/threading",
266 "//ppapi/examples/url_loader", 262 "//ppapi/examples/url_loader",
267 "//ppapi/examples/video_capture", 263 "//ppapi/examples/video_capture",
268 "//ppapi/examples/video_decode", 264 "//ppapi/examples/video_decode",
269 "//ppapi/examples/video_effects", 265 "//ppapi/examples/video_effects",
270 "//ppapi/examples/video_encode", 266 "//ppapi/examples/video_encode",
271 "//third_party/pdfium/samples:pdfium_test", 267 "//third_party/pdfium/samples:pdfium_test",
272 "//tools/gn", 268 "//tools/gn",
269 "//tools/gn:generate_test_gn_data",
273 "//tools/gn:gn_unittests", 270 "//tools/gn:gn_unittests",
274 "//ui/app_list:app_list_unittests", 271 "//ui/app_list:app_list_unittests",
275 "//url:url_unittests", 272 "//url:url_unittests",
276 ] 273 ]
277 274
278 if (has_chrome_android_internal) { 275 if (has_chrome_android_internal) {
279 deps += [ "//clank" ] # TODO(GYP) ?? 276 deps += [ "//clank" ] # TODO(GYP) ??
280 } 277 }
281 } 278 }
282 279
280 if (is_linux) { # TODO(GYP): || is_android || is_bsd?
281 deps += [
282 "//breakpad:core-2-minidump",
283 "//breakpad:minidump-2-core",
284 ]
285 }
286
287 if (is_chromeos || is_mac || is_win) {
288 deps += [
289 "//rlz:rlz_id",
290 "//rlz:rlz_lib",
291 "//rlz:rlz_unittests",
292 ]
293 }
294
283 if (is_linux) { 295 if (is_linux) {
284 # The following are definitely linux-only. 296 # The following are definitely linux-only.
285 deps += [ 297 deps += [
286 "//breakpad:breakpad_unittests", 298 "//breakpad:breakpad_unittests",
287 "//breakpad:generate_test_dump", 299 "//breakpad:generate_test_dump",
288 "//dbus:dbus_test_server", 300 "//dbus:dbus_test_server",
289 "//dbus:dbus_unittests", 301 "//dbus:dbus_unittests",
290 "//net:disk_cache_memory_test", 302 "//net:disk_cache_memory_test",
291 "//net:flip_in_mem_edsm_server", 303 "//net:flip_in_mem_edsm_server",
292 "//net:flip_in_mem_edsm_server_unittests", 304 "//net:flip_in_mem_edsm_server_unittests",
293 "//net:quic_client", 305 "//net:quic_client",
294 "//net:quic_server", 306 "//net:quic_server",
295 "//sandbox/linux:chrome_sandbox", 307 "//sandbox/linux:chrome_sandbox",
296 "//sandbox/linux:sandbox_linux_unittests", 308 "//sandbox/linux:sandbox_linux_unittests",
297 "//sandbox/linux:sandbox_linux_jni_unittests", 309 "//sandbox/linux:sandbox_linux_jni_unittests",
298 ] 310 ]
299 311
300 if (is_chromeos || use_ash) { 312 if (is_chromeos || use_ash) {
301 deps += [ "//components/session_manager/core" ] 313 deps += [ "//components/session_manager/core" ]
302 } 314 }
303 } 315 }
304 316
305 if (is_linux && !is_chromeos) { 317 if (is_win || (is_linux && !is_chromeos)) {
318 # TODO(GYP): Figure out which of these should (and can) build
319 # for android/chromeos/mac/ios.
306 deps += [ 320 deps += [
307 # TODO(GYP): Figure out which of these should (and can) build
308 # under which other conditions.
309 "//base:base_perftests", 321 "//base:base_perftests",
310 "//base:base_i18n_perftests", 322 "//base:base_i18n_perftests",
311 "//base:check_example", 323 "//base:check_example",
312 "//base:protect_file_posix", 324 "//base:protect_file_posix",
313 "//base:build_utf8_validator_tables", 325 "//base:build_utf8_validator_tables",
314 "//breakpad:core-2-minidump", 326 "//cc:cc_perftests",
315 "//breakpad:minidump-2-core",
316 "//build/sanitizers:copy_llvm_symbolizer",
317 "//cc/blink:cc_blink_unittests", 327 "//cc/blink:cc_blink_unittests",
318 "//cc:cc_perftests",
319 "//chrome/test:chrome_app_unittests",
320 "//chrome/test:load_library_perf_tests", 328 "//chrome/test:load_library_perf_tests",
321 "//chrome/test:performance_browser_tests", 329 "//chrome/test:performance_browser_tests",
322 "//chrome/test:sync_performance_tests", 330 "//chrome/test:sync_performance_tests",
323 "//chrome/test/chromedriver:chromedriver", 331 "//chrome/test/chromedriver:chromedriver",
324 "//chrome/test/chromedriver:chromedriver_tests", 332 "//chrome/test/chromedriver:chromedriver_tests",
325 "//chrome/tools/profile_reset:jtl_compiler", 333 "//chrome/tools/profile_reset:jtl_compiler",
326 "//cloud_print:cloud_print_unittests",
327 "//components:components_perftests", 334 "//components:components_perftests",
328 "//components/network_hints/browser",
329 "//components/webui_generator",
330 "//content/public/app:browser",
331 "//content/public/app:child",
332 "//content/test:content_gl_tests", 335 "//content/test:content_gl_tests",
333 "//content/test:content_gl_benchmark", 336 "//content/test:content_gl_benchmark",
334 "//courgette:courgette", 337 "//courgette:courgette",
335 "//courgette:courgette_fuzz", 338 "//courgette:courgette_fuzz",
336 "//courgette:courgette_minimal_tool", 339 "//courgette:courgette_minimal_tool",
337 "//courgette:courgette_unittests", 340 "//courgette:courgette_unittests",
338 "//device:device_unittests", 341 "//device:device_unittests",
339 "//gin:gin_shell", 342 "//gin:gin_shell",
340 "//gin:gin_v8_snapshot_fingerprint",
341 "//gin:gin_unittests", 343 "//gin:gin_unittests",
342 "//google_apis:google_apis_unittests", 344 "//google_apis:google_apis_unittests",
343 "//google_apis/gcm:mcs_probe", 345 "//google_apis/gcm:mcs_probe",
344 "//gpu:angle_unittests", 346 "//gpu:angle_unittests",
347 "//gpu:gpu_perftests",
345 "//gpu:gl_tests", 348 "//gpu:gl_tests",
349 "//ipc:ipc_perftests",
350 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
351 "//media:media_perftests",
352 "//media/cast:generate_barcode_video",
353 "//media/cast:generate_timecode_audio",
354 "//net:crash_cache",
355 "//net:crl_set_dump",
356 "//net:dns_fuzz_stub",
357 "//net:dump_cache",
358 "//net:gdig",
359 "//net:get_server_time",
360 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in _net
361 "//net:run_testserver",
362 "//net:stress_cache",
363 "//net:tld_cleanup",
364 "//ppapi:pepper_hash_for_uma",
365 "//ppapi:ppapi_perftests",
366 "//sync:run_sync_testserver",
367 "//sync:sync_endtoend_tests",
368 "//third_party/codesighs:maptsvdifftool",
369 "//third_party/leveldatabase:env_chromium_unittests",
370 "//third_party/libaddressinput:libaddressinput_unittests",
371 "//third_party/libphonenumber:libphonenumber_unittests",
372 "//ui/compositor:compositor_unittests",
373 ]
374
375 if (enable_extensions) {
376 deps += [ "//extensions/shell:app_shell" ]
377 }
378
379 if (enable_nacl) {
380 deps += [ "//components/nacl:nacl_loader_unittests" ]
381 }
382
383 if (enable_nacl && enable_remoting) {
384 deps += [ "//remoting:remoting_key_tester" ]
385 }
386
387 if (use_ash) {
388 deps += [
389 "//ash:ash_shell",
390 "//ash:ash_shell_unittests",
391 "//ash:ash_unittests",
392 ]
393 }
394
395 if (use_aura) {
396 deps += [
397 "//ui/aura:aura_unittests",
398 "//ui/aura:bench",
399 "//ui/aura:demo",
400 ]
401 }
402 }
403
404 if (is_linux && !is_chromeos) {
405 deps += [
406 # TODO(GYP): Figure out which of these should (and can) build
407 # under which other conditions.
408 "//build/sanitizers:copy_llvm_symbolizer",
409 "//chrome/test:chrome_app_unittests",
410 "//cloud_print:cloud_print_unittests",
411 "//components/network_hints/browser",
412 "//components/webui_generator",
413 "//content/public/app:browser",
414 "//content/public/app:child",
346 415
347 # TODO(GYP): Remove this when the gles2 tests work 416 # TODO(GYP): Remove this when the gles2 tests work
348 "//gpu/command_buffer/client:gles2_implementation_no_check", 417 "//gpu/command_buffer/client:gles2_implementation_no_check",
349 418
350 "//gpu:gpu_perftests",
351 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/4 71903 to make this complete. 419 "//gpu/khronos_glcts_support:khronos_glcts_test", # TODO(GYP) crbug.com/4 71903 to make this complete.
352 "//ipc:ipc_perftests",
353 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
354 "//media:media_perftests",
355 "//media/cast:cast_benchmarks", 420 "//media/cast:cast_benchmarks",
356 "//media/cast:generate_barcode_video",
357 "//media/cast:generate_timecode_audio",
358 "//media/cast:tap_proxy", 421 "//media/cast:tap_proxy",
359 "//mojo/application", 422 "//mojo/application",
360 "//net:crash_cache",
361 "//net:crl_set_dump",
362 "//net:dns_fuzz_stub",
363 "//net:gdig",
364 "//net:get_server_time",
365 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in _net
366 "//net:stress_cache",
367 "//net:tld_cleanup",
368 "//net:run_testserver",
369 "//net:dump_cache",
370 "//ppapi:pepper_hash_for_uma",
371 "//ppapi:ppapi_perftests", # TODO(GYP): Are there other ppapi_* test targ ets?
372 "//skia:filter_fuzz_stub", 423 "//skia:filter_fuzz_stub",
373 "//skia:image_operations_bench", 424 "//skia:image_operations_bench",
374 "//sync:run_sync_testserver",
375 "//sync:sync_endtoend_tests",
376 "//sync/tools:sync_client", 425 "//sync/tools:sync_client",
377 "//sync/tools:sync_listen_notifications", 426 "//sync/tools:sync_listen_notifications",
378 "//testing/gmock:gmock_main", 427 "//testing/gmock:gmock_main",
379 "//third_party/codesighs:maptsvdifftool",
380 "//third_party/libphonenumber:libphonenumber_unittests",
381 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests", 428 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
382 "//tools/gn:generate_test_gn_data",
383 "//tools/perf/clear_system_cache", 429 "//tools/perf/clear_system_cache",
384 "//ui/keyboard:keyboard_unittests", 430 "//ui/keyboard:keyboard_unittests",
385 "//ui/message_center:message_center_unittests", 431 "//ui/message_center:message_center_unittests",
386 "//ui/snapshot:snapshot_unittests", 432 "//ui/snapshot:snapshot_unittests",
387 "//ui/views/examples:views_examples_with_content_exe", 433 "//ui/views/examples:views_examples_with_content_exe",
388 434
389 # "//v8:v8_snapshot", # TODO(GYP): visibility? 435 # "//v8:v8_snapshot", # TODO(GYP): visibility?
390 # "//v8:postmortem-metadata", # TODO(GYP): visibility? 436 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
391 437
392 "//third_party/codesighs:nm2tsv", 438 "//third_party/codesighs:nm2tsv",
393 "//third_party/leveldatabase:env_chromium_unittests",
394 "//third_party/libaddressinput:libaddressinput_unittests",
395 "//third_party/sqlite:sqlite_shell", 439 "//third_party/sqlite:sqlite_shell",
396 "//ui/compositor:compositor_unittests",
397 ] 440 ]
398 441
399 if (current_toolchain == host_toolchain) { 442 if (current_toolchain == host_toolchain) {
400 # Do not build the breakpad utilities in cross-compiles. 443 # Do not build the breakpad utilities in cross-compiles.
401 deps += [ 444 deps += [
402 "//breakpad:dump_syms", 445 "//breakpad:dump_syms",
403 "//breakpad:microdump_stackwalk", 446 "//breakpad:microdump_stackwalk",
404 "//breakpad:minidump_dump", 447 "//breakpad:minidump_dump",
405 "//breakpad:minidump_stackwalk", 448 "//breakpad:minidump_stackwalk",
406 ] 449 ]
407 } 450 }
408 451
409 if (enable_extensions) {
410 deps += [ "//extensions/shell:app_shell" ]
411 }
412
413 if (enable_nacl) {
414 deps += [
415 "//components/nacl:nacl_loader_unittests",
416 "//remoting:remoting_key_tester",
417 ]
418 }
419
420 if (!is_debug && !is_component_build) { 452 if (!is_debug && !is_component_build) {
421 deps += [ "//chrome/tools/service_discovery_sniffer" ] 453 deps += [ "//chrome/tools/service_discovery_sniffer" ]
422 } 454 }
423 455
424 if (toolkit_views) { 456 if (toolkit_views) {
425 deps += [ "//ui/app_list:app_list_demo" ] 457 deps += [ "//ui/app_list:app_list_demo" ]
426 } 458 }
427 459
428 if (use_ash) {
429 deps += [
430 "//ash:ash_shell",
431 "//ash:ash_shell_unittests",
432 "//ash:ash_unittests",
433 ]
434 }
435
436 if (use_aura) {
437 deps += [
438 "//ui/aura:aura_unittests",
439 "//ui/aura:bench",
440 "//ui/aura:demo",
441 ]
442 }
443
444 if (use_x11) { 460 if (use_x11) {
445 deps += [ "//media:player_x11" ] 461 deps += [ "//media:player_x11" ]
446 if (target_cpu != "arm") { 462 if (target_cpu != "arm") {
447 deps += [ "//gpu/tools/compositor_model_bench" ] 463 deps += [ "//gpu/tools/compositor_model_bench" ]
448 } 464 }
449 } 465 }
450 } 466 }
451 467
452 if (is_mac) { 468 if (is_mac) {
453 deps += [ 469 deps += [
454 "//breakpad:crash_inspector", 470 "//breakpad:crash_inspector",
455 "//breakpad:dump_syms", 471 "//breakpad:dump_syms",
456 "//breakpad:symupload",
457 "//third_party/apple_sample_code", 472 "//third_party/apple_sample_code",
458 "//third_party/molokocacao", 473 "//third_party/molokocacao",
459 ] 474 ]
460 475
461 # TODO(GYP): Remove these when the targets below work and these 476 # TODO(GYP): Remove these when the targets below work and these
462 # are pulled in automatically. 477 # are pulled in automatically.
463 deps += [ 478 deps += [
464 "//cc/blink", 479 "//cc/blink",
465 "//components/ui/zoom:ui_zoom", 480 "//components/ui/zoom:ui_zoom",
466 "//content", 481 "//content",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 "//components:components_unittests", # TODO(GYP) 514 "//components:components_unittests", # TODO(GYP)
500 "//content/test:content_browsertests", # TODO(GYP) 515 "//content/test:content_browsertests", # TODO(GYP)
501 "//content/test:content_perftests", # TODO(GYP) 516 "//content/test:content_perftests", # TODO(GYP)
502 "//content/test:content_unittests", # TODO(GYP) 517 "//content/test:content_unittests", # TODO(GYP)
503 "//extensions:extensions_browsertests", # TODO(GYP) 518 "//extensions:extensions_browsertests", # TODO(GYP)
504 "//extensions:extensions_unittests", # TODO(GYP) 519 "//extensions:extensions_unittests", # TODO(GYP)
505 "//net:net_unittests", # TODO(GYP) 520 "//net:net_unittests", # TODO(GYP)
506 "//ui/app_list:app_list_unittests", # TODO(GYP) 521 "//ui/app_list:app_list_unittests", # TODO(GYP)
507 "//ui/gfx:gfx_unittests", # TODO(GYP) 522 "//ui/gfx:gfx_unittests", # TODO(GYP)
508 ] 523 ]
509 } else if (is_win) { 524 }
510 deps += [ "//ui/metro_viewer" ] 525
526 if (is_win) {
527 deps += [
528 "//base:pe_image_test",
529 "//chrome_elf:chrome_elf_unittests",
530 "//chrome_elf:dll_hash_main",
531
532 # "//components/crash/tools:crash_service", TODO(GYP) - doesn't fully buil d yet.
533 "//components/wifi:wifi_test",
534 "//net:quic_client",
535 "//net:quic_server",
536 "//sandbox/win:pocdll",
537 "//sandbox/win:sandbox_poc",
538 "//sandbox/win:sbox_integration_tests",
539 "//sandbox/win:sbox_unittests",
540 "//sandbox/win:sbox_validation_tests",
541 "//testing/gtest:gtest_main",
542 "//third_party/codesighs:msmap2tsv",
543 "//third_party/pdfium/samples:pdfium_diff",
544 "//ui/metro_viewer",
545 ]
511 deps -= [ 546 deps -= [
512 "//crypto:crypto_unittests", # TODO(GYP) 547 "//crypto:crypto_unittests", # TODO(GYP)
513 "//net:net_unittests", # TODO(GYP) 548 "//net:net_unittests", # TODO(GYP)
514 ] 549 ]
550 } else {
551 if (!is_android) {
552 # TODO(GYP): Make this work on android also.
553 deps += [ "//breakpad:symupload" ]
554 }
515 } 555 }
516 } 556 }
517 557
518 group("gn_only") { 558 group("gn_only") {
519 testonly = true 559 testonly = true
520 560
521 if (is_linux && !is_chromeos) { 561 if (is_linux && !is_chromeos) {
522 # TODO(GYP): Figure out if any of these should be in gn_all 562 # TODO(GYP): Figure out if any of these should be in gn_all
523 # and figure out how cross-platform they are 563 # and figure out how cross-platform they are
524 deps = [ 564 deps = [
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 769
730 # Note: 770 # Note:
731 # (*) Fails but failures match GYP build at time of testing. 771 # (*) Fails but failures match GYP build at time of testing.
732 ] 772 ]
733 773
734 if (enable_nacl) { 774 if (enable_nacl) {
735 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 775 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015
736 } 776 }
737 } 777 }
738 } 778 }
OLDNEW
« no previous file with comments | « no previous file | base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698