OLD | NEW |
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") { | 14 config("flags") { |
15 defines = [ "TOOLKIT_VIEWS=1" ] | 15 defines = [ "TOOLKIT_VIEWS=1" ] |
16 } | 16 } |
17 | 17 |
18 component("views") { | 18 static_library("views") { |
19 all_dependent_configs = [ ":flags" ] | 19 all_dependent_configs = [ ":flags" ] |
20 sources = gypi_values.views_sources | 20 sources = gypi_values.views_sources |
21 | 21 |
22 configs += [ | 22 configs += [ |
23 "//build/config:precompiled_headers", | 23 "//build/config:precompiled_headers", |
24 | 24 |
25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
26 "//build/config/compiler:no_size_t_to_int_warning", | 26 "//build/config/compiler:no_size_t_to_int_warning", |
27 ] | 27 ] |
28 | 28 |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 "//ui/base:test_support", | 302 "//ui/base:test_support", |
303 "//ui/compositor", | 303 "//ui/compositor", |
304 "//ui/events:test_support", | 304 "//ui/events:test_support", |
305 "//ui/gl:test_support", | 305 "//ui/gl:test_support", |
306 "//ui/resources", | 306 "//ui/resources", |
307 "//ui/resources:ui_test_pak", | 307 "//ui/resources:ui_test_pak", |
308 "//ui/strings", | 308 "//ui/strings", |
309 ] | 309 ] |
310 } | 310 } |
311 } | 311 } |
OLD | NEW |