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

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

Issue 1469803006: NOT FOR REVIEW: Aura Android: Content Shell compiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_wthandroid
Patch Set: Temp Created 5 years 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 | « content/content_shell.gypi ('k') | content/shell/android/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/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/win/manifest.gni") 8 import("//build/config/win/manifest.gni")
9 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 if (is_android) { 270 if (is_android) {
271 deps += [ "//content/shell/android:content_shell_jni_headers" ] 271 deps += [ "//content/shell/android:content_shell_jni_headers" ]
272 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) 272 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP)
273 } 273 }
274 274
275 if (is_posix && !is_mac) { 275 if (is_posix && !is_mac) {
276 deps += [ "//components/crash/content/browser" ] 276 deps += [ "//components/crash/content/browser" ]
277 } 277 }
278 278
279 if (use_aura) { 279 if (is_android && use_aura) {
280 sources -= [
281 "browser/shell_android.cc",
282 "android/shell_manager.cc",
283 "android/shell_manager.h",
284 ]
280 deps += [ 285 deps += [
281 "//ui/aura", 286 "//ui/aura",
282 "//ui/aura:test_support", 287 "//ui/aura:test_support",
283 "//ui/events", 288 "//ui/events",
284 "//ui/strings", 289 "//ui/strings",
285 "//ui/wm", 290 "//ui/wm",
286 ] 291 ]
287 292
288 if (toolkit_views) { 293 if (toolkit_views) {
289 sources += [ "browser/shell_views.cc" ] 294 sources += [ "browser/shell_views.cc" ]
(...skipping 14 matching lines...) Expand all
304 } 309 }
305 310
306 # The test plugin relies on X11. 311 # The test plugin relies on X11.
307 if (is_linux && !use_x11) { 312 if (is_linux && !use_x11) {
308 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) 313 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP)
309 } 314 }
310 315
311 if (is_chromeos) { 316 if (is_chromeos) {
312 deps += [ 317 deps += [
313 "//chromeos", 318 "//chromeos",
319 ]
320 }
321
322 if (is_chromeos || (is_android && use_aura)) {
323 deps += [
314 "//ui/wm:test_support", 324 "//ui/wm:test_support",
315 ] 325 ]
316 } 326 }
317 327
318 if (is_linux && !is_chromecast) { 328 if (is_linux && !is_chromecast) {
319 deps += [ "//third_party/freetype2" ] 329 deps += [ "//third_party/freetype2" ]
320 } 330 }
321 331
322 if (!enable_plugins) { 332 if (!enable_plugins) {
323 sources -= [ 333 sources -= [
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 sources = [ 497 sources = [
488 "app/shell_content_main.cc", 498 "app/shell_content_main.cc",
489 "app/shell_content_main.h", 499 "app/shell_content_main.h",
490 ] 500 ]
491 501
492 deps = [ 502 deps = [
493 ":content_shell_lib", 503 ":content_shell_lib",
494 ] 504 ]
495 } 505 }
496 } 506 }
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698