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

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

Issue 1716543003: ozone: Use allow_circular_includes_from to fix deps issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | ui/ozone/common/stub_client_native_pixmap_factory.h » ('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("//ui/ozone/ozone.gni") 6 import("//ui/ozone/ozone.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 assert(use_ozone) 9 assert(use_ozone)
10 10
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "public/ozone_platform.h", 136 "public/ozone_platform.h",
137 constructor_list_cc_file, 137 constructor_list_cc_file,
138 platform_list_cc_file, 138 platform_list_cc_file,
139 platform_list_h_file, 139 platform_list_h_file,
140 ] 140 ]
141 141
142 defines = [ "OZONE_IMPLEMENTATION" ] 142 defines = [ "OZONE_IMPLEMENTATION" ]
143 143
144 public_deps = [ 144 public_deps = [
145 ":ozone_base", 145 ":ozone_base",
146 "//base",
147 "//ipc",
148 "//skia",
149 "//ui/display/types",
150 "//ui/events",
151 "//ui/events/devices",
152 "//ui/gfx",
153 "//ui/gfx/geometry",
154 "//ui/platform_window",
146 ] 155 ]
147 156
148 deps = 157 deps = [
149 [ 158 ":generate_constructor_list",
150 ":generate_constructor_list", 159 ":generate_ozone_platform_list",
151 ":generate_ozone_platform_list", 160 ]
152 "//base",
153 "//ipc",
154 "//skia",
155 "//ui/display/types",
156 "//ui/display/util",
157 "//ui/events",
158 "//ui/events/devices",
159 "//ui/events/ozone:events_ozone",
160 "//ui/gfx",
161 "//ui/gfx/geometry",
162 "//ui/gfx/ipc",
163 "//ui/platform_window",
164 161
165 # TODO(GYP) the GYP version has a way to add additional dependencies via 162 # TODO(GYP) the GYP version has a way to add additional dependencies via
rjkroege 2016/02/19 19:00:53 So, can we add additional platforms from an extern
spang 2016/02/22 19:27:13 Might be possible to do it via gn args. Nobody has
166 # build flags. 163 # build flags.
167 ] + ozone_platform_deps 164 public_deps += ozone_platform_deps
165
166 # Platforms are always linked into //ui/ozone and can include our headers.
167 allow_circular_includes_from = ozone_platform_deps
168 } 168 }
169 169
170 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list 170 # GYP version: ui/ozone/ozone.gyp:generate_ozone_platform_list
171 action("generate_ozone_platform_list") { 171 action("generate_ozone_platform_list") {
172 script = "generate_ozone_platform_list.py" 172 script = "generate_ozone_platform_list.py"
173 outputs = [ 173 outputs = [
174 platform_list_cc_file, 174 platform_list_cc_file,
175 platform_list_h_file, 175 platform_list_h_file,
176 platform_list_txt_file, 176 platform_list_txt_file,
177 ] 177 ]
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 sources = [ 215 sources = [
216 "run_all_unittests.cc", 216 "run_all_unittests.cc",
217 ] 217 ]
218 218
219 deps = [ 219 deps = [
220 "//base/test:test_support", 220 "//base/test:test_support",
221 "//testing/gtest", 221 "//testing/gtest",
222 "//ui/gfx/geometry", 222 "//ui/gfx/geometry",
223 ] + ozone_platform_test_deps 223 ] + ozone_platform_test_deps
224 } 224 }
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/common/stub_client_native_pixmap_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698