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 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/version.gni") | 8 import("//build/util/version.gni") |
9 import("//chrome/version.gni") | 9 import("//chrome/version.gni") |
10 | 10 |
11 if (current_cpu == "x86" || current_cpu == "x64") { | |
12 import("//media/cdm/ppapi/cdm_paths.gni") | |
13 } | |
14 | |
15 assert(is_linux && is_chrome_branded) | 11 assert(is_linux && is_chrome_branded) |
16 | 12 |
17 # This target builds all "normal" Linux installers. | 13 # This target builds all "normal" Linux installers. |
18 # GYP version: chrome/chrome_installer.gypi:linux_packages_all | 14 # GYP version: chrome/chrome_installer.gypi:linux_packages_all |
19 # | 15 # |
20 # The bot setup is to build stable, unstable, and beta packages for the current | 16 # The bot setup is to build stable, unstable, and beta packages for the current |
21 # build. Then a later step picks up the package corresponding to what the | 17 # build. Then a later step picks up the package corresponding to what the |
22 # current build is supposed to be. This is wasteful since one build will only | 18 # current build is supposed to be. This is wasteful since one build will only |
23 # be one of these. This build file also has targets for trunk and possibly asan | 19 # be one of these. This build file also has targets for trunk and possibly asan |
24 # installers. | 20 # installers. |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 213 |
218 "$root_out_dir/nacl_helper", | 214 "$root_out_dir/nacl_helper", |
219 "$root_out_dir/nacl_helper_bootstrap", | 215 "$root_out_dir/nacl_helper_bootstrap", |
220 "$root_out_dir/PepperFlash/libpepflashplayer.so", | 216 "$root_out_dir/PepperFlash/libpepflashplayer.so", |
221 "$root_out_dir/PepperFlash/manifest.json", | 217 "$root_out_dir/PepperFlash/manifest.json", |
222 ] | 218 ] |
223 | 219 |
224 if (current_cpu == "x86") { | 220 if (current_cpu == "x86") { |
225 packaging_files_binaries += [ | 221 packaging_files_binaries += [ |
226 "$root_out_dir/nacl_irt_x86_32.nexe", | 222 "$root_out_dir/nacl_irt_x86_32.nexe", |
227 "$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so", | 223 "$root_out_dir/libwidevinecdmadapter.so", |
228 "$root_out_dir/$widevine_cdm_path/libwidevinecdm.so", | 224 "$root_out_dir/libwidevinecdm.so", |
229 ] | 225 ] |
230 } else if (current_cpu == "x64") { | 226 } else if (current_cpu == "x64") { |
231 packaging_files_binaries += [ | 227 packaging_files_binaries += [ |
232 "$root_out_dir/nacl_irt_x86_64.nexe", | 228 "$root_out_dir/nacl_irt_x86_64.nexe", |
233 "$root_out_dir/$widevine_cdm_path/libwidevinecdmadapter.so", | 229 "$root_out_dir/libwidevinecdmadapter.so", |
234 "$root_out_dir/$widevine_cdm_path/libwidevinecdm.so", | 230 "$root_out_dir/libwidevinecdm.so", |
235 ] | 231 ] |
236 } else if (current_cpu == "arm") { | 232 } else if (current_cpu == "arm") { |
237 packaging_files_binaries += [ "$root_out_dir/nacl_irt_arm.nexe" ] | 233 packaging_files_binaries += [ "$root_out_dir/nacl_irt_arm.nexe" ] |
238 } | 234 } |
239 if (is_asan) { | 235 if (is_asan) { |
240 packaging_files_binaries += [ "$root_out_dir/lib/libc++.so" ] | 236 packaging_files_binaries += [ "$root_out_dir/lib/libc++.so" ] |
241 } | 237 } |
242 | 238 |
243 deb_target_name = "${target_name}_deb" | 239 deb_target_name = "${target_name}_deb" |
244 action(deb_target_name) { | 240 action(deb_target_name) { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 # Other packages that we support that aren't included in the default "linux" | 340 # Other packages that we support that aren't included in the default "linux" |
345 # target. | 341 # target. |
346 linux_package("trunk") { | 342 linux_package("trunk") { |
347 channel = "trunk" | 343 channel = "trunk" |
348 } | 344 } |
349 if (is_asan) { | 345 if (is_asan) { |
350 linux_package("asan") { | 346 linux_package("asan") { |
351 channel = "asan" | 347 channel = "asan" |
352 } | 348 } |
353 } | 349 } |
OLD | NEW |