| 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 | 7 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("views.gyp") ], | 9 [ rebase_path("views.gyp") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 "test/ui_controls_factory_desktop_aurax11.h", | 142 "test/ui_controls_factory_desktop_aurax11.h", |
| 143 ] | 143 ] |
| 144 } | 144 } |
| 145 if (use_aura) { | 145 if (use_aura) { |
| 146 sources += gypi_values.views_test_support_aura_sources | 146 sources += gypi_values.views_test_support_aura_sources |
| 147 deps += [ "//ui/aura:test_support" ] | 147 deps += [ "//ui/aura:test_support" ] |
| 148 } | 148 } |
| 149 if (use_x11) { | 149 if (use_x11) { |
| 150 deps += [ "//ui/gfx/x" ] | 150 deps += [ "//ui/gfx/x" ] |
| 151 } | 151 } |
| 152 if (use_ozone) { | 152 if (use_ozone || !use_x11) { |
| 153 sources -= [ "test/x11_property_change_waiter.cc" ] | 153 sources -= [ "test/x11_property_change_waiter.cc" ] |
| 154 } | 154 } |
| 155 } | 155 } |
| 156 | 156 |
| 157 test("views_unittests") { | 157 test("views_unittests") { |
| 158 sources = gypi_values.views_unittests_sources | 158 sources = gypi_values.views_unittests_sources |
| 159 | 159 |
| 160 deps = [ | 160 deps = [ |
| 161 ":test_support", | 161 ":test_support", |
| 162 "//base", | 162 "//base", |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 "//testing/gtest", | 266 "//testing/gtest", |
| 267 "//ui/aura", | 267 "//ui/aura", |
| 268 "//ui/compositor", | 268 "//ui/compositor", |
| 269 "//ui/resources", | 269 "//ui/resources", |
| 270 "//ui/resources:ui_test_pak", | 270 "//ui/resources:ui_test_pak", |
| 271 "//ui/strings", | 271 "//ui/strings", |
| 272 "//ui/wm", | 272 "//ui/wm", |
| 273 ] | 273 ] |
| 274 } | 274 } |
| 275 } | 275 } |
| OLD | NEW |