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

Side by Side Diff: components/view_manager/native_viewport/BUILD.gn

Issue 1180573004: android: Introduce a ui::PlatformWindow implementation for android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix-win-gn Created 5 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
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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("native_viewport") { 7 source_set("native_viewport") {
8 sources = [ 8 sources = [
9 "onscreen_context_provider.cc", 9 "onscreen_context_provider.cc",
10 "onscreen_context_provider.h", 10 "onscreen_context_provider.h",
11 "platform_viewport.h", 11 "platform_viewport.h",
12 "platform_viewport_android.cc", 12 "platform_viewport_common.cc",
13 "platform_viewport_android.h",
14 "platform_viewport_headless.cc", 13 "platform_viewport_headless.cc",
15 "platform_viewport_headless.h", 14 "platform_viewport_headless.h",
16 "platform_viewport_stub.cc", 15 "platform_viewport_stub.cc",
17 "platform_viewport_win.cc",
18 "platform_viewport_x11.cc",
19 ] 16 ]
20 17
21 if (!is_ios) { 18 if (!is_ios) {
22 sources -= [ "platform_viewport_stub.cc" ] 19 sources -= [ "platform_viewport_stub.cc" ]
23 } 20 }
24 21
25 deps = [ 22 deps = [
26 "//base", 23 "//base",
27 "//components/view_manager/gles2", 24 "//components/view_manager/gles2",
28 "//components/view_manager/public/interfaces", 25 "//components/view_manager/public/interfaces",
29 "//gpu/command_buffer/service", 26 "//gpu/command_buffer/service",
30 "//mojo/application/public/cpp", 27 "//mojo/application/public/cpp",
31 "//mojo/common:tracing_impl", 28 "//mojo/common:tracing_impl",
32 "//mojo/converters/geometry", 29 "//mojo/converters/geometry",
33 "//mojo/converters/input_events", 30 "//mojo/converters/input_events",
34 "//ui/events", 31 "//ui/events",
35 "//ui/events/platform", 32 "//ui/events/platform",
36 "//ui/gfx", 33 "//ui/gfx",
37 "//ui/gfx/geometry", 34 "//ui/gfx/geometry",
38 "//ui/gl", 35 "//ui/gl",
39 "//ui/mojo/geometry:interfaces", 36 "//ui/mojo/geometry:interfaces",
40 "//ui/platform_window", 37 "//ui/platform_window:platform_impls",
41 ] 38 ]
42
43 if (is_android) {
44 deps += [ "//components/view_manager:jni_headers" ]
45 }
46
47 if (use_x11) {
48 deps += [ "//ui/platform_window/x11" ]
49 } else {
50 sources -= [ "platform_viewport_x11.cc" ]
51 }
52
53 if (is_win) {
54 deps += [ "//ui/platform_window/win" ]
55 }
56 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698