| Index: chrome/BUILD.gn
|
| diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
|
| index 3ebcf1329c2cc7b8354ebe439b6d4c1376b9f75b..ff0a54f2a666b57b781dd01a26717bd7cca7339d 100644
|
| --- a/chrome/BUILD.gn
|
| +++ b/chrome/BUILD.gn
|
| @@ -2,6 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//build/buildflag_header.gni")
|
| import("//build/config/chrome_build.gni")
|
| import("//build/config/compiler/compiler.gni")
|
| import("//build/config/features.gni")
|
| @@ -11,6 +12,7 @@ import("//build/config/ui.gni")
|
| import("//build/config/win/console_app.gni")
|
| import("//build/config/win/manifest.gni")
|
| import("//chrome/chrome_repack_locales.gni")
|
| +import("//chrome/package_mash_services.gni")
|
| import("//chrome/version.gni")
|
|
|
| declare_args() {
|
| @@ -186,6 +188,7 @@ if (!is_android) {
|
| }
|
|
|
| public_deps = [
|
| + ":features",
|
| ":xdg_mime", # Needs to be public for installer to consume files.
|
| ]
|
|
|
| @@ -204,6 +207,10 @@ if (!is_android) {
|
| "//build/config/linux:xext",
|
| ]
|
| }
|
| +
|
| + if (enable_package_mash_services) {
|
| + deps += [ "//chrome/app/mash" ]
|
| + }
|
| }
|
|
|
| if (is_mac) {
|
| @@ -292,6 +299,7 @@ if (is_mac || is_win) {
|
|
|
| deps = [
|
| ":browser_dependencies",
|
| + ":features",
|
| "//build/config/sanitizers:deps",
|
| ]
|
| if (is_win) {
|
| @@ -369,6 +377,10 @@ if (is_mac || is_win) {
|
| if (enable_plugins && enable_pdf && !is_multi_dll_chrome) {
|
| deps += [ "//pdf" ]
|
| }
|
| +
|
| + if (enable_package_mash_services) {
|
| + deps += [ "//chrome/app/mash" ]
|
| + }
|
| }
|
|
|
| if (is_multi_dll_chrome) {
|
| @@ -1097,3 +1109,8 @@ if (is_linux) {
|
| ]
|
| }
|
| }
|
| +
|
| +buildflag_header("features") {
|
| + header = "chrome_features.h"
|
| + flags = [ "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services" ]
|
| +}
|
|
|