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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 "//chrome/test:unit_tests", | 210 "//chrome/test:unit_tests", |
211 "//components:components_browsertests", | 211 "//components:components_browsertests", |
212 "//content/shell:content_shell", | 212 "//content/shell:content_shell", |
213 "//content/test:content_browsertests", | 213 "//content/test:content_browsertests", |
214 "//content/test:content_perftests", | 214 "//content/test:content_perftests", |
215 "//content/test:content_unittests", | 215 "//content/test:content_unittests", |
216 "//device:device_unittests", | 216 "//device:device_unittests", |
217 "//gpu:gpu_unittests", | 217 "//gpu:gpu_unittests", |
218 "//gpu/ipc/service:gpu_ipc_service_unittests", | 218 "//gpu/ipc/service:gpu_ipc_service_unittests", |
219 "//ipc:ipc_tests", | 219 "//ipc:ipc_tests", |
220 "//ipc/mojo:ipc_mojo_unittests", | |
221 "//media:media_unittests", | 220 "//media:media_unittests", |
222 "//media/cast:cast_unittests", | 221 "//media/cast:cast_unittests", |
223 "//media/midi:midi_unittests", | 222 "//media/midi:midi_unittests", |
224 "//mojo", | 223 "//mojo", |
225 "//mojo/common:mojo_common_unittests", | 224 "//mojo/common:mojo_common_unittests", |
226 "//mojo/edk/system:mojo_system_unittests", | 225 "//mojo/edk/system:mojo_system_unittests", |
227 "//mojo/edk/test:mojo_public_bindings_unittests", | 226 "//mojo/edk/test:mojo_public_bindings_unittests", |
228 "//mojo/edk/test:mojo_public_system_unittests", | 227 "//mojo/edk/test:mojo_public_system_unittests", |
229 "//net:net_perftests", | 228 "//net:net_perftests", |
230 "//services/shell/public/cpp", | 229 "//services/shell/public/cpp", |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 ] | 778 ] |
780 } | 779 } |
781 } | 780 } |
782 | 781 |
783 group("gn_mojo_targets") { | 782 group("gn_mojo_targets") { |
784 testonly = true | 783 testonly = true |
785 if (is_linux && !is_chromeos) { | 784 if (is_linux && !is_chromeos) { |
786 # TODO(GYP): Figure out if any of these should be in gn_all | 785 # TODO(GYP): Figure out if any of these should be in gn_all |
787 # and figure out how cross-platform they are | 786 # and figure out how cross-platform they are |
788 deps = [ | 787 deps = [ |
789 "//ipc/mojo:ipc_mojo_perftests", | 788 "//ipc:ipc_tests", |
790 "//media/mojo:tests", | 789 "//media/mojo:tests", |
791 "//media/mojo/services", | 790 "//media/mojo/services", |
792 "//mojo:tests", | 791 "//mojo:tests", |
793 ] | 792 ] |
794 } | 793 } |
795 } | 794 } |
796 | 795 |
797 group("gn_visibility") { | 796 group("gn_visibility") { |
798 deps = [ | 797 deps = [ |
799 "//build/config/sanitizers:options_sources", | 798 "//build/config/sanitizers:options_sources", |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 assert(target_name != "") # Mark as used. | 990 assert(target_name != "") # Mark as used. |
992 sources = invoker.actual_sources | 991 sources = invoker.actual_sources |
993 assert( | 992 assert( |
994 sources == invoker.actual_sources, | 993 sources == invoker.actual_sources, |
995 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 994 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
996 } | 995 } |
997 | 996 |
998 assert_valid_out_dir("_unused") { | 997 assert_valid_out_dir("_unused") { |
999 actual_sources = [ "$root_build_dir/foo" ] | 998 actual_sources = [ "$root_build_dir/foo" ] |
1000 } | 999 } |
OLD | NEW |