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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 deps -= [ | 568 deps -= [ |
569 # Mojo in GN contains some things which are never compiled in GYP on Mac, | 569 # Mojo in GN contains some things which are never compiled in GYP on Mac, |
570 # so compilation fails on Mac. They need porting. | 570 # so compilation fails on Mac. They need porting. |
571 "//mojo", | 571 "//mojo", |
572 ] | 572 ] |
573 } | 573 } |
574 | 574 |
575 if (is_win) { | 575 if (is_win) { |
576 deps += [ | 576 deps += [ |
577 "//base:pe_image_test", | 577 "//base:pe_image_test", |
| 578 "//chrome/install_static:install_static_unittests", |
578 "//chrome/installer/setup:setup_unittests", | 579 "//chrome/installer/setup:setup_unittests", |
579 "//chrome_elf:chrome_elf_unittests", | 580 "//chrome_elf:chrome_elf_unittests", |
580 "//chrome_elf:dll_hash_main", | 581 "//chrome_elf:dll_hash_main", |
581 "//components/wifi:wifi_test", | 582 "//components/wifi:wifi_test", |
582 "//net:quic_client", | 583 "//net:quic_client", |
583 "//net:quic_server", | 584 "//net:quic_server", |
584 "//sandbox/win:pocdll", | 585 "//sandbox/win:pocdll", |
585 "//sandbox/win:sandbox_poc", | 586 "//sandbox/win:sandbox_poc", |
586 "//sandbox/win:sbox_integration_tests", | 587 "//sandbox/win:sbox_integration_tests", |
587 "//sandbox/win:sbox_unittests", | 588 "//sandbox/win:sbox_unittests", |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 assert(target_name != "") # Mark as used. | 950 assert(target_name != "") # Mark as used. |
950 sources = invoker.actual_sources | 951 sources = invoker.actual_sources |
951 assert( | 952 assert( |
952 sources == invoker.actual_sources, | 953 sources == invoker.actual_sources, |
953 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 954 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
954 } | 955 } |
955 | 956 |
956 assert_valid_out_dir("_unused") { | 957 assert_valid_out_dir("_unused") { |
957 actual_sources = [ "$root_build_dir/foo" ] | 958 actual_sources = [ "$root_build_dir/foo" ] |
958 } | 959 } |
OLD | NEW |