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

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

Issue 940293003: Add a Display and ContextProvider concept to mojom, use to recreate (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//services/gles2", 50 "//services/gles2",
51 "//ui/gl", 51 "//ui/gl",
52 ] 52 ]
53 } 53 }
54 } 54 }
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 "onscreen_context_provider.cc",
61 "onscreen_context_provider.h",
60 "platform_viewport.h", 62 "platform_viewport.h",
61 "platform_viewport_android.cc", 63 "platform_viewport_android.cc",
62 "platform_viewport_android.h", 64 "platform_viewport_android.h",
63 "platform_viewport_headless.cc", 65 "platform_viewport_headless.cc",
64 "platform_viewport_headless.h", 66 "platform_viewport_headless.h",
65 "platform_viewport_stub.cc", 67 "platform_viewport_stub.cc",
66 "platform_viewport_win.cc", 68 "platform_viewport_win.cc",
67 "platform_viewport_x11.cc", 69 "platform_viewport_x11.cc",
68 "viewport_surface.cc", 70 "viewport_surface.cc",
69 "viewport_surface.h", 71 "viewport_surface.h",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 if (use_x11) { 107 if (use_x11) {
106 deps += [ "//ui/platform_window/x11" ] 108 deps += [ "//ui/platform_window/x11" ]
107 } else { 109 } else {
108 sources -= [ "platform_viewport_x11.cc" ] 110 sources -= [ "platform_viewport_x11.cc" ]
109 } 111 }
110 112
111 if (is_win) { 113 if (is_win) {
112 deps += [ "//ui/platform_window/win" ] 114 deps += [ "//ui/platform_window/win" ]
113 } 115 }
114 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698