chrome_build.gni 779 B

12345678910111213141516171819202122232425
  1. # Copyright 2015 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. declare_args() {
  5. # Select the desired branding flavor. False means normal Chromium branding,
  6. # true means official Google Chrome branding (requires extra Google-internal
  7. # resources).
  8. is_chrome_branded = false
  9. }
  10. declare_args() {
  11. # Refers to the subdirectory for branding in various places including
  12. # chrome/app/theme.
  13. if (is_chrome_branded) {
  14. branding_path_component = "google_chrome"
  15. } else {
  16. branding_path_component = "chromium"
  17. }
  18. }
  19. declare_args() {
  20. # The path to the BRANDING file in chrome/app/theme.
  21. branding_file_path = "//chrome/app/theme/$branding_path_component/BRANDING"
  22. }