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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("app_list") { | 8 component("app_list") { |
9 sources = [ | 9 sources = [ |
10 "app_list_constants.cc", | 10 "app_list_constants.cc", |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 deps = [ | 212 deps = [ |
213 ":app_list", | 213 ":app_list", |
214 "//base", | 214 "//base", |
215 "//ui/gfx", | 215 "//ui/gfx", |
216 "//ui/gfx/geometry", | 216 "//ui/gfx/geometry", |
217 "//ui/resources", | 217 "//ui/resources", |
218 ] | 218 ] |
219 } | 219 } |
220 | 220 |
| 221 if (is_linux && !is_chromeos) { |
| 222 # TODO(GYP): Figure out which of these work and are needed on other platforms. |
| 223 if (toolkit_views) { |
| 224 executable("app_list_demo") { |
| 225 testonly = true |
| 226 |
| 227 sources = [ |
| 228 "demo/app_list_demo_views.cc", |
| 229 ] |
| 230 |
| 231 deps = [ |
| 232 ":app_list", |
| 233 ":test_support", |
| 234 "//base", |
| 235 "//content", |
| 236 "//content/public/browser", |
| 237 "//skia", |
| 238 "//url", |
| 239 "//ui/base", |
| 240 "//ui/events", |
| 241 "//ui/resources", |
| 242 "//ui/resources:ui_test_pak", |
| 243 "//ui/views", |
| 244 "//ui/views_content_client", |
| 245 "//ui/views/controls/webview", |
| 246 ] |
| 247 if (is_win) { |
| 248 configs -= [ "//build/config/win:console" ] |
| 249 configs += [ "//build/config/win:windowed" ] |
| 250 |
| 251 deps += [ |
| 252 "//sandbox", |
| 253 "//content:content_startup_helper_win", |
| 254 ] |
| 255 } |
| 256 } |
| 257 } |
| 258 } |
| 259 |
221 test("app_list_unittests") { | 260 test("app_list_unittests") { |
222 sources = [ | 261 sources = [ |
223 "app_list_item_list_unittest.cc", | 262 "app_list_item_list_unittest.cc", |
224 "app_list_model_unittest.cc", | 263 "app_list_model_unittest.cc", |
225 "folder_image_unittest.cc", | 264 "folder_image_unittest.cc", |
226 "pagination_model_unittest.cc", | 265 "pagination_model_unittest.cc", |
227 "search/history_data_store_unittest.cc", | 266 "search/history_data_store_unittest.cc", |
228 "search/mixer_unittest.cc", | 267 "search/mixer_unittest.cc", |
229 "search/term_break_iterator_unittest.cc", | 268 "search/term_break_iterator_unittest.cc", |
230 "search/tokenized_string_char_iterator_unittest.cc", | 269 "search/tokenized_string_char_iterator_unittest.cc", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "cocoa/app_list_view_controller_unittest.mm", | 314 "cocoa/app_list_view_controller_unittest.mm", |
276 "cocoa/app_list_window_controller_unittest.mm", | 315 "cocoa/app_list_window_controller_unittest.mm", |
277 "cocoa/apps_grid_controller_unittest.mm", | 316 "cocoa/apps_grid_controller_unittest.mm", |
278 "cocoa/apps_search_box_controller_unittest.mm", | 317 "cocoa/apps_search_box_controller_unittest.mm", |
279 "cocoa/apps_search_results_controller_unittest.mm", | 318 "cocoa/apps_search_results_controller_unittest.mm", |
280 "cocoa/test/apps_grid_controller_test_helper.h", | 319 "cocoa/test/apps_grid_controller_test_helper.h", |
281 "cocoa/test/apps_grid_controller_test_helper.mm", | 320 "cocoa/test/apps_grid_controller_test_helper.mm", |
282 ] | 321 ] |
283 } | 322 } |
284 } | 323 } |
OLD | NEW |