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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 deps -= [ | 549 deps -= [ |
550 # Mojo in GN contains some things which are never compiled in GYP on Mac, | 550 # Mojo in GN contains some things which are never compiled in GYP on Mac, |
551 # so compilation fails on Mac. They need porting. | 551 # so compilation fails on Mac. They need porting. |
552 "//mojo", | 552 "//mojo", |
553 ] | 553 ] |
554 } | 554 } |
555 | 555 |
556 if (is_win) { | 556 if (is_win) { |
557 deps += [ | 557 deps += [ |
558 "//base:pe_image_test", | 558 "//base:pe_image_test", |
| 559 "//chrome/installer/mini_installer:next_version_mini_installer", |
559 "//chrome/installer/setup:setup_unittests", | 560 "//chrome/installer/setup:setup_unittests", |
560 "//chrome_elf:chrome_elf_unittests", | 561 "//chrome_elf:chrome_elf_unittests", |
561 "//chrome_elf:dll_hash_main", | 562 "//chrome_elf:dll_hash_main", |
562 "//components/wifi:wifi_test", | 563 "//components/wifi:wifi_test", |
563 "//net:quic_client", | 564 "//net:quic_client", |
564 "//net:quic_server", | 565 "//net:quic_server", |
565 "//sandbox/win:pocdll", | 566 "//sandbox/win:pocdll", |
566 "//sandbox/win:sandbox_poc", | 567 "//sandbox/win:sandbox_poc", |
567 "//sandbox/win:sbox_integration_tests", | 568 "//sandbox/win:sbox_integration_tests", |
568 "//sandbox/win:sbox_unittests", | 569 "//sandbox/win:sbox_unittests", |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 assert(target_name != "") # Mark as used. | 911 assert(target_name != "") # Mark as used. |
911 sources = invoker.actual_sources | 912 sources = invoker.actual_sources |
912 assert( | 913 assert( |
913 sources == invoker.actual_sources, | 914 sources == invoker.actual_sources, |
914 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 915 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
915 } | 916 } |
916 | 917 |
917 assert_valid_out_dir("_unused") { | 918 assert_valid_out_dir("_unused") { |
918 actual_sources = [ "$root_build_dir/foo" ] | 919 actual_sources = [ "$root_build_dir/foo" ] |
919 } | 920 } |
OLD | NEW |