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

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

Issue 1182053007: Revert of 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
14 component("views") { 18 component("views") {
19 all_dependent_configs = [ ":flags" ]
15 sources = gypi_values.views_sources 20 sources = gypi_values.views_sources
16 21
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 22 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
18 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 23 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
19 24
20 defines = [ "VIEWS_IMPLEMENTATION" ] 25 defines = [ "VIEWS_IMPLEMENTATION" ]
21 26
22 deps = [ 27 deps = [
23 "//base:i18n", 28 "//base:i18n",
24 "//base/third_party/dynamic_annotations", 29 "//base/third_party/dynamic_annotations",
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 "//skia", 292 "//skia",
288 "//testing/gtest", 293 "//testing/gtest",
289 "//ui/base:test_support", 294 "//ui/base:test_support",
290 "//ui/compositor", 295 "//ui/compositor",
291 "//ui/resources", 296 "//ui/resources",
292 "//ui/resources:ui_test_pak", 297 "//ui/resources:ui_test_pak",
293 "//ui/strings", 298 "//ui/strings",
294 ] 299 ]
295 } 300 }
296 } 301 }
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