| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 declare_args() { | 5 declare_args() { |
| 6 # Selects the desired build flavor. Official builds get additional | 6 # Selects the desired build flavor. Official builds get additional |
| 7 # processing to prepare for release. Normally you will want to develop and | 7 # processing to prepare for release. Normally you will want to develop and |
| 8 # test with this flag off. | 8 # test with this flag off. |
| 9 is_official_build = false | 9 is_official_build = false |
| 10 | 10 |
| 11 # Select the desired branding flavor. False means normal Chromium branding, | 11 # Select the desired branding flavor. False means normal Chromium branding, |
| 12 # true means official Google Chrome branding (requires extra Google-internal | 12 # true means official Google Chrome branding (requires extra Google-internal |
| 13 # resources). | 13 # resources). |
| 14 is_chrome_branded = false | 14 is_chrome_branded = false |
| 15 | 15 |
| 16 # Break chrome.dll into multple pieces based on process type. Only available | 16 # Break chrome.dll into multple pieces based on process type. Only available |
| 17 # on Windows. | 17 # on Windows. |
| 18 is_multi_dll_chrome = is_win && !is_component_build | 18 is_multi_dll_chrome = is_win && !is_component_build |
| 19 } | 19 } |
| 20 |
| 21 # Refers to the subdirectory for branding in various places including |
| 22 # chrome/app/theme. |
| 23 if (is_chrome_branded) { |
| 24 branding_path_component = "google_chrome" |
| 25 } else { |
| 26 branding_path_component = "chromium" |
| 27 } |
| OLD | NEW |