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