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

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

Issue 1192583002: Revert of views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/gfx/native_widget_types.h ('k') | ui/views/views.gyp » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 gypi_values = exec_script("//build/gypi_to_gn.py", 9 gypi_values = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("views.gyp") ], 10 [ rebase_path("views.gyp") ],
11 "scope", 11 "scope",
12 [ "views.gyp" ]) 12 [ "views.gyp" ])
13 13
14 config("flags") {
15 defines = [ "TOOLKIT_VIEWS=1" ]
16 }
17
18 component("views") { 14 component("views") {
19 all_dependent_configs = [ ":flags" ]
20 sources = gypi_values.views_sources 15 sources = gypi_values.views_sources
21 16
22 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
23 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
24 19
25 defines = [ "VIEWS_IMPLEMENTATION" ] 20 defines = [ "VIEWS_IMPLEMENTATION" ]
26 21
27 deps = [ 22 deps = [
28 "//base:i18n", 23 "//base:i18n",
29 "//base/third_party/dynamic_annotations", 24 "//base/third_party/dynamic_annotations",
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 "//skia", 287 "//skia",
293 "//testing/gtest", 288 "//testing/gtest",
294 "//ui/base:test_support", 289 "//ui/base:test_support",
295 "//ui/compositor", 290 "//ui/compositor",
296 "//ui/resources", 291 "//ui/resources",
297 "//ui/resources:ui_test_pak", 292 "//ui/resources:ui_test_pak",
298 "//ui/strings", 293 "//ui/strings",
299 ] 294 ]
300 } 295 }
301 } 296 }
OLDNEW
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698