| 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 if (use_ozone && is_chromeos) { | 760 if (use_ozone && is_chromeos) { |
| 761 deps += [ "//services/ui/display:display_service_unittests" ] | 761 deps += [ "//services/ui/display:display_service_unittests" ] |
| 762 } | 762 } |
| 763 } | 763 } |
| 764 | 764 |
| 765 if (is_linux && !is_chromeos && !is_chromecast) { | 765 if (is_linux && !is_chromeos && !is_chromecast) { |
| 766 # TODO(GYP): Figure out if any of these should be in gn_all | 766 # TODO(GYP): Figure out if any of these should be in gn_all |
| 767 # and figure out how cross-platform they are | 767 # and figure out how cross-platform they are |
| 768 deps += [ | 768 deps += [ |
| 769 ":gn_mojo_targets", | 769 ":gn_mojo_targets", |
| 770 "//chrome/browser/resources:extension_resource_demo", | |
| 771 "//chrome/installer/util:strings", | 770 "//chrome/installer/util:strings", |
| 772 "//chrome/tools/convert_dict", | 771 "//chrome/tools/convert_dict", |
| 773 "//components/constrained_window:unit_tests", | 772 "//components/constrained_window:unit_tests", |
| 774 "//components/filesystem:filesystem_service_unittests", | 773 "//components/filesystem:filesystem_service_unittests", |
| 775 "//components/leveldb:leveldb_service_unittests", | 774 "//components/leveldb:leveldb_service_unittests", |
| 776 "//components/metrics:serialization", | 775 "//components/metrics:serialization", |
| 777 "//components/password_manager/content/renderer:browser_tests", | 776 "//components/password_manager/content/renderer:browser_tests", |
| 778 "//components/rappor:unit_tests", | 777 "//components/rappor:unit_tests", |
| 779 "//components/sessions:unit_tests", | 778 "//components/sessions:unit_tests", |
| 780 "//media/blink:media_blink_unittests", | 779 "//media/blink:media_blink_unittests", |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 assert(target_name != "") # Mark as used. | 1091 assert(target_name != "") # Mark as used. |
| 1093 sources = invoker.actual_sources | 1092 sources = invoker.actual_sources |
| 1094 assert( | 1093 assert( |
| 1095 sources == invoker.actual_sources, | 1094 sources == invoker.actual_sources, |
| 1096 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1095 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1097 } | 1096 } |
| 1098 | 1097 |
| 1099 assert_valid_out_dir("_unused") { | 1098 assert_valid_out_dir("_unused") { |
| 1100 actual_sources = [ "$root_build_dir/foo" ] | 1099 actual_sources = [ "$root_build_dir/foo" ] |
| 1101 } | 1100 } |
| OLD | NEW |