| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//services/shell/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
| 7 import("//services/shell/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
| 10 | 10 |
| 11 source_set("lib") { | 11 source_set("lib") { |
| 12 testonly = true | 12 testonly = true |
| 13 sources = [ | 13 sources = [ |
| 14 "browser.cc", | 14 "browser.cc", |
| 15 "browser.h", | 15 "browser.h", |
| 16 "debug_view.cc", | 16 "debug_view.cc", |
| 17 "debug_view.h", | 17 "debug_view.h", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//mash/public/interfaces", | 22 "//mash/public/interfaces", |
| 23 "//mojo/public/cpp/bindings", | 23 "//mojo/public/cpp/bindings", |
| 24 "//services/catalog/public/interfaces", | 24 "//services/catalog/public/interfaces", |
| 25 "//services/navigation/public/cpp", | 25 "//services/navigation/public/cpp", |
| 26 "//services/navigation/public/interfaces", | 26 "//services/navigation/public/interfaces", |
| 27 "//services/shell/public/cpp", | 27 "//services/service_manager/public/cpp", |
| 28 "//services/shell/public/interfaces", | 28 "//services/service_manager/public/interfaces", |
| 29 "//services/tracing/public/cpp", | 29 "//services/tracing/public/cpp", |
| 30 "//services/ui/public/cpp", | 30 "//services/ui/public/cpp", |
| 31 "//ui/gfx/geometry/mojo", | 31 "//ui/gfx/geometry/mojo", |
| 32 "//ui/native_theme", | 32 "//ui/native_theme", |
| 33 "//ui/views", | 33 "//ui/views", |
| 34 "//ui/views/mus:for_mojo_application", | 34 "//ui/views/mus:for_mojo_application", |
| 35 "//url", | 35 "//url", |
| 36 ] | 36 ] |
| 37 | 37 |
| 38 data_deps = [ | 38 data_deps = [ |
| 39 "//services/navigation", | 39 "//services/navigation", |
| 40 ] | 40 ] |
| 41 } | 41 } |
| 42 | 42 |
| 43 service("browser") { | 43 service("browser") { |
| 44 testonly = true | 44 testonly = true |
| 45 sources = [ | 45 sources = [ |
| 46 "main.cc", | 46 "main.cc", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 deps = [ | 49 deps = [ |
| 50 ":lib", | 50 ":lib", |
| 51 "//services/shell/public/cpp", | 51 "//services/service_manager/public/cpp", |
| 52 "//ui/views/mus:for_mojo_application", | 52 "//ui/views/mus:for_mojo_application", |
| 53 ] | 53 ] |
| 54 | 54 |
| 55 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 55 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
| 56 | 56 |
| 57 data_deps = [ | 57 data_deps = [ |
| 58 ":manifest", | 58 ":manifest", |
| 59 "//services/ui", | 59 "//services/ui", |
| 60 ] | 60 ] |
| 61 } | 61 } |
| 62 | 62 |
| 63 service_manifest("manifest") { | 63 service_manifest("manifest") { |
| 64 name = "browser" | 64 name = "browser" |
| 65 source = "manifest.json" | 65 source = "manifest.json" |
| 66 } | 66 } |
| OLD | NEW |