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 | 6 |
| 7 declare_args() { |
| 8 enable_linux_installer = is_desktop_linux && is_chrome_branded |
| 9 } |
| 10 |
7 # Meta-target that forwards to the installer of the correct type (if any). | 11 # Meta-target that forwards to the installer of the correct type (if any). |
8 group("installer") { | 12 group("installer") { |
9 # We only make Linux installers for 64-bit desktop. | 13 if (enable_linux_installer) { |
10 if (is_desktop_linux && is_chrome_branded && target_cpu == "x64") { | |
11 deps = [ | 14 deps = [ |
12 "//chrome/installer/linux", | 15 "//chrome/installer/linux", |
13 ] | 16 ] |
14 } | 17 } |
15 | 18 |
16 if (is_mac) { | 19 if (is_mac) { |
17 deps = [ | 20 deps = [ |
18 "//chrome/installer/mac", | 21 "//chrome/installer/mac", |
19 ] | 22 ] |
20 } | 23 } |
21 } | 24 } |
OLD | NEW |