| 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 component("views") { | 14 component("views") { |
| 15 sources = gypi_values.views_sources | 15 sources = gypi_values.views_sources |
| 16 | 16 |
| 17 defines = [ "VIEWS_IMPLEMENTATION" ] | 17 defines = [ "VIEWS_IMPLEMENTATION" ] |
| 18 | 18 |
| 19 deps = [ | 19 deps = [ |
| 20 "//base:i18n", | 20 "//base:i18n", |
| 21 "//base/third_party/dynamic_annotations", | 21 "//base/third_party/dynamic_annotations", |
| 22 "//skia", | 22 "//skia", |
| 23 "//third_party/icu", | 23 "//third_party/icu", |
| 24 "//ui/accessibility", | 24 "//ui/accessibility", |
| 25 "//ui/aura", | 25 "//ui/aura", |
| 26 "//ui/native_theme", | 26 "//ui/native_theme", |
| 27 "//ui/resources", | 27 "//ui/resources", |
| 28 "//ui/strings", | 28 "//ui/strings", |
| 29 "//ui/touch_selection", |
| 29 "//ui/wm", | 30 "//ui/wm", |
| 30 "//url", | 31 "//url", |
| 31 ] | 32 ] |
| 32 | 33 |
| 33 public_deps = [ | 34 public_deps = [ |
| 34 "//base", | 35 "//base", |
| 35 "//ui/accessibility:ax_gen", | 36 "//ui/accessibility:ax_gen", |
| 36 "//ui/base", | 37 "//ui/base", |
| 37 "//ui/base/ime", | 38 "//ui/base/ime", |
| 38 "//ui/compositor", | 39 "//ui/compositor", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 "//ui/base:test_support", | 181 "//ui/base:test_support", |
| 181 "//ui/compositor:test_support", | 182 "//ui/compositor:test_support", |
| 182 "//ui/events:test_support", | 183 "//ui/events:test_support", |
| 183 "//ui/events:events_base", | 184 "//ui/events:events_base", |
| 184 "//ui/events/platform", | 185 "//ui/events/platform", |
| 185 "//ui/gfx", | 186 "//ui/gfx", |
| 186 "//ui/gfx/geometry", | 187 "//ui/gfx/geometry", |
| 187 "//ui/gl", | 188 "//ui/gl", |
| 188 "//ui/resources", | 189 "//ui/resources", |
| 189 "//ui/strings", | 190 "//ui/strings", |
| 191 "//ui/touch_selection", |
| 190 "//ui/wm", | 192 "//ui/wm", |
| 191 "//url", | 193 "//url", |
| 192 ] | 194 ] |
| 193 | 195 |
| 194 if (is_chromeos) { | 196 if (is_chromeos) { |
| 195 sources -= [ "ime/input_method_bridge_unittest.cc" ] | 197 sources -= [ "ime/input_method_bridge_unittest.cc" ] |
| 196 } | 198 } |
| 197 | 199 |
| 198 if (is_win) { | 200 if (is_win) { |
| 199 deps += [ | 201 deps += [ |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "//testing/gtest", | 280 "//testing/gtest", |
| 279 "//ui/aura", | 281 "//ui/aura", |
| 280 "//ui/compositor", | 282 "//ui/compositor", |
| 281 "//ui/resources", | 283 "//ui/resources", |
| 282 "//ui/resources:ui_test_pak", | 284 "//ui/resources:ui_test_pak", |
| 283 "//ui/strings", | 285 "//ui/strings", |
| 284 "//ui/wm", | 286 "//ui/wm", |
| 285 ] | 287 ] |
| 286 } | 288 } |
| 287 } | 289 } |
| OLD | NEW |