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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 "//chrome/test:unit_tests", | 253 "//chrome/test:unit_tests", |
254 "//components:components_browsertests", | 254 "//components:components_browsertests", |
255 "//content/shell:content_shell", | 255 "//content/shell:content_shell", |
256 "//content/test:content_browsertests", | 256 "//content/test:content_browsertests", |
257 "//content/test:content_perftests", | 257 "//content/test:content_perftests", |
258 "//content/test:content_unittests", | 258 "//content/test:content_unittests", |
259 "//device:device_unittests", | 259 "//device:device_unittests", |
260 "//gpu:gpu_unittests", | 260 "//gpu:gpu_unittests", |
261 "//gpu/ipc/service:gpu_ipc_service_unittests", | 261 "//gpu/ipc/service:gpu_ipc_service_unittests", |
262 "//ipc:ipc_tests", | 262 "//ipc:ipc_tests", |
263 "//ipc/mojo:ipc_mojo_unittests", | |
264 "//media:media_unittests", | 263 "//media:media_unittests", |
265 "//media/cast:cast_unittests", | 264 "//media/cast:cast_unittests", |
266 "//media/midi:midi_unittests", | 265 "//media/midi:midi_unittests", |
267 "//mojo", | 266 "//mojo", |
268 "//mojo/common:mojo_common_unittests", | 267 "//mojo/common:mojo_common_unittests", |
269 "//mojo/edk/system:mojo_system_unittests", | 268 "//mojo/edk/system:mojo_system_unittests", |
270 "//mojo/edk/test:mojo_public_bindings_unittests", | 269 "//mojo/edk/test:mojo_public_bindings_unittests", |
271 "//mojo/edk/test:mojo_public_system_unittests", | 270 "//mojo/edk/test:mojo_public_system_unittests", |
272 "//net:net_perftests", | 271 "//net:net_perftests", |
273 "//services/shell/public/cpp", | 272 "//services/shell/public/cpp", |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 ] | 825 ] |
827 } | 826 } |
828 } | 827 } |
829 | 828 |
830 group("gn_mojo_targets") { | 829 group("gn_mojo_targets") { |
831 testonly = true | 830 testonly = true |
832 if (is_linux && !is_chromeos) { | 831 if (is_linux && !is_chromeos) { |
833 # TODO(GYP): Figure out if any of these should be in gn_all | 832 # TODO(GYP): Figure out if any of these should be in gn_all |
834 # and figure out how cross-platform they are | 833 # and figure out how cross-platform they are |
835 deps = [ | 834 deps = [ |
836 "//ipc/mojo:ipc_mojo_perftests", | 835 "//ipc:ipc_tests", |
837 "//mojo:tests", | 836 "//mojo:tests", |
838 ] | 837 ] |
839 } | 838 } |
840 } | 839 } |
841 | 840 |
842 group("gn_visibility") { | 841 group("gn_visibility") { |
843 deps = [ | 842 deps = [ |
844 "//build/config/sanitizers:options_sources", | 843 "//build/config/sanitizers:options_sources", |
845 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? | 844 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
846 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | 845 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 assert(target_name != "") # Mark as used. | 1033 assert(target_name != "") # Mark as used. |
1035 sources = invoker.actual_sources | 1034 sources = invoker.actual_sources |
1036 assert( | 1035 assert( |
1037 sources == invoker.actual_sources, | 1036 sources == invoker.actual_sources, |
1038 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1037 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1039 } | 1038 } |
1040 | 1039 |
1041 assert_valid_out_dir("_unused") { | 1040 assert_valid_out_dir("_unused") { |
1042 actual_sources = [ "$root_build_dir/foo" ] | 1041 actual_sources = [ "$root_build_dir/foo" ] |
1043 } | 1042 } |
OLD | NEW |