OLD | NEW |
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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 "//rlz:rlz_lib", | 394 "//rlz:rlz_lib", |
395 "//rlz:rlz_unittests", | 395 "//rlz:rlz_unittests", |
396 ] | 396 ] |
397 } | 397 } |
398 | 398 |
399 if (is_linux) { | 399 if (is_linux) { |
400 # The following are definitely linux-only. | 400 # The following are definitely linux-only. |
401 deps += [ | 401 deps += [ |
402 "//chrome:manpage", | 402 "//chrome:manpage", |
403 "//chrome:xdg_mime", | 403 "//chrome:xdg_mime", |
404 "//dbus:dbus_test_server", | |
405 "//dbus:dbus_unittests", | |
406 "//net:disk_cache_memory_test", | 404 "//net:disk_cache_memory_test", |
407 "//net:flip_in_mem_edsm_server", | 405 "//net:flip_in_mem_edsm_server", |
408 "//net:flip_in_mem_edsm_server_unittests", | 406 "//net:flip_in_mem_edsm_server_unittests", |
409 "//net:quic_client", | 407 "//net:quic_client", |
410 "//net:quic_server", | 408 "//net:quic_server", |
411 "//sandbox/linux:chrome_sandbox", | 409 "//sandbox/linux:chrome_sandbox", |
412 "//sandbox/linux:sandbox_linux_unittests", | 410 "//sandbox/linux:sandbox_linux_unittests", |
413 ] | 411 ] |
414 | 412 |
| 413 if (use_dbus) { |
| 414 deps += [ |
| 415 "//dbus:dbus_test_server", |
| 416 "//dbus:dbus_unittests", |
| 417 ] |
| 418 } |
| 419 |
415 if (is_chromeos || use_ash) { | 420 if (is_chromeos || use_ash) { |
416 deps += [ "//components/session_manager/core" ] | 421 deps += [ "//components/session_manager/core" ] |
417 } | 422 } |
418 | 423 |
419 if (is_chrome_branded && is_official_build) { | 424 if (is_chrome_branded && is_official_build) { |
420 # TODO(dpranke): add the linux_dump_symbols flag? | 425 # TODO(dpranke): add the linux_dump_symbols flag? |
421 deps += [ "//chrome:linux_symbols" ] | 426 deps += [ "//chrome:linux_symbols" ] |
422 } | 427 } |
423 } | 428 } |
424 | 429 |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 assert(target_name != "") # Mark as used. | 954 assert(target_name != "") # Mark as used. |
950 sources = invoker.actual_sources | 955 sources = invoker.actual_sources |
951 assert( | 956 assert( |
952 sources == invoker.actual_sources, | 957 sources == invoker.actual_sources, |
953 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 958 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
954 } | 959 } |
955 | 960 |
956 assert_valid_out_dir("_unused") { | 961 assert_valid_out_dir("_unused") { |
957 actual_sources = [ "$root_build_dir/foo" ] | 962 actual_sources = [ "$root_build_dir/foo" ] |
958 } | 963 } |
OLD | NEW |