summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/config/chrome_build.gni
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /third_party/libwebrtc/build/config/chrome_build.gni
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/build/config/chrome_build.gni')
-rw-r--r--third_party/libwebrtc/build/config/chrome_build.gni25
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/libwebrtc/build/config/chrome_build.gni b/third_party/libwebrtc/build/config/chrome_build.gni
new file mode 100644
index 0000000000..5c51d7f2cc
--- /dev/null
+++ b/third_party/libwebrtc/build/config/chrome_build.gni
@@ -0,0 +1,25 @@
+# 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() {
+ # 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
+}
+
+declare_args() {
+ # 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"
+ }
+}
+
+declare_args() {
+ # The path to the BRANDING file in chrome/app/theme.
+ branding_file_path = "//chrome/app/theme/$branding_path_component/BRANDING"
+}