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

Side by Side Diff: content/shell/BUILD.gn

Issue 419913003: Make content_shell link in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android spelling Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "renderer/test_runner/WebTask.h", 139 "renderer/test_runner/WebTask.h",
140 "renderer/test_runner/WebTestDelegate.h", 140 "renderer/test_runner/WebTestDelegate.h",
141 "renderer/test_runner/WebTestInterfaces.cpp", 141 "renderer/test_runner/WebTestInterfaces.cpp",
142 "renderer/test_runner/WebTestInterfaces.h", 142 "renderer/test_runner/WebTestInterfaces.h",
143 "renderer/test_runner/accessibility_controller.cc", 143 "renderer/test_runner/accessibility_controller.cc",
144 "renderer/test_runner/accessibility_controller.h", 144 "renderer/test_runner/accessibility_controller.h",
145 "renderer/test_runner/event_sender.cc", 145 "renderer/test_runner/event_sender.cc",
146 "renderer/test_runner/event_sender.h", 146 "renderer/test_runner/event_sender.h",
147 "renderer/test_runner/gamepad_controller.cc", 147 "renderer/test_runner/gamepad_controller.cc",
148 "renderer/test_runner/gamepad_controller.h", 148 "renderer/test_runner/gamepad_controller.h",
149 "renderer/test_runner/mock_color_chooser.cc",
150 "renderer/test_runner/mock_color_chooser.h",
149 "renderer/test_runner/mock_constraints.cc", 151 "renderer/test_runner/mock_constraints.cc",
150 "renderer/test_runner/mock_constraints.h", 152 "renderer/test_runner/mock_constraints.h",
151 "renderer/test_runner/mock_grammar_check.cc", 153 "renderer/test_runner/mock_grammar_check.cc",
152 "renderer/test_runner/mock_grammar_check.h", 154 "renderer/test_runner/mock_grammar_check.h",
153 "renderer/test_runner/mock_screen_orientation_client.cc", 155 "renderer/test_runner/mock_screen_orientation_client.cc",
154 "renderer/test_runner/mock_screen_orientation_client.h", 156 "renderer/test_runner/mock_screen_orientation_client.h",
155 "renderer/test_runner/mock_spell_check.cc", 157 "renderer/test_runner/mock_spell_check.cc",
156 "renderer/test_runner/mock_spell_check.h", 158 "renderer/test_runner/mock_spell_check.h",
157 "renderer/test_runner/mock_web_audio_device.cc", 159 "renderer/test_runner/mock_web_audio_device.cc",
158 "renderer/test_runner/mock_web_audio_device.h", 160 "renderer/test_runner/mock_web_audio_device.h",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 196
195 deps = [ 197 deps = [
196 ":resources", 198 ":resources",
197 "//base", 199 "//base",
198 "//base:base_static", 200 "//base:base_static",
199 "//base/allocator", 201 "//base/allocator",
200 "//base/third_party/dynamic_annotations", 202 "//base/third_party/dynamic_annotations",
201 "//cc", 203 "//cc",
202 "//components/breakpad/app", 204 "//components/breakpad/app",
203 "//content:resources", 205 "//content:resources",
206 "//content/app:both",
204 "//content/gpu", 207 "//content/gpu",
205 "//content/ppapi_plugin", 208 "//content/ppapi_plugin",
206 "//content/public/browser", 209 "//content/public/browser",
207 "//content/public/common", 210 "//content/public/common",
208 "//content/public/plugin", 211 "//content/public/plugin",
209 "//content/public/renderer", 212 "//content/public/renderer",
210 "//content/public/utility", 213 "//content/public/utility",
211 "//content/test:layouttest_support", 214 "//content/test:layouttest_support",
212 "//gin", 215 "//gin",
213 "//gpu", 216 "//gpu",
214 "//ipc", 217 "//ipc",
215 "//media", 218 "//media",
216 "//net", 219 "//net",
217 "//net:net_resources", 220 "//net:net_resources",
218 "//skia", 221 "//skia",
219 "//third_party/icu", 222 "//third_party/icu",
220 "//third_party/WebKit/public:blink", 223 "//third_party/WebKit/public:blink",
224 "//third_party/WebKit/public:test_support",
221 "//ui/base", 225 "//ui/base",
222 "//ui/events:events_base", 226 "//ui/events:events_base",
223 "//ui/gfx", 227 "//ui/gfx",
224 "//ui/gfx/geometry", 228 "//ui/gfx/geometry",
225 "//ui/gfx/ipc", 229 "//ui/gfx/ipc",
226 "//ui/gl", 230 "//ui/gl",
227 "//url", 231 "//url",
228 "//v8", 232 "//v8",
229 "//webkit:resources", 233 "//webkit:resources",
230 "//webkit/browser:storage", 234 "//webkit/browser:storage",
231 #'content.gyp:content_app_both', TODO(GYP)
232 #'copy_test_netscape_plugin', TODO(GYP) 235 #'copy_test_netscape_plugin', TODO(GYP)
233 #'../third_party/WebKit/public/blink.gyp:blink_test_support', TODO(GYP)
234 ] 236 ]
235 237
236 if (is_win) { 238 if (is_win) {
237 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) 239 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP)
238 240
239 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 241 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
240 cflags = [ "/wd4267" ] 242 cflags = [ "/wd4267" ]
241 } 243 }
242 244
243 if (is_linux) { 245 if (is_linux) {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 411
410 if (is_android) { 412 if (is_android) {
411 output = "$root_out_dir/content_shell/assets/content_shell.pak" 413 output = "$root_out_dir/content_shell/assets/content_shell.pak"
412 } else { 414 } else {
413 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ] 415 sources += [ "$root_gen_dir/webkit/devtools_resources.pak" ]
414 deps += [ "//content/browser/devtools:resources" ] 416 deps += [ "//content/browser/devtools:resources" ]
415 output = "$root_out_dir/content_shell.pak" 417 output = "$root_out_dir/content_shell.pak"
416 } 418 }
417 } 419 }
418 420
419 if (false) { # TODO(GYP) enable once this links.
420
421 executable("content_shell") { 421 executable("content_shell") {
422 # TODO(GYP) mac resource bundle stuff for this target. 422 # TODO(GYP) mac resource bundle stuff for this target.
423 # TODO(GYP) Windows content shell settings: 423 # TODO(GYP) Windows content shell settings:
424 # - Manifest. 424 # - Manifest.
425 # - RC file. 425 # - RC file.
426 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 426 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
427 sources = [ 427 sources = [
428 "../app/startup_helper_win.cc", 428 "../app/startup_helper_win.cc",
429 "app/shell_main.cc", 429 "app/shell_main.cc",
430 ] 430 ]
(...skipping 18 matching lines...) Expand all
449 } 449 }
450 450
451 if (!is_android || !is_android_webview_build) { 451 if (!is_android || !is_android_webview_build) {
452 # Some tests rely on this tool. It might be nicer if these tests relied on 452 # Some tests rely on this tool. It might be nicer if these tests relied on
453 # image diff rather than having content shell depend on it. 453 # image diff rather than having content shell depend on it.
454 datadeps = [ 454 datadeps = [
455 "//tools/imagediff($host_toolchain)", 455 "//tools/imagediff($host_toolchain)",
456 ] 456 ]
457 } 457 }
458 } 458 }
459
460 } else {
461 # Content shell not ready, make a dummpy to make dependency management easier.
462 group("content_shell") {
463 }
464 }
OLDNEW
« no previous file with comments | « content/renderer/pepper/video_decoder_shim.cc ('k') | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698