| 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 | |
| 7 # processing to prepare for release. Normally you will want to develop and | |
| 8 # test with this flag off. | |
| 9 is_official_build = false | |
| 10 | |
| 11 # Select the desired branding flavor. False means normal Chromium branding, | 6 # Select the desired branding flavor. False means normal Chromium branding, |
| 12 # true means official Google Chrome branding (requires extra Google-internal | 7 # true means official Google Chrome branding (requires extra Google-internal |
| 13 # resources). | 8 # resources). |
| 14 is_chrome_branded = false | 9 is_chrome_branded = false |
| 15 | 10 |
| 16 # Break chrome.dll into multple pieces based on process type. Only available | 11 # Break chrome.dll into multple pieces based on process type. Only available |
| 17 # on Windows. | 12 # on Windows. |
| 18 is_multi_dll_chrome = is_win && !is_component_build | 13 is_multi_dll_chrome = is_win && !is_component_build |
| 19 } | 14 } |
| 20 | 15 |
| 21 # Refers to the subdirectory for branding in various places including | 16 # Refers to the subdirectory for branding in various places including |
| 22 # chrome/app/theme. | 17 # chrome/app/theme. |
| 23 if (is_chrome_branded) { | 18 if (is_chrome_branded) { |
| 24 branding_path_component = "google_chrome" | 19 branding_path_component = "google_chrome" |
| 25 } else { | 20 } else { |
| 26 branding_path_component = "chromium" | 21 branding_path_component = "chromium" |
| 27 } | 22 } |
| OLD | NEW |