summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/buildflags.gni
blob: 8c19e707371c7ad4fbcd46d58b147de3bfc89790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chrome_build.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/toolchain/gcc_toolchain.gni")
import("//chromecast/chromecast.gni")

declare_args() {
  # Chromium Updater is a cross-platform updater for desktop clients built using
  # Chromium code and tools. Code is in //chrome/updater. The design doc is
  # located at http://bit.ly/chromium-updater. Chrome is currently installed and
  # updated with proprietary updater (Omaha & Keystone). This build flag allows
  # integration with the open source, cross-platform Chromium updater.
  # TODO(crbug.com/1054060)
  enable_chromium_updater = false

  # TODO(stahon@microsoft.com) Remove this when app_session_service is enabled
  # across the board. Until then, this buildflag allows some platforms to use
  # app_session_service and some not.
  enable_app_session_service =
      !(is_chromeos_lacros || is_chromecast || is_android)
}

# If true, the resource .pak files will be hashed and the digest will be
# embedded in the binary and checked at run-time. This is incompatible with
# enable_resource_allowlist_generation on Windows because it creates a circular
# dependency with chrome_dll.
enable_pak_file_integrity_checks =
    !(enable_resource_allowlist_generation && is_win) && !is_android