summaryrefslogtreecommitdiffstats
path: root/build/config/chrome_build.gni
blob: de6c2c5ff468c1afad70d9289dd09ac1ef9005a7 (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
# Copyright 2015 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.

declare_args() {
  # Selects the desired build flavor. Official builds get additional
  # processing to prepare for release. Normally you will want to develop and
  # test with this flag off.
  is_official_build = false

  # Select the desired branding flavor. False means normal Chromium branding,
  # true means official Google Chrome branding (requires extra Google-internal
  # resources).
  is_chrome_branded = false

  # Break chrome.dll into multple pieces based on process type. Only available
  # on Windows.
  is_multi_dll_chrome = is_win && !is_component_build
}

# Refers to the subdirectory for branding in various places including
# chrome/app/theme.
if (is_chrome_branded) {
  branding_path_component = "google_chrome"
} else {
  branding_path_component = "chromium"
}