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/config/sysroot.gni") |
8 import("//build/util/process_version.gni") | 9 import("//build/util/process_version.gni") |
9 import("//build/util/version.gni") | 10 import("//build/util/version.gni") |
10 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 11 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
11 | 12 |
12 if (current_cpu == "x86" || current_cpu == "x64") { | 13 if (current_cpu == "x86" || current_cpu == "x64") { |
13 import("//media/cdm/ppapi/cdm_paths.gni") | 14 import("//media/cdm/ppapi/cdm_paths.gni") |
14 } | 15 } |
15 | 16 |
16 assert(is_linux) | 17 assert(is_linux) |
17 | 18 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 ] | 101 ] |
101 } | 102 } |
102 | 103 |
103 copy("deb_packaging_files") { | 104 copy("deb_packaging_files") { |
104 visibility = [ ":*" ] | 105 visibility = [ ":*" ] |
105 sources = [ | 106 sources = [ |
106 "debian/build.sh", | 107 "debian/build.sh", |
107 "debian/changelog.template", | 108 "debian/changelog.template", |
108 "debian/control.template", | 109 "debian/control.template", |
109 "debian/debian.menu", | 110 "debian/debian.menu", |
110 "debian/expected_deps_ia32_precise", | 111 "debian/expected_deps_ia32_jessie", |
111 "debian/expected_deps_ia32_trusty", | 112 "debian/expected_deps_ia32_wheezy", |
112 "debian/expected_deps_x64_precise", | 113 "debian/expected_deps_x64_jessie", |
113 "debian/expected_deps_x64_trusty", | 114 "debian/expected_deps_x64_wheezy", |
114 "debian/postinst", | 115 "debian/postinst", |
115 "debian/postrm", | 116 "debian/postrm", |
116 "debian/prerm", | 117 "debian/prerm", |
117 ] | 118 ] |
118 outputs = [ | 119 outputs = [ |
119 "$root_out_dir/installer/debian/{{source_file_part}}", | 120 "$root_out_dir/installer/debian/{{source_file_part}}", |
120 ] | 121 ] |
121 } | 122 } |
122 | 123 |
123 copy("theme_files") { | 124 copy("theme_files") { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "-o", | 276 "-o", |
276 rebase_path(root_out_dir, root_build_dir), | 277 rebase_path(root_out_dir, root_build_dir), |
277 "-b", | 278 "-b", |
278 rebase_path(root_out_dir, root_build_dir), | 279 rebase_path(root_out_dir, root_build_dir), |
279 "-a", | 280 "-a", |
280 build_script_arch, | 281 build_script_arch, |
281 "-c", | 282 "-c", |
282 invoker.channel, | 283 invoker.channel, |
283 "-d", | 284 "-d", |
284 branding_path_component, | 285 branding_path_component, |
| 286 "-s", |
| 287 rebase_path(sysroot), |
| 288 "-e", |
| 289 rebase_path("//third_party/dpkg-dev"), |
285 ] | 290 ] |
286 deps = [ | 291 deps = [ |
287 ":installer_deps", | 292 ":installer_deps", |
288 ] | 293 ] |
289 } | 294 } |
290 | 295 |
291 if (!is_chromeos) { | 296 if (!is_chromeos) { |
292 rpm_target_name = "${target_name}_rpm" | 297 rpm_target_name = "${target_name}_rpm" |
293 action(rpm_target_name) { | 298 action(rpm_target_name) { |
294 visibility = [ ":*" ] | 299 visibility = [ ":*" ] |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 # Other packages that we support that aren't included in the default "linux" | 358 # Other packages that we support that aren't included in the default "linux" |
354 # target. | 359 # target. |
355 linux_package("trunk") { | 360 linux_package("trunk") { |
356 channel = "trunk" | 361 channel = "trunk" |
357 } | 362 } |
358 if (is_asan) { | 363 if (is_asan) { |
359 linux_package("asan") { | 364 linux_package("asan") { |
360 channel = "asan" | 365 channel = "asan" |
361 } | 366 } |
362 } | 367 } |
OLD | NEW |