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("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 | 9 |
10 source_set("browser") { | 10 source_set("browser") { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 sources -= rebase_path( | 97 sources -= rebase_path( |
98 [ | 98 [ |
99 "$root_gen_dir/blink/grit/devtools_resources.h", | 99 "$root_gen_dir/blink/grit/devtools_resources.h", |
100 "$root_gen_dir/blink/grit/devtools_resources_map.cc", | 100 "$root_gen_dir/blink/grit/devtools_resources_map.cc", |
101 "$root_gen_dir/blink/grit/devtools_resources_map.h", | 101 "$root_gen_dir/blink/grit/devtools_resources_map.h", |
102 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", | 102 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", |
103 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", | 103 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", |
104 ], | 104 ], |
105 ".") | 105 ".") |
106 | 106 |
| 107 defines += [ "MOJO_SHELL_CLIENT" ] |
| 108 |
107 # Non-iOS deps. | 109 # Non-iOS deps. |
108 deps += [ | 110 deps += [ |
109 "//cc", | 111 "//cc", |
110 "//cc/surfaces", | 112 "//cc/surfaces", |
111 "//components/scheduler:common", | 113 "//components/scheduler:common", |
112 "//content/app/resources", | 114 "//content/app/resources", |
113 "//content/app/strings", | 115 "//content/app/strings", |
114 "//content/browser/devtools:gen_devtools_protocol_handler", | 116 "//content/browser/devtools:gen_devtools_protocol_handler", |
115 "//content/browser/devtools:resources", | 117 "//content/browser/devtools:resources", |
116 "//content/common:mojo_bindings", | 118 "//content/common:mojo_bindings", |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 "//chromeos", | 412 "//chromeos", |
411 "//chromeos:power_manager_proto", | 413 "//chromeos:power_manager_proto", |
412 ] | 414 ] |
413 } | 415 } |
414 | 416 |
415 if (use_aura) { | 417 if (use_aura) { |
416 deps += [ | 418 deps += [ |
417 "//ui/aura", | 419 "//ui/aura", |
418 "//ui/aura_extra", | 420 "//ui/aura_extra", |
419 "//ui/strings", | 421 "//ui/strings", |
| 422 "//ui/views/mus:for_component", |
420 "//ui/wm", | 423 "//ui/wm", |
421 ] | 424 ] |
422 } else { # Not aura. | 425 } else { # Not aura. |
423 sources -= [ | 426 sources -= [ |
424 "media/capture/cursor_renderer_aura.cc", | 427 "media/capture/cursor_renderer_aura.cc", |
425 "media/capture/cursor_renderer_aura.h", | 428 "media/capture/cursor_renderer_aura.h", |
426 "renderer_host/compositor_resize_lock_aura.cc", | 429 "renderer_host/compositor_resize_lock_aura.cc", |
427 "renderer_host/compositor_resize_lock_aura.h", | 430 "renderer_host/compositor_resize_lock_aura.h", |
428 "renderer_host/input/synthetic_gesture_target_aura.cc", | 431 "renderer_host/input/synthetic_gesture_target_aura.cc", |
429 "renderer_host/input/synthetic_gesture_target_aura.h", | 432 "renderer_host/input/synthetic_gesture_target_aura.h", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 | 525 |
523 if (enable_webvr && is_android) { | 526 if (enable_webvr && is_android) { |
524 sources += [ | 527 sources += [ |
525 "vr/android/cardboard/cardboard_vr_device.cc", | 528 "vr/android/cardboard/cardboard_vr_device.cc", |
526 "vr/android/cardboard/cardboard_vr_device.h", | 529 "vr/android/cardboard/cardboard_vr_device.h", |
527 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 530 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
528 "vr/android/cardboard/cardboard_vr_device_provider.h", | 531 "vr/android/cardboard/cardboard_vr_device_provider.h", |
529 ] | 532 ] |
530 } | 533 } |
531 } | 534 } |
OLD | NEW |