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

Side by Side Diff: BUILD.gn

Issue 975123003: Add remaining trivial targets for the Linux GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix other debug/component woes Created 5 years, 9 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
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 if (toolkit_views) { 115 if (toolkit_views) {
116 deps += [ "//ui/views:views_unittests" ] 116 deps += [ "//ui/views:views_unittests" ]
117 } 117 }
118 118
119 if (use_aura) { 119 if (use_aura) {
120 deps += [ "//ui/wm:wm_unittests" ] 120 deps += [ "//ui/wm:wm_unittests" ]
121 } 121 }
122 122
123 if (use_ozone) { 123 if (use_ozone) {
124 deps += [ 124 deps += [ "//ui/ozone" ]
125 "//ui/ozone",
126 "//ui/ozone/demo", # GN only
127 ]
128 } 125 }
129 126
130 if (is_win || is_mac || is_chromeos) { 127 if (is_win || is_mac || is_chromeos) {
131 # RLZ works on these platforms. 128 # RLZ works on these platforms.
132 # TODO(GYP): Is this target needed, or pulled in automatically? 129 # TODO(GYP): Is this target needed, or pulled in automatically?
133 deps += [ "//rlz:rlz_lib" ] 130 deps += [ "//rlz:rlz_lib" ]
134 } 131 }
135 132
136 if (is_android) { 133 if (is_android) {
137 deps += [ 134 deps += [
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 "//third_party/pdfium/samples:pdfium_test", 187 "//third_party/pdfium/samples:pdfium_test",
191 "//tools/gn", 188 "//tools/gn",
192 "//tools/gn:gn_unittests", 189 "//tools/gn:gn_unittests",
193 "//ui/app_list:app_list_unittests", 190 "//ui/app_list:app_list_unittests",
194 "//url:url_unittests", 191 "//url:url_unittests",
195 ] 192 ]
196 193
197 if (has_chrome_android_internal) { 194 if (has_chrome_android_internal) {
198 deps += [ "//clank" ] # TODO(GYP) ?? 195 deps += [ "//clank" ] # TODO(GYP) ??
199 } 196 }
200 } else if (is_linux) { 197 }
198
199 if (is_linux) {
200 # The following are definitely linux-only.
201 deps += [ 201 deps += [
202 "//breakpad:breakpad_unittests",
203 "//breakpad:dump_syms",
204 "//breakpad:generate_test_dump",
205 "//breakpad:minidump-2-core",
206 "//dbus:dbus_test_server",
202 "//dbus:dbus_unittests", 207 "//dbus:dbus_unittests",
208 "//net:disk_cache_memory_test",
209 "//net:flip_in_mem_edsm_server",
210 "//net:flip_in_mem_edsm_server_unittests",
211 "//net:quic_client",
212 "//net:quic_server",
213 "//sandbox/linux:chrome_sandbox",
203 "//sandbox/linux:sandbox_linux_unittests", 214 "//sandbox/linux:sandbox_linux_unittests",
215 "//sandbox/linux:sandbox_linux_jni_unittests",
204 ] 216 ]
205 } else if (is_mac) { 217 }
218
219 if (is_linux && !is_chromeos) {
206 deps += [ 220 deps += [
221 # TODO(GYP): Figure out which of these should (and can) build
222 # under which other conditions.
223 "//base:base_perftests",
224 "//base:base_i18n_perftests",
225 "//base:check_example",
226 "//base:protect_file_posix",
227 "//base:build_utf8_validator_tables",
228 "//breakpad:core-2-minidump",
229 "//breakpad:microdump_stackwalk",
230 "//breakpad:minidump_dump",
231 "//breakpad:minidump_stackwalk",
232 "//build/sanitizers:copy_llvm_symbolizer",
233 "//cc/blink:cc_blink_unittests",
234 "//cc:cc_perftests",
235 "//chrome/test:chrome_app_unittests",
236 "//chrome/test:load_library_perf_tests",
237 "//chrome/test:sync_performance_tests",
238 "//chrome/test/chromedriver:chromedriver",
239 "//chrome/test/chromedriver:chromedriver_tests",
240 "//chrome/tools/profile_reset:jtl_compiler",
241 "//components:components_perftests",
242 "//components/network_hints/browser",
243 "//components/session_manager/core",
244 "//components/webui_generator",
245 "//content/public/app:browser",
246 "//content/public/app:child",
247 "//content/test:content_gl_tests",
248 "//content/test:content_gl_benchmark",
249 "//courgette:courgette",
250 "//courgette:courgette_fuzz",
251 "//courgette:courgette_minimal_tool",
252 "//courgette:courgette_unittests",
253 "//device:device_unittests",
254 "//gin:gin_shell",
255 "//gin:gin_v8_snapshot_fingerprint",
256 "//gin:gin_unittests",
257 "//google_apis:google_apis_unittests",
258 "//google_apis/gcm:mcs_probe",
259 "//gpu:angle_unittests",
260 "//gpu:gl_tests",
261
262 # TODO(GYP): Remove this when the gles2 tests work
263 "//gpu/command_buffer/client:gles2_implementation_no_check",
264
265 "//gpu:gpu_perftests",
266 "//ipc:ipc_perftests",
267 "//media:ffmpeg_regression_tests", # TODO(GYP) this should be conditional on media_use_ffmpeg
268 "//media:media_perftests",
269 "//media/cast:cast_benchmarks",
270 "//media/cast:generate_barcode_video",
271 "//media/cast:generate_timecode_audio",
272 "//media/cast:tap_proxy",
273 "//mojo/application",
274 "//net:crash_cache",
275 "//net:crl_set_dump",
276 "//net:dns_fuzz_stub",
277 "//net:gdig",
278 "//net:get_server_time",
279
280 #"//net:hpack_example_generator", # TODO(GYP) rockot in progress
281 #"//net:hpack_fuzz_mutator", # TODO(GYP) rockot in progress
282 #"//net:hpack_fuzz_wrapper", # TODO(GYP) rockot in progress
283 #"//net:net_perftests", # TODO(GYP) rockot in progress
284 "//net:net_watcher", # TODO(GYP): This should be conditional on use_v8_in _net
285 "//net:stress_cache",
286 "//net:tld_cleanup",
287 "//net:run_testserver",
288 "//net:dump_cache",
289
290 # "//ppapi:pepper_hash_for_uma", # TODO(GYP): Implement me.
291 "//ppapi:ppapi_perftests", # TODO(GYP): Are there other ppapi_* test targ ets?
292 "//skia:filter_fuzz_stub",
293 "//skia:image_operations_bench",
294 "//sync:run_sync_testserver",
295 "//sync:sync_endtoend_tests",
296 "//sync/tools:sync_client",
297 "//sync/tools:sync_listen_notifications",
298 "//testing/gmock:gmock_main",
299 "//third_party/codesighs:maptsvdifftool",
300 "//third_party/libphonenumber:libphonenumber_unittests",
301 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests",
302 "//tools/gn:generate_test_gn_data",
303 "//tools/perf/clear_system_cache",
304 "//ui/keyboard:keyboard_unittests",
305 "//ui/message_center:message_center_unittests",
306 "//ui/snapshot:snapshot_unittests",
307 "//ui/views/examples:views_examples_with_content_exe",
308
309 # "//v8:v8_snapshot", # TODO(GYP): visibility?
310 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
311
312 "//third_party/codesighs:nm2tsv",
313 "//third_party/leveldatabase:env_chromium_unittests",
314 "//third_party/libaddressinput:libaddressinput_unittests",
315 "//third_party/sqlite:sqlite_shell",
316 "//ui/compositor:compositor_unittests",
317 ]
318
319 if (enable_extensions) {
320 deps += [ "//extensions/shell:app_shell" ]
321 }
322
323 if (enable_nacl) {
324 deps += [ "//components/nacl:nacl_loader_unittests" ]
325 }
326
327 if (!is_debug && !is_component_build) {
328 deps += [ "//chrome/tools/service_discovery_sniffer" ]
329 }
330
331 if (toolkit_views) {
332 deps += [ "//ui/app_list:app_list_demo" ]
333 }
334
335 if (use_ash) {
336 deps += [
337 "//ash:ash_shell",
338 "//ash:ash_shell_unittests",
339 "//ash:ash_unittests",
340 ]
341 }
342
343 if (use_aura) {
344 deps += [
345 "//ui/aura:aura_unittests",
346 "//ui/aura:bench",
347 "//ui/aura:demo",
348 ]
349 }
350
351 if (use_x11) {
352 deps += [ "//media:player_x11" ]
353 }
354
355 if (target_cpu != "arm") {
356 deps += [ "//gpu:compositor_model_bench" ]
357 }
358 }
359
360 if (is_mac) {
361 deps += [
362 "//breakpad:crash_inspector",
363 "//breakpad:dump_syms",
364 "//breakpad:symupload",
207 "//third_party/apple_sample_code", 365 "//third_party/apple_sample_code",
208 "//third_party/molokocacao", 366 "//third_party/molokocacao",
209 ] 367 ]
210 368
211 # TODO(GYP): Remove these when the targets below work and these 369 # TODO(GYP): Remove these when the targets below work and these
212 # are pulled in automatically. 370 # are pulled in automatically.
213 deps += [ 371 deps += [
214 "//cc/blink", 372 "//cc/blink",
215 "//components/ui/zoom:ui_zoom", 373 "//components/ui/zoom:ui_zoom",
216 "//content", 374 "//content",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 } else if (is_win) { 416 } else if (is_win) {
259 deps += [ "//ui/metro_viewer" ] 417 deps += [ "//ui/metro_viewer" ]
260 deps -= [ 418 deps -= [
261 "//crypto:crypto_unittests", # TODO(GYP) 419 "//crypto:crypto_unittests", # TODO(GYP)
262 "//net:net_unittests", # TODO(GYP) 420 "//net:net_unittests", # TODO(GYP)
263 ] 421 ]
264 } 422 }
265 } 423 }
266 424
267 group("gn_only") { 425 group("gn_only") {
426 testonly = true
427
428 if (is_linux && !is_chromeos) {
429 # TODO(GYP): Figure out if any of these should be in gn_all
430 # and figure out how cross-platform they are
431 deps = [
432 ":gn_mojo_targets",
433 "//chrome/browser/resources:extension_resource_demo",
434 "//chrome/installer/util:strings",
435 "//chrome:main_dll",
436 "//chrome/test:load_library_perf_tests",
437 "//chrome/tools/convert_dict",
438 "//components/constrained_window:unit_tests",
439 "//components/enhanced_bookmarks:test_support",
440 "//components/password_manager/content/renderer:browser_tests",
441 "//components/metrics:serialization",
442 "//components/proximity_auth:proximity_auth_unittests",
443 "//components/rappor:unit_tests",
444 "//components/sessions:unit_tests",
445 "//media/blink:media_blink_unittests",
446 "//media/base:base_for_cast_ios",
447 "//media/cast:udp_proxy",
448 "//native_client/src/trusted/platform_qualify:vcpuid",
449 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
450 "//storage/browser:dump_file_system",
451 "//third_party/angle:libANGLE",
452 "//third_party/angle:libEGL",
453 "//third_party/angle:libGLESv2",
454 "//third_party/cld_2:cld_2_dynamic_data_tool",
455 "//third_party/leveldatabase:leveldb_arena_test",
456 "//third_party/leveldatabase:leveldb_bloom_test",
457 "//third_party/leveldatabase:leveldb_db_test",
458 "//third_party/leveldatabase:leveldb_crc32c_test",
459 "//third_party/leveldatabase:leveldb_cache_test",
460 "//third_party/leveldatabase:leveldb_env_test",
461 "//third_party/leveldatabase:leveldb_write_batch_test",
462 "//third_party/leveldatabase:leveldb_filter_block_test",
463 "//third_party/leveldatabase:leveldb_version_edit_test",
464 "//third_party/leveldatabase:leveldb_db_bench",
465 "//third_party/leveldatabase:leveldb_log_test",
466 "//third_party/leveldatabase:leveldb_corruption_test",
467 "//third_party/leveldatabase:leveldb_table_test",
468 "//third_party/leveldatabase:leveldb_skiplist_test",
469 "//third_party/leveldatabase:leveldb_filename_test",
470 "//third_party/leveldatabase:leveldb_dbformat_test",
471 "//third_party/pdfium/third_party:freetype",
472 "//third_party/libjingle:peerconnnection_server",
473 "//third_party/libjpeg_turbo:simd",
474 "//third_party/libjpeg_turbo:simd_asm",
475 "//third_party/libsrtp:replay_driver",
476 "//third_party/libsrtp:roc_driver",
477 "//third_party/libsrtp:rtpw",
478 "//third_party/libsrtp:rdbx_driver",
479 "//third_party/libsrtp:srtp_driver",
480 "//third_party/libsrtp:srtp_driver",
481 "//third_party/libsrtp:srtp_test_kernel_driver",
482 "//third_party/libsrtp:srtp_test_cipher_driver",
483 "//third_party/libsrtp:srtp_test_datatypes_driver",
484 "//third_party/libsrtp:srtp_test_aes_calc",
485 "//third_party/libsrtp:srtp_test_env",
486 "//third_party/libsrtp:srtp_test_rand_gen",
487 "//third_party/libsrtp:srtp_test_sha1_driver",
488 "//third_party/libsrtp:srtp_test_stat_driver",
489 "//third_party/opus:opus_compare",
490 "//third_party/opus:opus_demo",
491 "//third_party/opus:test_opus_decode",
492 "//third_party/opus:test_opus_encode",
493 "//third_party/opus:test_opus_api",
494 "//third_party/opus:test_opus_padding",
495 "//third_party/webrtc/system_wrappers:field_trial_default",
496 "//third_party/webrtc/system_wrappers:metrics_default",
497 "//ui/display/types",
498 "//ui/shell_dialogs:shell_dialogs_unittests",
499 "//ui/views/examples:views_examples_exe",
500 "//v8:d8",
501 ]
502 if (enable_nacl) {
503 deps += [ "//native_client/src/trusted/service_runtime:sel_ldr" ]
504 }
505 if (use_ozone) {
506 deps += [ "//ui/ozone/demo" ]
507 }
508 if (is_android) {
509 deps += [ "//build/android/gyp/test:hello_world" ]
510 }
511 }
512 }
513
514 group("gn_mojo_targets") {
515 testonly = true
516 if (is_linux && !is_chromeos) {
517 # TODO(GYP): Figure out if any of these should be in gn_all
518 # and figure out how cross-platform they are
519 deps = [
520 "//chrome/browser/ui/webui/omnibox:mojo_bindings_python",
521 "//chrome/browser/ui/webui/omnibox:mojo_bindings_dart",
522 "//content/public/common:mojo_bindings_dart",
523 "//content/public/common:mojo_bindings_python",
524 "//content/common:mojo_bindings_dart",
525 "//content/common:mojo_bindings_python",
526 "//content/test:web_ui_test_mojo_bindings_dart",
527 "//content/test:web_ui_test_mojo_bindings_python",
528 "//device/battery:mojo_bindings_python",
529 "//device/battery:mojo_bindings_dart",
530 "//device/vibration:mojo_bindings_dart",
531 "//device/vibration:mojo_bindings_python",
532 "//ipc/mojo:ipc_mojo_perftests",
533 "//ipc/mojo:client_channel_dart",
534 "//ipc/mojo:client_channel_python",
535 "//media/mojo/interfaces:interfaces_dart",
536 "//media/mojo/interfaces:interfaces_python",
537 "//media/mojo/services:cdm_service",
538 "//media/mojo:tests",
539 "//net/interfaces:interfaces_dart",
540 "//net/interfaces:interfaces_python",
541 "//third_party/mojo/src/mojo/edk/js/test:js_integration_tests",
542 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_dart",
543 "//third_party/mojo/src/mojo/edk/js/tests:js_to_cpp_bindings_python",
544 "//third_party/mojo/src/mojo/public/python:packaged_application",
545 "//third_party/mojo/src/mojo/public/python:packaged_bindings",
546 "//third_party/mojo/src/mojo/public/cpp/application:test_support_standalon e",
547 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_dart",
548 "//third_party/mojo_services/src/accessibility/public/interfaces:interface s_python",
549 "//third_party/mojo_services/src/window_manager/public/interfaces:interfac es_dart",
550 "//third_party/mojo_services/src/window_manager/public/interfaces:interfac es_python",
551 ]
552
553 if (!is_debug) {
554 deps += [
555 "//mojo/services/html_viewer:tests",
556 "//mojo/services/network:apptests",
557 ]
558 }
559 }
560 }
561
562 group("gn_visibility") {
268 deps = [ 563 deps = [
269 "//media/mojo", 564 # "//build/config/sanitizers:options_sources",
270 # "//mojo/services/html_viewer:tests", # TODO(GYP): Do we need this? 565 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility?
566 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility?
567 # "//ui/resources:repack_ui_test_mac_locale_pack",
568 # "//v8:v8_snapshot", # TODO(GYP): visibility?
569 # "//v8:postmortem-metadata", # TODO(GYP): visibility?
271 ] 570 ]
272 } 571 }
273 572
274 if (is_linux) { 573 if (is_linux) {
275 # This group corresponds to the list of tests run on the waterfall for 574 # This group corresponds to the list of tests run on the waterfall for
276 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's 575 # desktop Linux GYP builds from testing/buildbot/chromium.linux.json. It's
277 # here to help track GYP -> GN conversion progress. 576 # here to help track GYP -> GN conversion progress.
278 group("linux_default_tests") { 577 group("linux_default_tests") {
279 testonly = true 578 testonly = true
280 deps = [ 579 deps = [
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015 629 "//ui/touch_selection:ui_touch_selection_unittests", # PASSES 2/25/2015
331 "//ui/views:views_unittests", # PASSES (*) 2/25/2015 630 "//ui/views:views_unittests", # PASSES (*) 2/25/2015
332 "//ui/wm:wm_unittests", # PASSES 2/25/2015 631 "//ui/wm:wm_unittests", # PASSES 2/25/2015
333 "//url:url_unittests", # PASSES 2/25/2015 632 "//url:url_unittests", # PASSES 2/25/2015
334 633
335 # Note: 634 # Note:
336 # (*) Fails but failures match GYP build at time of testing. 635 # (*) Fails but failures match GYP build at time of testing.
337 ] 636 ]
338 } 637 }
339 } 638 }
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