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

Unified Diff: chrome/installer/linux/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 | « chrome/installer/BUILD.gn ('k') | chrome/installer/linux/debian/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/BUILD.gn
diff --git a/chrome/installer/linux/BUILD.gn b/chrome/installer/linux/BUILD.gn
index ae73272739764b2b27ba4c031f20ed2361a36f7e..d1c811477d6413bb55183c515f748ac5379d7b76 100644
--- a/chrome/installer/linux/BUILD.gn
+++ b/chrome/installer/linux/BUILD.gn
@@ -13,7 +13,7 @@ if (current_cpu == "x86" || current_cpu == "x64") {
import("//media/cdm/ppapi/cdm_paths.gni")
}
-assert(is_linux && is_chrome_branded)
+assert(is_linux)
# This target builds all "normal" Linux installers.
#
@@ -72,7 +72,6 @@ copy("common_packaging_files") {
"common/default-app-block.template",
"common/default-app.template",
"common/desktop.template",
- "common/google-chrome/google-chrome.info",
"common/installer.include",
"common/postinst.include",
"common/prerm.include",
@@ -84,6 +83,12 @@ copy("common_packaging_files") {
"common/wrapper",
]
+ if (is_chrome_branded) {
+ sources += [ "common/google-chrome/google-chrome.info" ]
+ } else {
+ sources += [ "common/chromium-browser/chromium-browser.info" ]
+ }
+
if (current_cpu == "x86") {
sources += [ "//build/linux/bin/eu-strip" ]
} else if (current_cpu == "x64") {
@@ -224,20 +229,20 @@ template("linux_package") {
]
if (current_cpu == "x86") {
- packaging_files_binaries += [
- "$root_out_dir/nacl_irt_x86_32.nexe",
- "$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so",
- "$root_out_dir/$widevine_cdm_path/libwidevinecdm.so",
- ]
+ packaging_files_binaries += [ "$root_out_dir/nacl_irt_x86_32.nexe" ]
} else if (current_cpu == "x64") {
+ packaging_files_binaries += [ "$root_out_dir/nacl_irt_x86_64.nexe" ]
+ } else if (current_cpu == "arm") {
+ packaging_files_binaries += [ "$root_out_dir/nacl_irt_arm.nexe" ]
+ }
+
+ if (is_chrome_branded) {
packaging_files_binaries += [
- "$root_out_dir/nacl_irt_x86_64.nexe",
"$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so",
"$root_out_dir/$widevine_cdm_path/libwidevinecdm.so",
]
- } else if (current_cpu == "arm") {
- packaging_files_binaries += [ "$root_out_dir/nacl_irt_arm.nexe" ]
}
+
if (is_asan) {
packaging_files_binaries += [ "$root_out_dir/lib/libc++.so" ]
}
« no previous file with comments | « chrome/installer/BUILD.gn ('k') | chrome/installer/linux/debian/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698