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