| 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/process_version.gni") |
| 8 import("//build/util/version.gni") | 9 import("//build/util/version.gni") |
| 9 import("//chrome/version.gni") | 10 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
| 10 | 11 |
| 11 if (current_cpu == "x86" || current_cpu == "x64") { | 12 if (current_cpu == "x86" || current_cpu == "x64") { |
| 12 import("//media/cdm/ppapi/cdm_paths.gni") | 13 import("//media/cdm/ppapi/cdm_paths.gni") |
| 13 } | 14 } |
| 14 | 15 |
| 15 assert(is_linux && is_chrome_branded) | 16 assert(is_linux && is_chrome_branded) |
| 16 | 17 |
| 17 # This target builds all "normal" Linux installers. | 18 # This target builds all "normal" Linux installers. |
| 18 # GYP version: chrome/chrome_installer.gypi:linux_packages_all | 19 # GYP version: chrome/chrome_installer.gypi:linux_packages_all |
| 19 # | 20 # |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 ] | 144 ] |
| 144 outputs = [ | 145 outputs = [ |
| 145 "$root_out_dir/installer/rpm/{{source_file_part}}", | 146 "$root_out_dir/installer/rpm/{{source_file_part}}", |
| 146 ] | 147 ] |
| 147 } | 148 } |
| 148 } | 149 } |
| 149 | 150 |
| 150 process_version("save_build_info") { | 151 process_version("save_build_info") { |
| 151 # Just output the default version info variables (no template). | 152 # Just output the default version info variables (no template). |
| 152 process_only = true | 153 process_only = true |
| 154 sources = [ |
| 155 "//chrome/VERSION", |
| 156 branding_file_path, |
| 157 ] |
| 153 output = "$root_out_dir/installer/version.txt" | 158 output = "$root_out_dir/installer/version.txt" |
| 154 } | 159 } |
| 155 | 160 |
| 156 # Dependencies for all Linux installer targets. | 161 # Dependencies for all Linux installer targets. |
| 157 group("installer_deps") { | 162 group("installer_deps") { |
| 158 # Though many of these things appear in data_deps further down the | 163 # Though many of these things appear in data_deps further down the |
| 159 # dependency chain, they must appear here as public_deps so that they can | 164 # dependency chain, they must appear here as public_deps so that they can |
| 160 # be listed as inputs to the actions that depend on ":installer_deps" | 165 # be listed as inputs to the actions that depend on ":installer_deps" |
| 161 # and are guaranteed to have been built before those actions run. | 166 # and are guaranteed to have been built before those actions run. |
| 162 | 167 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 # Other packages that we support that aren't included in the default "linux" | 346 # Other packages that we support that aren't included in the default "linux" |
| 342 # target. | 347 # target. |
| 343 linux_package("trunk") { | 348 linux_package("trunk") { |
| 344 channel = "trunk" | 349 channel = "trunk" |
| 345 } | 350 } |
| 346 if (is_asan) { | 351 if (is_asan) { |
| 347 linux_package("asan") { | 352 linux_package("asan") { |
| 348 channel = "asan" | 353 channel = "asan" |
| 349 } | 354 } |
| 350 } | 355 } |
| OLD | NEW |