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

Side by Side Diff: ui/ozone/BUILD.gn

Issue 1309273005: native_viewport support for ozone (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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 | « ui/gl/gl_surface_ozone.cc ('k') | ui/ozone/common/display_snapshot_proxy.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("//ui/ozone/ozone.gni") 5 import("//ui/ozone/ozone.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # The list of platforms that will be built. 8 # The list of platforms that will be built.
9 ozone_platforms = [] 9 ozone_platforms = []
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 deps = [ 81 deps = [
82 "//base", 82 "//base",
83 "//skia", 83 "//skia",
84 "//ui/events:events_base", 84 "//ui/events:events_base",
85 "//ui/events:dom_keycode_converter", 85 "//ui/events:dom_keycode_converter",
86 "//ui/gfx/geometry", 86 "//ui/gfx/geometry",
87 "//ui/gfx", 87 "//ui/gfx",
88 ] 88 ]
89 } 89 }
90 90
91 source_set("ozone_common_message_types") {
92 sources = [
93 "common/gpu/ozone_gpu_message_params.cc",
94 "common/gpu/ozone_gpu_message_params.h",
95 ]
96 deps = [
97 ":ozone_base",
98 "//ui/display/types",
99 "//ui/gfx/geometry",
100 ]
101 }
102
91 component("ozone") { 103 component("ozone") {
92 sources = [ 104 sources = [
93 "common/display_mode_proxy.cc", 105 "common/display_mode_proxy.cc",
94 "common/display_mode_proxy.h", 106 "common/display_mode_proxy.h",
95 "common/display_snapshot_proxy.cc", 107 "common/display_snapshot_proxy.cc",
96 "common/display_snapshot_proxy.h", 108 "common/display_snapshot_proxy.h",
97 "common/display_util.cc", 109 "common/display_util.cc",
98 "common/display_util.h", 110 "common/display_util.h",
99 "common/egl_util.cc", 111 "common/egl_util.cc",
100 "common/egl_util.h", 112 "common/egl_util.h",
101 "common/gpu/ozone_gpu_message_params.cc",
102 "common/gpu/ozone_gpu_message_params.h",
103 "common/native_display_delegate_ozone.cc", 113 "common/native_display_delegate_ozone.cc",
104 "common/native_display_delegate_ozone.h", 114 "common/native_display_delegate_ozone.h",
105 "common/stub_overlay_manager.cc", 115 "common/stub_overlay_manager.cc",
106 "common/stub_overlay_manager.h", 116 "common/stub_overlay_manager.h",
107 "platform_selection.cc", 117 "platform_selection.cc",
108 "platform_selection.h", 118 "platform_selection.h",
109 "public/ozone_platform.cc", 119 "public/ozone_platform.cc",
110 "public/ozone_platform.h", 120 "public/ozone_platform.h",
111 "public/ozone_switches.cc", 121 "public/ozone_switches.cc",
112 "public/ozone_switches.h", 122 "public/ozone_switches.h",
113 constructor_list_cc_file, 123 constructor_list_cc_file,
114 platform_list_cc_file, 124 platform_list_cc_file,
115 platform_list_h_file, 125 platform_list_h_file,
116 ] 126 ]
117 127
118 defines = [ "OZONE_IMPLEMENTATION" ] 128 defines = [ "OZONE_IMPLEMENTATION" ]
119 129
120 deps = 130 deps =
121 [ 131 [
122 ":generate_constructor_list", 132 ":generate_constructor_list",
123 ":generate_ozone_platform_list", 133 ":generate_ozone_platform_list",
124 ":ozone_base", 134 ":ozone_base",
135 ":ozone_common_message_types",
125 "//base", 136 "//base",
126 "//skia", 137 "//skia",
127 "//ui/display/types", 138 "//ui/display/types",
128 "//ui/display/util", 139 "//ui/display/util",
129 "//ui/events", 140 "//ui/events",
130 "//ui/events/devices", 141 "//ui/events/devices",
131 "//ui/events/ozone:events_ozone", 142 "//ui/events/ozone:events_ozone",
132 "//ui/gfx", 143 "//ui/gfx",
133 "//ui/gfx/geometry",
134 144
135 # TODO(GYP) the GYP version has a way to add additional dependencies via 145 # TODO(GYP) the GYP version has a way to add additional dependencies via
136 # build flags. 146 # build flags.
137 ] + ozone_platform_deps 147 ] + ozone_platform_deps
138 148
139 allow_circular_includes_from = [ 149 allow_circular_includes_from = [
140 "platform/egltest",
141
142 #"platform/drm",
143 "platform/drm:drm_common", 150 "platform/drm:drm_common",
144 "platform/drm:gbm", 151 "platform/drm:gbm",
145 "//ui/events/ozone:events_ozone", 152 "//ui/events/ozone:events_ozone",
146 ] 153 ]
147 } 154 }
148 155
149 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list 156 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list
150 action("generate_ozone_platform_list") { 157 action("generate_ozone_platform_list") {
151 script = "generate_ozone_platform_list.py" 158 script = "generate_ozone_platform_list.py"
152 outputs = [ 159 outputs = [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 sources = [ 199 sources = [
193 "run_all_unittests.cc", 200 "run_all_unittests.cc",
194 ] 201 ]
195 202
196 deps = [ 203 deps = [
197 "//base/test:test_support", 204 "//base/test:test_support",
198 "//testing/gtest", 205 "//testing/gtest",
199 "//ui/gfx/geometry", 206 "//ui/gfx/geometry",
200 ] + ozone_platform_test_deps 207 ] + ozone_platform_test_deps
201 } 208 }
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_ozone.cc ('k') | ui/ozone/common/display_snapshot_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698