Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: ui/app_list/presenter/BUILD.gn

Issue 2576913002: Use mojo app list interfaces for mash and classic ash. (Closed)
Patch Set: Sync and rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/app_list/presenter/app_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 assert(use_aura) 9 assert(use_aura)
10 10
11 mojom("mojom") { 11 mojom("mojom") {
12 sources = [ 12 sources = [
13 "app_list_presenter.mojom", 13 "app_list_presenter.mojom",
14 ] 14 ]
15 deps = [ 15 deps = [
16 "//services/ui/public/interfaces", 16 "//services/ui/public/interfaces",
17 ] 17 ]
18 18
19 export_class_attribute = "APP_LIST_PRESENTER_EXPORT" 19 export_class_attribute = "APP_LIST_PRESENTER_EXPORT"
20 export_define = "APP_LIST_PRESENTER_IMPLEMENTATION=1" 20 export_define = "APP_LIST_PRESENTER_IMPLEMENTATION=1"
21 export_header = "ui/app_list/presenter/app_list_presenter_export.h" 21 export_header = "ui/app_list/presenter/app_list_presenter_export.h"
22 } 22 }
23 23
24 component("presenter") { 24 component("presenter") {
25 sources = [ 25 sources = [
26 "app_list.cc", 26 "app_list.cc",
27 "app_list.h", 27 "app_list.h",
28 "app_list_presenter.h",
29 "app_list_presenter_delegate.cc", 28 "app_list_presenter_delegate.cc",
30 "app_list_presenter_delegate.h", 29 "app_list_presenter_delegate.h",
31 "app_list_presenter_delegate_factory.h", 30 "app_list_presenter_delegate_factory.h",
32 "app_list_presenter_export.h", 31 "app_list_presenter_export.h",
33 "app_list_presenter_impl.cc", 32 "app_list_presenter_impl.cc",
34 "app_list_presenter_impl.h", 33 "app_list_presenter_impl.h",
35 "app_list_view_delegate_factory.cc", 34 "app_list_view_delegate_factory.cc",
36 "app_list_view_delegate_factory.h", 35 "app_list_view_delegate_factory.h",
37 ] 36 ]
38 37
(...skipping 12 matching lines...) Expand all
51 # Temporary dependency to fix compile flake in http://crbug.com/611898. 50 # Temporary dependency to fix compile flake in http://crbug.com/611898.
52 # TODO(tapted): Remove once http://crbug.com/612382 is fixed. 51 # TODO(tapted): Remove once http://crbug.com/612382 is fixed.
53 "//ui/accessibility:ax_gen", 52 "//ui/accessibility:ax_gen",
54 ] 53 ]
55 } 54 }
56 55
57 static_library("test_support") { 56 static_library("test_support") {
58 sources = [ 57 sources = [
59 "test/app_list_presenter_impl_test_api.cc", 58 "test/app_list_presenter_impl_test_api.cc",
60 "test/app_list_presenter_impl_test_api.h", 59 "test/app_list_presenter_impl_test_api.h",
60 "test/test_app_list_presenter.cc",
61 "test/test_app_list_presenter.h",
62 "test/test_app_list_view_delegate_factory.cc",
63 "test/test_app_list_view_delegate_factory.h",
61 64
62 # Temporary dependency to fix compile flake in http://crbug.com/611898. 65 # Temporary dependency to fix compile flake in http://crbug.com/611898.
63 # TODO(tapted): Remove once http://crbug.com/612382 is fixed. 66 # TODO(tapted): Remove once http://crbug.com/612382 is fixed.
64 "//ui/accessibility:ax_gen", 67 "//ui/accessibility:ax_gen",
65 ] 68 ]
66 69
67 public_deps = [ 70 public_deps = [
71 ":mojom",
68 ":presenter", 72 ":presenter",
69 ] 73 ]
70 deps = [ 74 deps = [
71 "//base", 75 "//base",
76 "//mojo/public/cpp/bindings",
77 "//ui/app_list:test_support",
72 ] 78 ]
73 } 79 }
74 80
75 test("app_list_presenter_unittests") { 81 test("app_list_presenter_unittests") {
76 sources = [ 82 sources = [
77 "app_list_presenter_impl_unittest.cc", 83 "app_list_presenter_impl_unittest.cc",
78 "test/run_all_unittests.cc", 84 "test/run_all_unittests.cc",
79 ] 85 ]
80 86
81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 87 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
(...skipping 13 matching lines...) Expand all
95 101
96 # Temporary dependency to fix compile flake in http://crbug.com/611898. 102 # Temporary dependency to fix compile flake in http://crbug.com/611898.
97 # TODO(tapted): Remove once http://crbug.com/612382 is fixed. 103 # TODO(tapted): Remove once http://crbug.com/612382 is fixed.
98 "//ui/accessibility:ax_gen", 104 "//ui/accessibility:ax_gen",
99 ] 105 ]
100 106
101 data_deps = [ 107 data_deps = [
102 "//ui/resources:ui_test_pak_data", 108 "//ui/resources:ui_test_pak_data",
103 ] 109 ]
104 } 110 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/app_list/presenter/app_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698