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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 } | 875 } |
876 | 876 |
877 group("gn_mojo_targets") { | 877 group("gn_mojo_targets") { |
878 testonly = true | 878 testonly = true |
879 if (is_linux && !is_chromeos) { | 879 if (is_linux && !is_chromeos) { |
880 # TODO(GYP): Figure out if any of these should be in gn_all | 880 # TODO(GYP): Figure out if any of these should be in gn_all |
881 # and figure out how cross-platform they are | 881 # and figure out how cross-platform they are |
882 deps = [ | 882 deps = [ |
883 "//ipc:ipc_tests", | 883 "//ipc:ipc_tests", |
884 "//mojo:tests", | 884 "//mojo:tests", |
| 885 "//services:service_unittests", |
885 ] | 886 ] |
886 } | 887 } |
887 } | 888 } |
888 | 889 |
889 group("gn_visibility") { | 890 group("gn_visibility") { |
890 deps = [ | 891 deps = [ |
891 "//build/config/sanitizers:options_sources", | 892 "//build/config/sanitizers:options_sources", |
892 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? | 893 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
893 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | 894 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
894 ] | 895 ] |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 assert(target_name != "") # Mark as used. | 1077 assert(target_name != "") # Mark as used. |
1077 sources = invoker.actual_sources | 1078 sources = invoker.actual_sources |
1078 assert( | 1079 assert( |
1079 sources == invoker.actual_sources, | 1080 sources == invoker.actual_sources, |
1080 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1081 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1081 } | 1082 } |
1082 | 1083 |
1083 assert_valid_out_dir("_unused") { | 1084 assert_valid_out_dir("_unused") { |
1084 actual_sources = [ "$root_build_dir/foo" ] | 1085 actual_sources = [ "$root_build_dir/foo" ] |
1085 } | 1086 } |
OLD | NEW |