Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: BUILD.gn

Issue 1900003002: Add a dummy //:chromium_builder_tests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 # TODO(GYP): This target exists for compatibility with GYP, specifically 71 # TODO(GYP): This target exists for compatibility with GYP, specifically
72 # for the iOS bots and the official builders. 72 # for the iOS bots and the official builders.
73 group("All") { 73 group("All") {
74 testonly = true 74 testonly = true
75 75
76 deps = [ 76 deps = [
77 ":gn_all", 77 ":gn_all",
78 ] 78 ]
79 } 79 }
80 80
81 # TODO(GYP): This target exists for compatibility with GYP for the builders.
82 # For now, this builds everything. We should decide if we want to build less.
83 group("chromium_builder_tests") {
84 testonly = true
85
86 deps = [
87 ":All",
88 ],
89 }
90
81 # The "both_gn_and_gyp" target should reflect every target that is built 91 # The "both_gn_and_gyp" target should reflect every target that is built
82 # in both the GN and GYP builds, and ideally it should match the 92 # in both the GN and GYP builds, and ideally it should match the
83 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line. 93 # "both_gn_and_gyp" target in build/gn_migration.gypi line-for-line.
84 # 94 #
85 # TODO(GYP): Add build steps that check and enforce this on the bots. 95 # TODO(GYP): Add build steps that check and enforce this on the bots.
86 group("both_gn_and_gyp") { 96 group("both_gn_and_gyp") {
87 testonly = true 97 testonly = true
88 deps = [ 98 deps = [
89 "//base:base_unittests", 99 "//base:base_unittests",
90 "//chrome/installer", 100 "//chrome/installer",
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 assert(target_name != "") # Mark as used. 911 assert(target_name != "") # Mark as used.
902 sources = invoker.actual_sources 912 sources = invoker.actual_sources
903 assert( 913 assert(
904 sources == invoker.actual_sources, 914 sources == invoker.actual_sources,
905 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 915 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
906 } 916 }
907 917
908 assert_valid_out_dir("_unused") { 918 assert_valid_out_dir("_unused") {
909 actual_sources = [ "$root_build_dir/foo" ] 919 actual_sources = [ "$root_build_dir/foo" ]
910 } 920 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698