| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 ] | 171 ] |
| 172 deps += [ | 172 deps += [ |
| 173 "//ui/events", | 173 "//ui/events", |
| 174 "//ui/views", | 174 "//ui/views", |
| 175 ] | 175 ] |
| 176 | 176 |
| 177 public_deps = [ | 177 public_deps = [ |
| 178 "//ui/views", | 178 "//ui/views", |
| 179 ] | 179 ] |
| 180 } | 180 } |
| 181 | |
| 182 if (is_mac) { | |
| 183 sources += [ | |
| 184 "cocoa/app_list_pager_view.h", | |
| 185 "cocoa/app_list_pager_view.mm", | |
| 186 "cocoa/app_list_view_controller.h", | |
| 187 "cocoa/app_list_view_controller.mm", | |
| 188 "cocoa/app_list_window_controller.h", | |
| 189 "cocoa/app_list_window_controller.mm", | |
| 190 "cocoa/apps_collection_view_drag_manager.h", | |
| 191 "cocoa/apps_collection_view_drag_manager.mm", | |
| 192 "cocoa/apps_grid_controller.h", | |
| 193 "cocoa/apps_grid_controller.mm", | |
| 194 "cocoa/apps_grid_view_item.h", | |
| 195 "cocoa/apps_grid_view_item.mm", | |
| 196 "cocoa/apps_pagination_model_observer.h", | |
| 197 "cocoa/apps_search_box_controller.h", | |
| 198 "cocoa/apps_search_box_controller.mm", | |
| 199 "cocoa/apps_search_results_controller.h", | |
| 200 "cocoa/apps_search_results_controller.mm", | |
| 201 "cocoa/apps_search_results_model_bridge.h", | |
| 202 "cocoa/apps_search_results_model_bridge.mm", | |
| 203 "cocoa/item_drag_controller.h", | |
| 204 "cocoa/item_drag_controller.mm", | |
| 205 "cocoa/scroll_view_with_no_scrollbars.h", | |
| 206 "cocoa/scroll_view_with_no_scrollbars.mm", | |
| 207 ] | |
| 208 deps += [ "//third_party/google_toolbox_for_mac" ] | |
| 209 libs = [ | |
| 210 "AppKit.framework", | |
| 211 "QuartzCore.framework", | |
| 212 ] | |
| 213 } | |
| 214 } | 181 } |
| 215 | 182 |
| 216 static_library("test_support") { | 183 static_library("test_support") { |
| 217 sources = [ | 184 sources = [ |
| 218 "test/app_list_test_model.cc", | 185 "test/app_list_test_model.cc", |
| 219 "test/app_list_test_model.h", | 186 "test/app_list_test_model.h", |
| 220 "test/app_list_test_view_delegate.cc", | 187 "test/app_list_test_view_delegate.cc", |
| 221 "test/app_list_test_view_delegate.h", | 188 "test/app_list_test_view_delegate.h", |
| 222 "test/test_search_result.cc", | 189 "test/test_search_result.cc", |
| 223 "test/test_search_result.h", | 190 "test/test_search_result.h", |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 "views/search_result_page_view_unittest.cc", | 285 "views/search_result_page_view_unittest.cc", |
| 319 "views/speech_view_unittest.cc", | 286 "views/speech_view_unittest.cc", |
| 320 "views/test/apps_grid_view_test_api.cc", | 287 "views/test/apps_grid_view_test_api.cc", |
| 321 "views/test/apps_grid_view_test_api.h", | 288 "views/test/apps_grid_view_test_api.h", |
| 322 ] | 289 ] |
| 323 deps += [ | 290 deps += [ |
| 324 "//ui/views", | 291 "//ui/views", |
| 325 "//ui/views:test_support", | 292 "//ui/views:test_support", |
| 326 ] | 293 ] |
| 327 } | 294 } |
| 328 | |
| 329 if (is_mac) { | |
| 330 sources += [ | |
| 331 "cocoa/app_list_view_controller_unittest.mm", | |
| 332 "cocoa/app_list_window_controller_unittest.mm", | |
| 333 "cocoa/apps_grid_controller_unittest.mm", | |
| 334 "cocoa/apps_search_box_controller_unittest.mm", | |
| 335 "cocoa/apps_search_results_controller_unittest.mm", | |
| 336 "cocoa/test/apps_grid_controller_test_helper.h", | |
| 337 "cocoa/test/apps_grid_controller_test_helper.mm", | |
| 338 ] | |
| 339 } | |
| 340 } | 295 } |
| OLD | NEW |