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

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

Issue 584743003: 4th attempt to land change to remove NativeViewportService and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« 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 6
7 # GYP version: mojo/mojo_services.gypi:mojo_native_viewport_service_lib 7 if (!is_android) {
8 static_library("native_viewport") { 8 shared_library("native_viewport") {
9 output_name = "mojo_native_viewport" 9 output_name = "mojo_native_viewport_service"
10 10
11 deps = [
12 ":lib",
13 "//base",
14 "//mojo/application",
15 "//mojo/public/c/system:for_shared_library",
16 "//mojo/public/cpp/bindings:bindings",
17 "//mojo/services/public/interfaces/native_viewport",
18 "//ui/gl",
19 ]
20
21 sources = [ "main.cc" ]
22 }
23 }
24
25 source_set("lib") {
11 deps = [ 26 deps = [
12 "//base", 27 "//base",
13 "//cc/surfaces", 28 "//cc/surfaces",
14 "//gpu/command_buffer/service", 29 "//gpu/command_buffer/service",
15 "//mojo/application", 30 "//mojo/application",
16 "//mojo/common", 31 "//mojo/common",
17 "//mojo/environment:chromium", 32 "//mojo/environment:chromium",
18 "//mojo/services/gles2", 33 "//mojo/services/gles2",
19 "//mojo/services/gles2:interfaces", 34 "//mojo/services/gles2:interfaces",
20 "//mojo/services/public/cpp/geometry", 35 "//mojo/services/public/cpp/geometry",
(...skipping 25 matching lines...) Expand all
46 ] 61 ]
47 62
48 if (is_ios) { 63 if (is_ios) {
49 sources += [ "platform_viewport_stub.cc" ] 64 sources += [ "platform_viewport_stub.cc" ]
50 } 65 }
51 66
52 if (is_android) { 67 if (is_android) {
53 deps += [ "//mojo:jni_headers" ] 68 deps += [ "//mojo:jni_headers" ]
54 } 69 }
55 70
56 if (is_win) {
57 deps += [
58 # TODO(GYP)
59 # '../ui/platform_window/win/win_window.gyp:win_window',
60 ]
61 }
62
63 if (use_x11) { 71 if (use_x11) {
64 sources += [ "platform_viewport_x11.cc" ] 72 sources += [ "platform_viewport_x11.cc" ]
65 deps += [ 73 deps += [
66 "//ui/events/platform/x11", 74 "//ui/events/platform/x11",
67 "//ui/platform_window/x11", 75 "//ui/platform_window/x11",
68 ] 76 ]
69 } 77 }
70 78
71 if (use_ozone) { 79 if (use_ozone) {
72 sources += [ "platform_viewport_ozone.cc" ] 80 sources += [ "platform_viewport_ozone.cc" ]
73 } 81 }
74 } 82 }
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