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

Unified Diff: chrome/installer/BUILD.gn

Issue 2395673002: Allow linux installer to be build without chrome branding (Closed)
Patch Set: . Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/installer/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/BUILD.gn
diff --git a/chrome/installer/BUILD.gn b/chrome/installer/BUILD.gn
index 1bd34f40b7622dfe9cd91b03b4683962241a8453..cb21bb36b6f6c8aeb72c62ccdad5c6d7f1c7fa7a 100644
--- a/chrome/installer/BUILD.gn
+++ b/chrome/installer/BUILD.gn
@@ -4,10 +4,13 @@
import("//build/config/chrome_build.gni")
+declare_args() {
+ enable_linux_installer = is_desktop_linux && is_chrome_branded
+}
+
# Meta-target that forwards to the installer of the correct type (if any).
group("installer") {
- # We only make Linux installers for 64-bit desktop.
- if (is_desktop_linux && is_chrome_branded && target_cpu == "x64") {
+ if (enable_linux_installer) {
deps = [
"//chrome/installer/linux",
]
« no previous file with comments | « no previous file | chrome/installer/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698