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

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

Issue 1135703004: core_services: add native_viewport_service on non-android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | components/native_viewport/main.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("//third_party/mojo/src/mojo/public/mojo_application.gni") 6 import("//third_party/mojo/src/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 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", 50 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings",
51 "//ui/events", 51 "//ui/events",
52 "//ui/events/platform", 52 "//ui/events/platform",
53 "//ui/gl", 53 "//ui/gl",
54 ] 54 ]
55 } 55 }
56 } 56 }
57 57
58 source_set("lib") { 58 source_set("lib") {
59 sources = [ 59 sources = [
60 "native_viewport_application_delegate.cc",
61 "native_viewport_application_delegate.h",
60 "native_viewport_impl.cc", 62 "native_viewport_impl.cc",
61 "native_viewport_impl.h", 63 "native_viewport_impl.h",
62 "onscreen_context_provider.cc", 64 "onscreen_context_provider.cc",
63 "onscreen_context_provider.h", 65 "onscreen_context_provider.h",
64 "platform_viewport.h", 66 "platform_viewport.h",
65 "platform_viewport_android.cc", 67 "platform_viewport_android.cc",
66 "platform_viewport_android.h", 68 "platform_viewport_android.h",
67 "platform_viewport_headless.cc", 69 "platform_viewport_headless.cc",
68 "platform_viewport_headless.h", 70 "platform_viewport_headless.h",
69 "platform_viewport_stub.cc", 71 "platform_viewport_stub.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 if (use_x11) { 103 if (use_x11) {
102 deps += [ "//ui/platform_window/x11" ] 104 deps += [ "//ui/platform_window/x11" ]
103 } else { 105 } else {
104 sources -= [ "platform_viewport_x11.cc" ] 106 sources -= [ "platform_viewport_x11.cc" ]
105 } 107 }
106 108
107 if (is_win) { 109 if (is_win) {
108 deps += [ "//ui/platform_window/win" ] 110 deps += [ "//ui/platform_window/win" ]
109 } 111 }
110 } 112 }
OLDNEW
« no previous file with comments | « no previous file | components/native_viewport/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698