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 |
6 # Select the desired branding flavor. False means normal Chromium branding, | 11 # Select the desired branding flavor. False means normal Chromium branding, |
7 # true means official Google Chrome branding (requires extra Google-internal | 12 # true means official Google Chrome branding (requires extra Google-internal |
8 # resources). | 13 # resources). |
9 is_chrome_branded = false | 14 is_chrome_branded = false |
10 | 15 |
11 # 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 |
12 # on Windows. | 17 # on Windows. |
13 is_multi_dll_chrome = is_win && !is_component_build | 18 is_multi_dll_chrome = is_win && !is_component_build |
14 } | 19 } |
15 | 20 |
16 # Refers to the subdirectory for branding in various places including | 21 # Refers to the subdirectory for branding in various places including |
17 # chrome/app/theme. | 22 # chrome/app/theme. |
18 if (is_chrome_branded) { | 23 if (is_chrome_branded) { |
19 branding_path_component = "google_chrome" | 24 branding_path_component = "google_chrome" |
20 } else { | 25 } else { |
21 branding_path_component = "chromium" | 26 branding_path_component = "chromium" |
22 } | 27 } |
OLD | NEW |