OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 assert(use_aura) | 8 assert(use_aura) |
9 | 9 |
10 component("shower") { | 10 component("presenter") { |
11 sources = [ | 11 sources = [ |
12 "app_list_shower.h", | 12 "app_list_presenter.h", |
13 "app_list_shower_delegate.h", | 13 "app_list_presenter_delegate.h", |
14 "app_list_shower_delegate_factory.h", | 14 "app_list_presenter_delegate_factory.h", |
15 "app_list_shower_export.h", | 15 "app_list_presenter_export.h", |
16 "app_list_shower_impl.cc", | 16 "app_list_presenter_impl.cc", |
17 "app_list_shower_impl.h", | 17 "app_list_presenter_impl.h", |
18 ] | 18 ] |
19 | 19 |
20 defines = [ "APP_LIST_SHOWER_IMPLEMENTATION" ] | 20 defines = [ "APP_LIST_PRESENTER_IMPLEMENTATION" ] |
21 | 21 |
22 public_deps = [ | 22 public_deps = [ |
23 "//base", | 23 "//base", |
24 "//ui/app_list", | 24 "//ui/app_list", |
25 "//ui/aura", | 25 "//ui/aura", |
26 "//ui/compositor", | 26 "//ui/compositor", |
27 "//ui/gfx/geometry", | 27 "//ui/gfx/geometry", |
28 "//ui/views", | 28 "//ui/views", |
29 ] | 29 ] |
30 } | 30 } |
31 | 31 |
32 source_set("test_support") { | 32 source_set("test_support") { |
33 sources = [ | 33 sources = [ |
34 "test/app_list_shower_impl_test_api.cc", | 34 "test/app_list_presenter_impl_test_api.cc", |
35 "test/app_list_shower_impl_test_api.h", | 35 "test/app_list_presenter_impl_test_api.h", |
36 ] | 36 ] |
37 | 37 |
38 public_deps = [ | 38 public_deps = [ |
39 ":shower", | 39 ":presenter", |
40 ] | 40 ] |
41 deps = [ | 41 deps = [ |
42 "//base", | 42 "//base", |
43 ] | 43 ] |
44 } | 44 } |
45 | 45 |
46 test("app_list_shower_unittests") { | 46 test("app_list_presenter_unittests") { |
47 sources = [ | 47 sources = [ |
48 "app_list_shower_impl_unittest.cc", | 48 "app_list_presenter_impl_unittest.cc", |
49 "test/run_all_unittests.cc", | 49 "test/run_all_unittests.cc", |
50 ] | 50 ] |
51 | 51 |
52 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 52 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
53 | 53 |
54 deps = [ | 54 deps = [ |
55 ":shower", | 55 ":presenter", |
56 ":test_support", | 56 ":test_support", |
57 "//base", | 57 "//base", |
58 "//base/test:test_support", | 58 "//base/test:test_support", |
59 "//testing/gtest", | 59 "//testing/gtest", |
60 "//ui/app_list:test_support", | 60 "//ui/app_list:test_support", |
61 "//ui/aura:aura", | 61 "//ui/aura:aura", |
62 "//ui/aura:test_support", | 62 "//ui/aura:test_support", |
63 "//ui/base", | 63 "//ui/base", |
64 "//ui/gl:test_support", | 64 "//ui/gl:test_support", |
65 "//ui/wm:wm", | 65 "//ui/wm:wm", |
66 ] | 66 ] |
67 | 67 |
68 data_deps = [ | 68 data_deps = [ |
69 "//ui/resources:ui_test_pak_data", | 69 "//ui/resources:ui_test_pak_data", |
70 ] | 70 ] |
71 } | 71 } |
OLD | NEW |