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

Side by Side Diff: mojo/services/native_viewport/BUILD.gn

Issue 554163003: Revert of Create native_viewport_service, don't build it into mojo_shell unless Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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 | « mojo/services/html_viewer/html_viewer.cc ('k') | mojo/services/native_viewport/DEPS » ('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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/system.gni") 6 import("//mojo/system.gni")
7 7
8 if (!is_android) { 8 static_library("native_viewport") {
9 shared_library("native_viewport") { 9 output_name = "mojo_native_viewport"
10 output_name = "mojo_native_viewport_service"
11 10
12 deps = [
13 ":lib",
14 "//mojo/services/public/interfaces/native_viewport",
15 ]
16 deps += mojo_system_for_shared_library
17
18 sources = [ "main.cc" ]
19 }
20 }
21
22 source_set("lib") {
23 deps = [ 11 deps = [
24 "//base", 12 "//base",
25 "//cc/surfaces", 13 "//cc/surfaces",
26 "//mojo/application", 14 "//mojo/application",
27 "//mojo/common", 15 "//mojo/common",
28 "//mojo/environment:chromium", 16 "//mojo/environment:chromium",
29 "//mojo/services/gles2", 17 "//mojo/services/gles2",
30 "//mojo/services/public/cpp/geometry", 18 "//mojo/services/public/cpp/geometry",
31 "//mojo/services/public/cpp/input_events", 19 "//mojo/services/public/cpp/input_events",
32 "//mojo/services/public/cpp/surfaces", 20 "//mojo/services/public/cpp/surfaces",
(...skipping 21 matching lines...) Expand all
54 ] 42 ]
55 43
56 if (is_ios) { 44 if (is_ios) {
57 sources += [ "platform_viewport_stub.cc" ] 45 sources += [ "platform_viewport_stub.cc" ]
58 } 46 }
59 47
60 if (is_android) { 48 if (is_android) {
61 deps += [ "//mojo:jni_headers" ] 49 deps += [ "//mojo:jni_headers" ]
62 } 50 }
63 51
52 if (is_win) {
53 deps += [
54 # TODO(GYP)
55 # '../ui/platform_window/win/win_window.gyp:win_window',
56 ]
57 }
58
64 if (use_x11) { 59 if (use_x11) {
65 sources += [ "platform_viewport_x11.cc" ] 60 sources += [ "platform_viewport_x11.cc" ]
66 deps += [ 61 deps += [
67 "//ui/events/platform/x11", 62 "//ui/events/platform/x11",
68 "//ui/platform_window/x11", 63 "//ui/platform_window/x11",
69 ] 64 ]
70 } 65 }
71 66
72 if (use_ozone) { 67 if (use_ozone) {
73 sources += [ "platform_viewport_ozone.cc" ] 68 sources += [ "platform_viewport_ozone.cc" ]
74 } 69 }
75 } 70 }
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/html_viewer.cc ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698