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

Side by Side Diff: chrome/installer/linux/BUILD.gn

Issue 2478973002: Fix libc++ dependency for linux installer (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/util/process_version.gni") 8 import("//build/util/process_version.gni")
9 import("//build/util/version.gni") 9 import("//build/util/version.gni")
10 import("//chrome/process_version_rc_template.gni") # For branding_file_path. 10 import("//chrome/process_version_rc_template.gni") # For branding_file_path.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 if (current_cpu == "x86" || current_cpu == "x64") { 194 if (current_cpu == "x86" || current_cpu == "x64") {
195 public_deps += [ 195 public_deps += [
196 "//third_party/widevine/cdm:widevinecdm", 196 "//third_party/widevine/cdm:widevinecdm",
197 "//third_party/widevine/cdm:widevinecdmadapter", 197 "//third_party/widevine/cdm:widevinecdmadapter",
198 ] 198 ]
199 } 199 }
200 if (!is_chromeos) { 200 if (!is_chromeos) {
201 public_deps += [ ":rpm_packaging_files" ] 201 public_deps += [ ":rpm_packaging_files" ]
202 } 202 }
203 if (use_custom_libcxx) {
204 public_deps += [ "//buildtools/third_party/libc++" ]
205 }
203 } 206 }
204 207
205 # Creates .deb and .rpm (RPM for non-ChromeOS only) installer packages. 208 # Creates .deb and .rpm (RPM for non-ChromeOS only) installer packages.
206 # 209 #
207 # channel: 210 # channel:
208 # Name of the channel. 211 # Name of the channel.
209 template("linux_package") { 212 template("linux_package") {
210 assert(defined(invoker.channel)) 213 assert(defined(invoker.channel))
211 channel = invoker.channel 214 channel = invoker.channel
212 215
(...skipping 26 matching lines...) Expand all
239 } 242 }
240 243
241 # The widevine BUILD.gn only produces shared libraries for x86 and x64 244 # The widevine BUILD.gn only produces shared libraries for x86 and x64
242 if (is_chrome_branded && (current_cpu == "x86" || current_cpu == "x64")) { 245 if (is_chrome_branded && (current_cpu == "x86" || current_cpu == "x64")) {
243 packaging_files_binaries += [ 246 packaging_files_binaries += [
244 "$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so", 247 "$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so",
245 "$root_out_dir/$widevine_cdm_path/libwidevinecdm.so", 248 "$root_out_dir/$widevine_cdm_path/libwidevinecdm.so",
246 ] 249 ]
247 } 250 }
248 251
249 if (is_asan) { 252 if (use_custom_libcxx) {
250 packaging_files_binaries += [ "$root_out_dir/lib/libc++.so" ] 253 packaging_files_binaries += [ "$root_out_dir/libc++.so" ]
251 } 254 }
252 255
253 deb_target_name = "${target_name}_deb" 256 deb_target_name = "${target_name}_deb"
254 action(deb_target_name) { 257 action(deb_target_name) {
255 visibility = [ ":*" ] 258 visibility = [ ":*" ]
256 script = "flock_make_package.py" 259 script = "flock_make_package.py"
257 260
258 if (current_cpu == "x86") { 261 if (current_cpu == "x86") {
259 deb_arch = "i386" 262 deb_arch = "i386"
260 } else if (current_cpu == "x64") { 263 } else if (current_cpu == "x64") {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 # Other packages that we support that aren't included in the default "linux" 357 # Other packages that we support that aren't included in the default "linux"
355 # target. 358 # target.
356 linux_package("trunk") { 359 linux_package("trunk") {
357 channel = "trunk" 360 channel = "trunk"
358 } 361 }
359 if (is_asan) { 362 if (is_asan) {
360 linux_package("asan") { 363 linux_package("asan") {
361 channel = "asan" 364 channel = "asan"
362 } 365 }
363 } 366 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698