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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
777 deps = [ | 777 deps = [ |
778 "//ipc/mojo:ipc_mojo_perftests", | 778 "//ipc/mojo:ipc_mojo_perftests", |
779 "//media/mojo:tests", | 779 "//media/mojo:tests", |
780 "//media/mojo/services", | 780 "//media/mojo/services", |
781 "//mojo:tests", | 781 "//mojo:tests", |
782 ] | 782 ] |
783 } | 783 } |
784 } | 784 } |
785 | 785 |
786 group("gn_visibility") { | 786 group("gn_visibility") { |
787 testonly = true | |
Michael Achenbach
2016/06/03 15:17:17
Not sure about marking this testonly. If I don't I
Dirk Pranke
2016/06/03 18:14:54
Marking this testonly is probably fine.
| |
788 | |
787 deps = [ | 789 deps = [ |
788 "//build/config/sanitizers:options_sources", | 790 "//build/config/sanitizers:options_sources", |
789 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? | 791 # "//third_party/pdfium:pdfium_embeddertests", # TODO(GYP): visibility? |
790 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? | 792 # "//third_party/pdfium:pdfium_unittests", # TODO(GYP): visibility? |
791 ] | 793 ] |
792 | 794 |
793 if (!is_ios) { | 795 if (!is_ios) { |
794 deps += [ | 796 deps += [ |
797 "//v8:gn_all", | |
Dirk Pranke
2016/06/03 18:14:54
This almost certainly shouldn't be part of "gn_vis
| |
795 "//v8:postmortem-metadata", | 798 "//v8:postmortem-metadata", |
796 "//v8:v8_snapshot", | 799 "//v8:v8_snapshot", |
797 ] | 800 ] |
798 } | 801 } |
799 } | 802 } |
800 | 803 |
801 if (!is_ios) { | 804 if (!is_ios) { |
802 # This group includes all of the targets needed to build and test Blink, | 805 # This group includes all of the targets needed to build and test Blink, |
803 # including running the layout tests (see below). | 806 # including running the layout tests (see below). |
804 group("blink_tests") { | 807 group("blink_tests") { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
940 assert(target_name != "") # Mark as used. | 943 assert(target_name != "") # Mark as used. |
941 sources = invoker.actual_sources | 944 sources = invoker.actual_sources |
942 assert( | 945 assert( |
943 sources == invoker.actual_sources, | 946 sources == invoker.actual_sources, |
944 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") | 947 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") |
945 } | 948 } |
946 | 949 |
947 assert_valid_out_dir("_unused") { | 950 assert_valid_out_dir("_unused") { |
948 actual_sources = [ "$root_build_dir/foo" ] | 951 actual_sources = [ "$root_build_dir/foo" ] |
949 } | 952 } |
OLD | NEW |