| 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("//services/catalog/public/tools/catalog.gni") | 5 import("//services/catalog/public/tools/catalog.gni") |
| 6 import("//services/service_manager/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
| 7 | 7 |
| 8 source_set("mash") { | 8 source_set("mash") { |
| 9 sources = [ | 9 sources = [ |
| 10 "mash_runner.cc", | 10 "mash_runner.cc", |
| 11 "mash_runner.h", | 11 "mash_runner.h", |
| 12 ] | 12 ] |
| 13 deps = [ | 13 deps = [ |
| 14 ":catalog_cpp_source", |
| 14 "//base:i18n", | 15 "//base:i18n", |
| 15 "//components/tracing:startup_tracing", | 16 "//components/tracing:startup_tracing", |
| 16 "//content/public/common", | 17 "//content/public/common", |
| 17 "//mash/package", | 18 "//mash/package", |
| 18 "//mash/session/public/interfaces:constants", | 19 "//mash/session/public/interfaces:constants", |
| 19 "//services/catalog/public/interfaces", | 20 "//services/catalog/public/interfaces", |
| 20 "//services/service_manager", | 21 "//services/service_manager", |
| 21 "//services/service_manager/background:lib", | 22 "//services/service_manager/background:lib", |
| 22 "//services/service_manager/public/cpp", | 23 "//services/service_manager/public/cpp", |
| 23 "//services/service_manager/public/cpp/standalone_service", | 24 "//services/service_manager/public/cpp/standalone_service", |
| 24 "//services/service_manager/public/interfaces", | 25 "//services/service_manager/public/interfaces", |
| 25 "//services/service_manager/runner:init", | 26 "//services/service_manager/runner:init", |
| 26 "//services/service_manager/runner/common", | 27 "//services/service_manager/runner/common", |
| 27 "//services/service_manager/runner/host:lib", | 28 "//services/service_manager/runner/host:lib", |
| 28 "//services/service_manager/standalone", | 29 "//services/service_manager/standalone", |
| 29 "//url", | 30 "//url", |
| 30 ] | 31 ] |
| 31 data_deps = [ | |
| 32 ":catalog_copy", | |
| 33 "//chrome/app:service_manifests", | |
| 34 ] | |
| 35 | 32 |
| 36 if (is_chromeos) { | 33 if (is_chromeos) { |
| 37 sources += [ | 34 sources += [ |
| 38 "mash_crash_reporter_client.cc", | 35 "mash_crash_reporter_client.cc", |
| 39 "mash_crash_reporter_client.h", | 36 "mash_crash_reporter_client.h", |
| 40 ] | 37 ] |
| 41 deps += [ | 38 deps += [ |
| 42 "//ash/resources", | 39 "//ash/resources", |
| 43 "//components/crash/content/app", | 40 "//components/crash/content/app", |
| 44 "//components/crash/core/common", | 41 "//components/crash/core/common", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 73 if (is_linux && !is_android) { | 70 if (is_linux && !is_android) { |
| 74 packaged_services += [ "//components/font_service:manifest" ] | 71 packaged_services += [ "//components/font_service:manifest" ] |
| 75 } | 72 } |
| 76 } | 73 } |
| 77 | 74 |
| 78 catalog("catalog") { | 75 catalog("catalog") { |
| 79 embedded_services = [ ":mash_manifest" ] | 76 embedded_services = [ ":mash_manifest" ] |
| 80 catalog_deps = [ "//chrome/app:catalog" ] | 77 catalog_deps = [ "//chrome/app:catalog" ] |
| 81 } | 78 } |
| 82 | 79 |
| 83 copy("catalog_copy") { | 80 catalog_cpp_source("catalog_cpp_source") { |
| 84 sources = get_target_outputs(":catalog") | 81 catalog = ":catalog" |
| 85 outputs = [ | 82 output_symbol_name = "kChromeMashCatalogContents" |
| 86 "${root_out_dir}/chrome_mash_catalog.json", | |
| 87 ] | |
| 88 deps = [ | |
| 89 ":catalog", | |
| 90 ] | |
| 91 } | 83 } |
| OLD | NEW |