| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 ] | 224 ] |
| 225 | 225 |
| 226 deps = [ | 226 deps = [ |
| 227 ":app_list", | 227 ":app_list", |
| 228 "//base", | 228 "//base", |
| 229 "//ui/gfx", | 229 "//ui/gfx", |
| 230 "//ui/gfx/geometry", | 230 "//ui/gfx/geometry", |
| 231 ] | 231 ] |
| 232 } | 232 } |
| 233 | 233 |
| 234 if (is_linux && !is_chromeos) { | 234 if (toolkit_views) { |
| 235 # TODO(GYP): Figure out which of these work and are needed on other platforms. | 235 executable("app_list_demo") { |
| 236 if (toolkit_views) { | 236 testonly = true |
| 237 executable("app_list_demo") { | |
| 238 testonly = true | |
| 239 | 237 |
| 240 sources = [ | 238 sources = [ |
| 241 "demo/app_list_demo_views.cc", | 239 "demo/app_list_demo_views.cc", |
| 240 ] |
| 241 |
| 242 deps = [ |
| 243 ":app_list", |
| 244 ":test_support", |
| 245 "//base", |
| 246 "//build/config/sanitizers:deps", |
| 247 "//content", |
| 248 "//content/public/browser", |
| 249 "//skia", |
| 250 "//ui/base", |
| 251 "//ui/events", |
| 252 "//ui/resources", |
| 253 "//ui/resources:ui_test_pak", |
| 254 "//ui/views", |
| 255 "//ui/views/controls/webview", |
| 256 "//ui/views_content_client", |
| 257 "//url", |
| 258 ] |
| 259 if (is_win) { |
| 260 configs -= [ "//build/config/win:console" ] |
| 261 configs += [ "//build/config/win:windowed" ] |
| 262 |
| 263 deps += [ |
| 264 "//content:sandbox_helper_win", |
| 265 "//sandbox", |
| 242 ] | 266 ] |
| 243 | |
| 244 deps = [ | |
| 245 ":app_list", | |
| 246 ":test_support", | |
| 247 "//base", | |
| 248 "//build/config/sanitizers:deps", | |
| 249 "//content", | |
| 250 "//content/public/browser", | |
| 251 "//skia", | |
| 252 "//ui/base", | |
| 253 "//ui/events", | |
| 254 "//ui/resources", | |
| 255 "//ui/resources:ui_test_pak", | |
| 256 "//ui/views", | |
| 257 "//ui/views/controls/webview", | |
| 258 "//ui/views_content_client", | |
| 259 "//url", | |
| 260 ] | |
| 261 if (is_win) { | |
| 262 configs -= [ "//build/config/win:console" ] | |
| 263 configs += [ "//build/config/win:windowed" ] | |
| 264 | |
| 265 deps += [ | |
| 266 "//content:sandbox_helper_win", | |
| 267 "//sandbox", | |
| 268 ] | |
| 269 } | |
| 270 } | 267 } |
| 271 } | 268 } |
| 272 } | 269 } |
| 273 | 270 |
| 274 test("app_list_unittests") { | 271 test("app_list_unittests") { |
| 275 sources = [ | 272 sources = [ |
| 276 "app_list_item_list_unittest.cc", | 273 "app_list_item_list_unittest.cc", |
| 277 "app_list_model_unittest.cc", | 274 "app_list_model_unittest.cc", |
| 278 "folder_image_unittest.cc", | 275 "folder_image_unittest.cc", |
| 279 "pagination_model_unittest.cc", | 276 "pagination_model_unittest.cc", |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 "cocoa/app_list_view_controller_unittest.mm", | 330 "cocoa/app_list_view_controller_unittest.mm", |
| 334 "cocoa/app_list_window_controller_unittest.mm", | 331 "cocoa/app_list_window_controller_unittest.mm", |
| 335 "cocoa/apps_grid_controller_unittest.mm", | 332 "cocoa/apps_grid_controller_unittest.mm", |
| 336 "cocoa/apps_search_box_controller_unittest.mm", | 333 "cocoa/apps_search_box_controller_unittest.mm", |
| 337 "cocoa/apps_search_results_controller_unittest.mm", | 334 "cocoa/apps_search_results_controller_unittest.mm", |
| 338 "cocoa/test/apps_grid_controller_test_helper.h", | 335 "cocoa/test/apps_grid_controller_test_helper.h", |
| 339 "cocoa/test/apps_grid_controller_test_helper.mm", | 336 "cocoa/test/apps_grid_controller_test_helper.mm", |
| 340 ] | 337 ] |
| 341 } | 338 } |
| 342 } | 339 } |
| OLD | NEW |