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

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

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
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
« no previous file with comments | « tools/json_schema_compiler/test/BUILD.gn ('k') | ui/base/BUILD.gn » ('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("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("aura") { 8 component("aura") {
9 sources = [ 9 sources = [
10 "../wm/public/activation_change_observer.cc", 10 "../wm/public/activation_change_observer.cc",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "test/test_window_tree_client.h", 169 "test/test_window_tree_client.h",
170 "test/test_windows.cc", 170 "test/test_windows.cc",
171 "test/test_windows.h", 171 "test/test_windows.h",
172 "test/ui_controls_factory_aura.h", 172 "test/ui_controls_factory_aura.h",
173 "test/window_event_dispatcher_test_api.cc", 173 "test/window_event_dispatcher_test_api.cc",
174 "test/window_event_dispatcher_test_api.h", 174 "test/window_event_dispatcher_test_api.h",
175 "test/window_test_api.cc", 175 "test/window_test_api.cc",
176 "test/window_test_api.h", 176 "test/window_test_api.h",
177 ] 177 ]
178 178
179 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
180 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
181
179 public_deps = [ 182 public_deps = [
180 ":aura", 183 ":aura",
181 ] 184 ]
182 deps = [ 185 deps = [
183 "//skia", 186 "//skia",
184 "//testing/gtest", 187 "//testing/gtest",
185 "//ui/base:test_support", 188 "//ui/base:test_support",
186 "//ui/compositor:test_support", 189 "//ui/compositor:test_support",
187 "//ui/events", 190 "//ui/events",
188 "//ui/events:events_base", 191 "//ui/events:events_base",
189 "//ui/events:test_support", 192 "//ui/events:test_support",
190 "//ui/gfx", 193 "//ui/gfx",
191 "//ui/gfx/geometry", 194 "//ui/gfx/geometry",
192 "//ui/wm", 195 "//ui/wm",
193 ] 196 ]
194 197
195 if (is_win) { 198 if (is_win) {
196 sources += [ "test/ui_controls_factory_aurawin.cc" ] 199 sources += [ "test/ui_controls_factory_aurawin.cc" ]
197
198 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int t runcations.
199 } 200 }
200 201
201 if (use_x11) { 202 if (use_x11) {
202 sources += [ 203 sources += [
203 "test/ui_controls_factory_aurax11.cc", 204 "test/ui_controls_factory_aurax11.cc",
204 "test/x11_event_sender.cc", 205 "test/x11_event_sender.cc",
205 "test/x11_event_sender.h", 206 "test/x11_event_sender.h",
206 ] 207 ]
207 208
208 deps += [ "//ui/gfx/x" ] 209 deps += [ "//ui/gfx/x" ]
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "//ui/gfx", 296 "//ui/gfx",
296 "//ui/gfx/geometry", 297 "//ui/gfx/geometry",
297 "//ui/gl", 298 "//ui/gl",
298 ] 299 ]
299 300
300 if (is_linux) { 301 if (is_linux) {
301 deps += [ "//third_party/mesa" ] 302 deps += [ "//third_party/mesa" ]
302 } 303 }
303 } 304 }
304 } 305 }
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698