OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//testing/test.gni") | |
6 import("//build/config/ui.gni") | |
7 | |
8 assert(use_aura) | |
9 | |
10 component("shower") { | |
11 sources = [ | |
12 "app_list_shower.h", | |
13 "app_list_shower_delegate.h", | |
14 "app_list_shower_delegate_factory.h", | |
15 "app_list_shower_export.h", | |
16 "app_list_shower_impl.cc", | |
17 "app_list_shower_impl.h", | |
18 ] | |
19 | |
20 defines = [ "APP_LIST_SHOWER_IMPLEMENTATION" ] | |
21 | |
22 public_deps = [ | |
23 "//base", | |
24 "//ui/app_list", | |
25 "//ui/aura", | |
26 "//ui/compositor", | |
27 "//ui/gfx/geometry", | |
28 "//ui/views", | |
29 ] | |
30 } | |
31 | |
32 source_set("test_support") { | |
33 sources = [ | |
34 "test/app_list_shower_impl_test_api.cc", | |
35 "test/app_list_shower_impl_test_api.h", | |
36 ] | |
37 | |
38 public_deps = [ | |
39 ":shower", | |
40 ] | |
41 deps = [ | |
42 "//base", | |
43 ] | |
44 } | |
45 | |
46 test("app_list_shower_unittests") { | |
47 sources = [ | |
48 "app_list_shower_impl_unittest.cc", | |
49 "test/run_all_unittests.cc", | |
50 ] | |
51 | |
52 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | |
53 | |
54 deps = [ | |
55 ":shower", | |
56 ":test_support", | |
57 "//base", | |
58 "//base/test:test_support", | |
59 "//testing/gtest", | |
60 "//ui/app_list:test_support", | |
61 "//ui/aura:aura", | |
62 "//ui/aura:test_support", | |
63 "//ui/base", | |
64 "//ui/gl:test_support", | |
65 "//ui/wm:wm", | |
66 ] | |
67 | |
68 data_deps = [ | |
69 "//ui/resources:ui_test_pak_data", | |
70 ] | |
71 } | |
OLD | NEW |