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() { | 7 declare_args() { |
8 enable_linux_installer = is_desktop_linux && is_chrome_branded | 8 enable_linux_installer = is_linux && is_chrome_branded |
9 } | 9 } |
10 | 10 |
11 # 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). |
12 group("installer") { | 12 group("installer") { |
13 if (enable_linux_installer) { | 13 if (enable_linux_installer) { |
14 deps = [ | 14 deps = [ |
15 "//chrome/installer/linux", | 15 "//chrome/installer/linux", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 if (is_mac) { | 19 if (is_mac) { |
20 deps = [ | 20 deps = [ |
21 "//chrome/installer/mac", | 21 "//chrome/installer/mac", |
22 ] | 22 ] |
23 } | 23 } |
24 } | 24 } |
OLD | NEW |