| # 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" |
| } |