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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/views/views_init.cc ('k') | services/native_viewport/platform_viewport_ozone.cc » ('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/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 source_set("lib") { 56 source_set("lib") {
57 sources = [ 57 sources = [
58 "native_viewport_impl.cc", 58 "native_viewport_impl.cc",
59 "native_viewport_impl.h", 59 "native_viewport_impl.h",
60 "platform_viewport.h", 60 "platform_viewport.h",
61 "platform_viewport_android.cc", 61 "platform_viewport_android.cc",
62 "platform_viewport_android.h", 62 "platform_viewport_android.h",
63 "platform_viewport_headless.cc", 63 "platform_viewport_headless.cc",
64 "platform_viewport_headless.h", 64 "platform_viewport_headless.h",
65 "platform_viewport_ozone.cc",
66 "platform_viewport_stub.cc", 65 "platform_viewport_stub.cc",
67 "platform_viewport_win.cc", 66 "platform_viewport_win.cc",
68 "platform_viewport_x11.cc", 67 "platform_viewport_x11.cc",
69 "viewport_surface.cc", 68 "viewport_surface.cc",
70 "viewport_surface.h", 69 "viewport_surface.h",
71 ] 70 ]
72 71
73 if (!is_ios) { 72 if (!is_ios) {
74 sources -= [ "platform_viewport_stub.cc" ] 73 sources -= [ "platform_viewport_stub.cc" ]
75 } 74 }
76 75
77 if (!use_ozone) {
78 sources -= [ "platform_viewport_ozone.cc" ]
79 }
80
81 deps = [ 76 deps = [
82 "//base", 77 "//base",
83 "//cc/surfaces", 78 "//cc/surfaces",
84 "//cc/surfaces:surface_id", 79 "//cc/surfaces:surface_id",
85 "//gpu/command_buffer/service", 80 "//gpu/command_buffer/service",
86 "//mojo/application", 81 "//mojo/application",
87 "//mojo/common", 82 "//mojo/common",
88 "//mojo/converters/geometry", 83 "//mojo/converters/geometry",
89 "//mojo/converters/input_events", 84 "//mojo/converters/input_events",
90 "//mojo/converters/surfaces", 85 "//mojo/converters/surfaces",
(...skipping 22 matching lines...) Expand all
113 "//ui/platform_window/x11", 108 "//ui/platform_window/x11",
114 ] 109 ]
115 } else { 110 } else {
116 sources -= [ "platform_viewport_x11.cc" ] 111 sources -= [ "platform_viewport_x11.cc" ]
117 } 112 }
118 113
119 if (is_win) { 114 if (is_win) {
120 deps += [ "//ui/platform_window/win" ] 115 deps += [ "//ui/platform_window/win" ]
121 } 116 }
122 } 117 }
OLDNEW
« no previous file with comments | « mojo/views/views_init.cc ('k') | services/native_viewport/platform_viewport_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698