OLD | NEW |
---|---|
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 "renderer/test_runner/WebTestInterfaces.cpp", | 143 "renderer/test_runner/WebTestInterfaces.cpp", |
144 "renderer/test_runner/WebTestInterfaces.h", | 144 "renderer/test_runner/WebTestInterfaces.h", |
145 "renderer/test_runner/WebTestThemeEngineMac.h", | 145 "renderer/test_runner/WebTestThemeEngineMac.h", |
146 "renderer/test_runner/WebTestThemeEngineMac.mm", | 146 "renderer/test_runner/WebTestThemeEngineMac.mm", |
147 "renderer/test_runner/accessibility_controller.cc", | 147 "renderer/test_runner/accessibility_controller.cc", |
148 "renderer/test_runner/accessibility_controller.h", | 148 "renderer/test_runner/accessibility_controller.h", |
149 "renderer/test_runner/event_sender.cc", | 149 "renderer/test_runner/event_sender.cc", |
150 "renderer/test_runner/event_sender.h", | 150 "renderer/test_runner/event_sender.h", |
151 "renderer/test_runner/gamepad_controller.cc", | 151 "renderer/test_runner/gamepad_controller.cc", |
152 "renderer/test_runner/gamepad_controller.h", | 152 "renderer/test_runner/gamepad_controller.h", |
153 "renderer/test_runner/mock_color_chooser.cc", | |
154 "renderer/test_runner/mock_color_chooser.h", | |
153 "renderer/test_runner/mock_constraints.cc", | 155 "renderer/test_runner/mock_constraints.cc", |
154 "renderer/test_runner/mock_constraints.h", | 156 "renderer/test_runner/mock_constraints.h", |
155 "renderer/test_runner/mock_grammar_check.cc", | 157 "renderer/test_runner/mock_grammar_check.cc", |
156 "renderer/test_runner/mock_grammar_check.h", | 158 "renderer/test_runner/mock_grammar_check.h", |
157 "renderer/test_runner/mock_screen_orientation_client.cc", | 159 "renderer/test_runner/mock_screen_orientation_client.cc", |
158 "renderer/test_runner/mock_screen_orientation_client.h", | 160 "renderer/test_runner/mock_screen_orientation_client.h", |
159 "renderer/test_runner/mock_spell_check.cc", | 161 "renderer/test_runner/mock_spell_check.cc", |
160 "renderer/test_runner/mock_spell_check.h", | 162 "renderer/test_runner/mock_spell_check.h", |
161 "renderer/test_runner/mock_web_audio_device.cc", | 163 "renderer/test_runner/mock_web_audio_device.cc", |
162 "renderer/test_runner/mock_web_audio_device.h", | 164 "renderer/test_runner/mock_web_audio_device.h", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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. | 421 if (true) { # TODO(GYP) enable once this links. |
jamesr
2014/07/25 18:16:19
just delete the if {} ?
| |
420 | 422 |
421 executable("content_shell") { | 423 executable("content_shell") { |
422 # TODO(GYP) mac resource bundle stuff for this target. | 424 # TODO(GYP) mac resource bundle stuff for this target. |
423 # TODO(GYP) Windows content shell settings: | 425 # TODO(GYP) Windows content shell settings: |
424 # - Manifest. | 426 # - Manifest. |
425 # - RC file. | 427 # - RC file. |
426 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 428 # - 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
427 sources = [ | 429 sources = [ |
428 "../app/startup_helper_win.cc", | 430 "../app/startup_helper_win.cc", |
429 "app/shell_main.cc", | 431 "app/shell_main.cc", |
(...skipping 25 matching lines...) Expand all Loading... | |
455 "//tools/imagediff($host_toolchain)", | 457 "//tools/imagediff($host_toolchain)", |
456 ] | 458 ] |
457 } | 459 } |
458 } | 460 } |
459 | 461 |
460 } else { | 462 } else { |
461 # Content shell not ready, make a dummpy to make dependency management easier. | 463 # Content shell not ready, make a dummpy to make dependency management easier. |
462 group("content_shell") { | 464 group("content_shell") { |
463 } | 465 } |
464 } | 466 } |
OLD | NEW |