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

Side by Side Diff: BUILD.gn

Issue 2905153003: Guard some extensions build rules with enable_extensions. (Closed)
Patch Set: rebase Created 3 years, 6 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 | chrome/test/BUILD.gn » ('j') | 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) { 96 if (!is_ios && !is_android && !is_chromecast && !is_fuchsia) {
97 deps += [ 97 deps += [
98 "//chrome", 98 "//chrome",
99 "//chrome/test:browser_tests", 99 "//chrome/test:browser_tests",
100 "//chrome/test:interactive_ui_tests", 100 "//chrome/test:interactive_ui_tests",
101 "//chrome/test:sync_integration_tests", 101 "//chrome/test:sync_integration_tests",
102 "//chrome/test/chromedriver:chromedriver_unittests", 102 "//chrome/test/chromedriver:chromedriver_unittests",
103 "//components/sync/tools:sync_client", 103 "//components/sync/tools:sync_client",
104 "//components/sync/tools:sync_listen_notifications", 104 "//components/sync/tools:sync_listen_notifications",
105 "//extensions:extensions_browsertests",
106 "//extensions:extensions_unittests",
107 "//gpu/gles2_conform_support:gles2_conform_test", 105 "//gpu/gles2_conform_support:gles2_conform_test",
108 "//gpu/khronos_glcts_support:khronos_glcts_test", 106 "//gpu/khronos_glcts_support:khronos_glcts_test",
109 "//jingle:jingle_unittests", 107 "//jingle:jingle_unittests",
110 "//net:hpack_example_generator", 108 "//net:hpack_example_generator",
111 "//ppapi:ppapi_unittests", 109 "//ppapi:ppapi_unittests",
112 "//ppapi/examples/2d", 110 "//ppapi/examples/2d",
113 "//ppapi/examples/audio", 111 "//ppapi/examples/audio",
114 "//ppapi/examples/audio_input", 112 "//ppapi/examples/audio_input",
115 "//ppapi/examples/compositor", 113 "//ppapi/examples/compositor",
116 "//ppapi/examples/crxfs", 114 "//ppapi/examples/crxfs",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "//url/ipc:url_ipc_unittests", 198 "//url/ipc:url_ipc_unittests",
201 "//v8:gn_all", 199 "//v8:gn_all",
202 ] 200 ]
203 } else if (is_ios) { 201 } else if (is_ios) {
204 deps += [ "//ios:all" ] 202 deps += [ "//ios:all" ]
205 } 203 }
206 204
207 deps += root_extra_deps 205 deps += root_extra_deps
208 206
209 if (enable_extensions) { 207 if (enable_extensions) {
210 deps += [ "//extensions/shell:app_shell_unittests" ] 208 deps += [
209 "//extensions:extensions_browsertests",
210 "//extensions:extensions_unittests",
211 "//extensions/shell:app_shell_unittests",
212 ]
211 } 213 }
212 214
213 if (enable_remoting) { 215 if (enable_remoting) {
214 deps += [ "//remoting:remoting_all" ] 216 deps += [ "//remoting:remoting_all" ]
215 } 217 }
216 218
217 if (toolkit_views) { 219 if (toolkit_views) {
218 deps += [ 220 deps += [
219 "//ui/views:views_unittests", 221 "//ui/views:views_unittests",
220 "//ui/views/examples:views_examples_exe", 222 "//ui/views/examples:views_examples_exe",
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 assert(target_name != "") # Mark as used. 1057 assert(target_name != "") # Mark as used.
1056 sources = invoker.actual_sources 1058 sources = invoker.actual_sources
1057 assert( 1059 assert(
1058 sources == invoker.actual_sources, 1060 sources == invoker.actual_sources,
1059 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 1061 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
1060 } 1062 }
1061 1063
1062 assert_valid_out_dir("_unused") { 1064 assert_valid_out_dir("_unused") {
1063 actual_sources = [ "$root_build_dir/foo" ] 1065 actual_sources = [ "$root_build_dir/foo" ]
1064 } 1066 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698