| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 # TODO(michaelpg): Dedupe with Chrome installer. | 5 # TODO(michaelpg): Dedupe with Chrome installer. |
| 6 | 6 |
| 7 import("//build/config/chrome_build.gni") | 7 import("//build/config/chrome_build.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
| 10 import("//build/config/sysroot.gni") | 10 import("//build/config/sysroot.gni") |
| 11 import("//build/util/version.gni") | 11 import("//build/util/version.gni") |
| 12 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 12 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
| 13 | 13 |
| 14 assert(is_desktop_linux) | 14 assert(is_desktop_linux) |
| 15 assert(current_cpu == "x64") | 15 assert(current_cpu == "x64") |
| 16 assert(enable_extensions, |
| 17 "Cannot depend on extensions because enable_extensions=false.") |
| 16 | 18 |
| 17 # The packages list the exact versions of each library used. The versions used | 19 # The packages list the exact versions of each library used. The versions used |
| 18 # on the bots are likely different than those on your workstation, so you'll | 20 # on the bots are likely different than those on your workstation, so you'll |
| 19 # get a stream of errors like: | 21 # get a stream of errors like: |
| 20 # < libasound2 (>= 1.0.23) | 22 # < libasound2 (>= 1.0.23) |
| 21 # --- | 23 # --- |
| 22 # > libasound2 (>= 1.0.16) | 24 # > libasound2 (>= 1.0.16) |
| 23 # | 25 # |
| 24 # To avoid these warnings for testing purposes, do: | 26 # To avoid these warnings for testing purposes, do: |
| 25 # | 27 # |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 # Other packages that we support that aren't included in the default "linux" | 213 # Other packages that we support that aren't included in the default "linux" |
| 212 # target. | 214 # target. |
| 213 linux_package("trunk") { | 215 linux_package("trunk") { |
| 214 channel = "trunk" | 216 channel = "trunk" |
| 215 } | 217 } |
| 216 if (is_asan) { | 218 if (is_asan) { |
| 217 linux_package("asan") { | 219 linux_package("asan") { |
| 218 channel = "asan" | 220 channel = "asan" |
| 219 } | 221 } |
| 220 } | 222 } |
| OLD | NEW |