| 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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 } | 652 } |
| 653 | 653 |
| 654 if (is_linux && !is_chromeos && !is_chromecast) { | 654 if (is_linux && !is_chromeos && !is_chromecast) { |
| 655 # TODO(GYP): Figure out if any of these should be in gn_all | 655 # TODO(GYP): Figure out if any of these should be in gn_all |
| 656 # and figure out how cross-platform they are | 656 # and figure out how cross-platform they are |
| 657 deps += [ | 657 deps += [ |
| 658 ":gn_mojo_targets", | 658 ":gn_mojo_targets", |
| 659 "//chrome/browser/resources:extension_resource_demo", | 659 "//chrome/browser/resources:extension_resource_demo", |
| 660 "//chrome/installer/util:strings", | 660 "//chrome/installer/util:strings", |
| 661 "//chrome/tools/convert_dict", | 661 "//chrome/tools/convert_dict", |
| 662 "//components/clipboard:clipboard_service_unittests", |
| 662 "//components/constrained_window:unit_tests", | 663 "//components/constrained_window:unit_tests", |
| 663 "//components/filesystem:filesystem_service_unittests", | 664 "//components/filesystem:filesystem_service_unittests", |
| 664 "//components/leveldb:leveldb_service_unittests", | 665 "//components/leveldb:leveldb_service_unittests", |
| 665 "//components/metrics:serialization", | 666 "//components/metrics:serialization", |
| 666 "//components/password_manager/content/renderer:browser_tests", | 667 "//components/password_manager/content/renderer:browser_tests", |
| 667 "//components/rappor:unit_tests", | 668 "//components/rappor:unit_tests", |
| 668 "//components/sessions:unit_tests", | 669 "//components/sessions:unit_tests", |
| 669 "//media/blink:media_blink_unittests", | 670 "//media/blink:media_blink_unittests", |
| 670 "//media/cast:udp_proxy", | 671 "//media/cast:udp_proxy", |
| 671 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", | 672 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 assert(target_name != "") # Mark as used. | 947 assert(target_name != "") # Mark as used. |
| 947 sources = invoker.actual_sources | 948 sources = invoker.actual_sources |
| 948 assert( | 949 assert( |
| 949 sources == invoker.actual_sources, | 950 sources == invoker.actual_sources, |
| 950 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 951 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 951 } | 952 } |
| 952 | 953 |
| 953 assert_valid_out_dir("_unused") { | 954 assert_valid_out_dir("_unused") { |
| 954 actual_sources = [ "$root_build_dir/foo" ] | 955 actual_sources = [ "$root_build_dir/foo" ] |
| 955 } | 956 } |
| OLD | NEW |