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( | 8 gypi_values = exec_script( |
9 "//build/gypi_to_gn.py", | 9 "//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 } else if (is_win) { | 97 } else if (is_win) { |
98 sources += gypi_values.views_desktop_aura_win_sources | 98 sources += gypi_values.views_desktop_aura_win_sources |
99 } else if (use_ozone) { | 99 } else if (use_ozone) { |
100 sources += gypi_values.views_desktop_aura_ozone_sources | 100 sources += gypi_values.views_desktop_aura_ozone_sources |
101 } | 101 } |
102 } | 102 } |
103 } | 103 } |
104 } | 104 } |
105 | 105 |
106 static_library("test_support") { | 106 static_library("test_support") { |
| 107 testonly = true |
107 sources = gypi_values.views_test_support_sources | 108 sources = gypi_values.views_test_support_sources |
108 | 109 |
109 deps = [ | 110 deps = [ |
110 ":views", | 111 ":views", |
111 "//base", | 112 "//base", |
112 "//ipc:test_support", | 113 "//ipc:test_support", |
113 "//skia", | 114 "//skia", |
114 "//testing/gtest", | 115 "//testing/gtest", |
115 "//ui/aura", | 116 "//ui/aura", |
116 "//ui/base", | 117 "//ui/base", |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "//testing/gtest", | 244 "//testing/gtest", |
244 "//ui/aura", | 245 "//ui/aura", |
245 "//ui/compositor", | 246 "//ui/compositor", |
246 "//ui/resources", | 247 "//ui/resources", |
247 "//ui/resources:ui_test_pak", | 248 "//ui/resources:ui_test_pak", |
248 "//ui/strings", | 249 "//ui/strings", |
249 "//ui/wm", | 250 "//ui/wm", |
250 ] | 251 ] |
251 } | 252 } |
252 } | 253 } |
OLD | NEW |