| 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") ], |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 # External code should depend upon "test_support". | 155 # External code should depend upon "test_support". |
| 156 visibility = [ "./*" ] | 156 visibility = [ "./*" ] |
| 157 | 157 |
| 158 configs += [ "//build/config:precompiled_headers" ] | 158 configs += [ "//build/config:precompiled_headers" ] |
| 159 | 159 |
| 160 public_deps = [ | 160 public_deps = [ |
| 161 ":views", | 161 ":views", |
| 162 ] | 162 ] |
| 163 deps = [ | 163 deps = [ |
| 164 "//base", | 164 "//base", |
| 165 "//base/test:test_support", |
| 165 "//ipc:test_support", | 166 "//ipc:test_support", |
| 166 "//skia", | 167 "//skia", |
| 167 "//testing/gtest", | 168 "//testing/gtest", |
| 168 "//ui/base", | 169 "//ui/base", |
| 169 "//ui/base:test_support", | 170 "//ui/base:test_support", |
| 170 "//ui/base/ime", | 171 "//ui/base/ime", |
| 171 "//ui/compositor", | 172 "//ui/compositor", |
| 172 "//ui/compositor:test_support", | 173 "//ui/compositor:test_support", |
| 173 "//ui/events", | 174 "//ui/events", |
| 174 "//ui/events:events_base", | 175 "//ui/events:events_base", |
| 175 "//ui/events:test_support", | 176 "//ui/events:test_support", |
| 176 "//ui/events/platform", | 177 "//ui/events/platform", |
| 177 "//ui/gfx", | 178 "//ui/gfx", |
| 178 "//ui/gfx/geometry", | 179 "//ui/gfx/geometry", |
| 180 "//ui/gl:test_support", |
| 179 ] | 181 ] |
| 180 | 182 |
| 181 sources += [ | 183 sources += [ |
| 182 "test/platform_test_helper.cc", | 184 "test/platform_test_helper.cc", |
| 183 "test/platform_test_helper.h", | 185 "test/platform_test_helper.h", |
| 184 ] | 186 ] |
| 185 | 187 |
| 186 if (use_aura) { | 188 if (use_aura) { |
| 187 sources += gypi_values.views_test_support_aura_sources | 189 sources += gypi_values.views_test_support_aura_sources |
| 188 deps += [ | 190 deps += [ |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 "//ui/base:test_support", | 327 "//ui/base:test_support", |
| 326 "//ui/compositor", | 328 "//ui/compositor", |
| 327 "//ui/events:test_support", | 329 "//ui/events:test_support", |
| 328 "//ui/gl:test_support", | 330 "//ui/gl:test_support", |
| 329 "//ui/resources", | 331 "//ui/resources", |
| 330 "//ui/resources:ui_test_pak", | 332 "//ui/resources:ui_test_pak", |
| 331 "//ui/strings", | 333 "//ui/strings", |
| 332 ] | 334 ] |
| 333 } | 335 } |
| 334 } | 336 } |
| OLD | NEW |