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