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