Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: build/config/chrome_build.gni

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Fix chromecast Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698