| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 # TODO(msw): Port unit/app tests: model, view, tooltip_manager, etc. |
| 9 mojo_native_application("shelf") { | 10 mojo_native_application("shelf") { |
| 10 sources = [ | 11 sources = [ |
| 11 "main.cc", | 12 "main.cc", |
| 12 "shelf_application.cc", | 13 "shelf_application.cc", |
| 13 "shelf_application.h", | 14 "shelf_application.h", |
| 15 "shelf_button.cc", |
| 16 "shelf_button.h", |
| 17 "shelf_button_host.h", |
| 18 "shelf_constants.cc", |
| 19 "shelf_constants.h", |
| 20 "shelf_item_types.cc", |
| 21 "shelf_item_types.h", |
| 22 "shelf_model.cc", |
| 23 "shelf_model.h", |
| 24 "shelf_model_observer.h", |
| 25 "shelf_tooltip_manager.cc", |
| 26 "shelf_tooltip_manager.h", |
| 27 "shelf_types.h", |
| 14 "shelf_view.cc", | 28 "shelf_view.cc", |
| 15 "shelf_view.h", | 29 "shelf_view.h", |
| 16 ] | 30 ] |
| 17 | 31 |
| 18 deps = [ | 32 deps = [ |
| 19 "//base", | 33 "//base", |
| 20 "//components/mus/public/cpp", | 34 "//components/mus/public/cpp", |
| 21 "//components/mus/public/interfaces", | 35 "//components/mus/public/interfaces", |
| 22 "//mash/wm/public/interfaces", | 36 "//mash/wm/public/interfaces", |
| 23 "//mojo/common:common_base", | 37 "//mojo/common:common_base", |
| 24 "//mojo/services/tracing/public/cpp", | 38 "//mojo/services/tracing/public/cpp", |
| 25 "//mojo/shell/public/cpp", | 39 "//mojo/shell/public/cpp", |
| 26 "//skia", | 40 "//skia", |
| 41 "//ui/accessibility", |
| 27 "//ui/aura", | 42 "//ui/aura", |
| 43 "//ui/resources", |
| 28 "//ui/views", | 44 "//ui/views", |
| 29 "//ui/views/mus:for_mojo_application", | 45 "//ui/views/mus:for_mojo_application", |
| 46 "//ui/wm", |
| 30 ] | 47 ] |
| 31 | 48 |
| 32 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 49 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
| 33 | 50 |
| 34 data_deps = [ | 51 data_deps = [ |
| 35 "//components/mus", | 52 "//components/mus", |
| 36 ] | 53 ] |
| 37 } | 54 } |
| OLD | NEW |