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

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

Issue 606883002: Add a headless configuration to Mojo's native viewport service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address jamesr's questions Created 6 years, 2 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/mojo_services.gypi ('k') | mojo/services/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 6
7 if (!is_android) { 7 if (!is_android) {
8 shared_library("native_viewport") { 8 shared_library("native_viewport") {
9 output_name = "mojo_native_viewport_service" 9 output_name = "mojo_native_viewport_service"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 sources = [ 49 sources = [
50 "gpu_impl.cc", 50 "gpu_impl.cc",
51 "gpu_impl.h", 51 "gpu_impl.h",
52 "native_viewport_impl.cc", 52 "native_viewport_impl.cc",
53 "native_viewport_impl.h", 53 "native_viewport_impl.h",
54 "platform_viewport.h", 54 "platform_viewport.h",
55 "platform_viewport_android.cc", 55 "platform_viewport_android.cc",
56 "platform_viewport_android.h", 56 "platform_viewport_android.h",
57 "platform_viewport_mac.mm", 57 "platform_viewport_mac.mm",
58 "platform_viewport_headless.cc",
59 "platform_viewport_headless.h",
58 "platform_viewport_win.cc", 60 "platform_viewport_win.cc",
59 "viewport_surface.cc", 61 "viewport_surface.cc",
60 "viewport_surface.h", 62 "viewport_surface.h",
61 ] 63 ]
62 64
63 if (is_ios) { 65 if (is_ios) {
64 sources += [ "platform_viewport_stub.cc" ] 66 sources += [ "platform_viewport_stub.cc" ]
65 } 67 }
66 68
67 if (is_android) { 69 if (is_android) {
68 deps += [ "//mojo:jni_headers" ] 70 deps += [ "//mojo:jni_headers" ]
69 } 71 }
70 72
71 if (use_x11) { 73 if (use_x11) {
72 sources += [ "platform_viewport_x11.cc" ] 74 sources += [ "platform_viewport_x11.cc" ]
73 deps += [ 75 deps += [
74 "//ui/events/platform/x11", 76 "//ui/events/platform/x11",
75 "//ui/platform_window/x11", 77 "//ui/platform_window/x11",
76 ] 78 ]
77 } 79 }
78 80
79 if (use_ozone) { 81 if (use_ozone) {
80 sources += [ "platform_viewport_ozone.cc" ] 82 sources += [ "platform_viewport_ozone.cc" ]
81 } 83 }
82 } 84 }
OLDNEW
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/native_viewport/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698