summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/config/chrome_build.gni
diff options
context:
space:
mode:
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"
+}