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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
666 "//components/wifi:wifi_test", | 666 "//components/wifi:wifi_test", |
667 "//net:quic_client", | 667 "//net:quic_client", |
668 "//net:quic_server", | 668 "//net:quic_server", |
669 "//sandbox/win:pocdll", | 669 "//sandbox/win:pocdll", |
670 "//sandbox/win:sandbox_poc", | 670 "//sandbox/win:sandbox_poc", |
671 "//sandbox/win:sbox_integration_tests", | 671 "//sandbox/win:sbox_integration_tests", |
672 "//sandbox/win:sbox_unittests", | 672 "//sandbox/win:sbox_unittests", |
673 "//sandbox/win:sbox_validation_tests", | 673 "//sandbox/win:sbox_validation_tests", |
674 "//testing/gtest:gtest_main", | 674 "//testing/gtest:gtest_main", |
675 "//third_party/pdfium/samples:pdfium_diff", | 675 "//third_party/pdfium/samples:pdfium_diff", |
676 "//third_party/tcmalloc:addr2line-pdb", | |
erikchen
2017/03/01 22:42:51
gyp is deprecated, maybe move this to gn_only?
awong
2017/03/01 22:57:00
Done.
| |
676 "//tools/win/chromeexts:chromeexts", | 677 "//tools/win/chromeexts:chromeexts", |
677 ] | 678 ] |
678 deps -= [ | 679 deps -= [ |
679 "//crypto:crypto_unittests", # TODO(GYP) | 680 "//crypto:crypto_unittests", # TODO(GYP) |
680 "//net:net_unittests", # TODO(GYP) | 681 "//net:net_unittests", # TODO(GYP) |
681 ] | 682 ] |
682 | 683 |
683 if (!(is_component_build && is_debug && target_cpu == "x86")) { | 684 if (!(is_component_build && is_debug && target_cpu == "x86")) { |
684 deps += | 685 deps += |
685 [ "//chrome/installer/mini_installer:next_version_mini_installer" ] | 686 [ "//chrome/installer/mini_installer:next_version_mini_installer" ] |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1108 assert(target_name != "") # Mark as used. | 1109 assert(target_name != "") # Mark as used. |
1109 sources = invoker.actual_sources | 1110 sources = invoker.actual_sources |
1110 assert( | 1111 assert( |
1111 sources == invoker.actual_sources, | 1112 sources == invoker.actual_sources, |
1112 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 1113 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
1113 } | 1114 } |
1114 | 1115 |
1115 assert_valid_out_dir("_unused") { | 1116 assert_valid_out_dir("_unused") { |
1116 actual_sources = [ "$root_build_dir/foo" ] | 1117 actual_sources = [ "$root_build_dir/foo" ] |
1117 } | 1118 } |
OLD | NEW |