OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="linux" and ( (branding=="Chrome" and enable_remoting_host==1 and chro meos==0) or (archive_chromoting_tests==1) )', { | 7 ['OS=="linux"', { |
8 | |
8 'variables': { | 9 'variables': { |
9 'build_deb_script': 'host/installer/linux/build-deb.sh', | 10 'build_deb_script': 'host/installer/linux/build-deb.sh', |
10 'deb_filename': 'host/installer/<!(["<(build_deb_script)", "-p", "-s", " <(DEPTH)"])', | 11 'deb_filename': 'host/installer/<!(["<(build_deb_script)", "-p", "-s", " <(DEPTH)"])', |
11 'packaging_outputs': [ | 12 'packaging_outputs': [ |
12 '<(deb_filename)', | 13 '<(deb_filename)', |
13 '<!(echo <(deb_filename) | sed -e "s/.deb$/.changes/")', | 14 '<!(echo <(deb_filename) | sed -e "s/.deb$/.changes/")', |
14 '<(PRODUCT_DIR)/remoting_me2me_host.debug', | 15 '<(PRODUCT_DIR)/remoting_me2me_host.debug', |
15 '<(PRODUCT_DIR)/remoting_start_host.debug', | 16 '<(PRODUCT_DIR)/remoting_start_host.debug', |
16 '<(PRODUCT_DIR)/native_messaging_host.debug', | 17 '<(PRODUCT_DIR)/native_messaging_host.debug', |
17 '<(PRODUCT_DIR)/remote_assistance_host.debug', | 18 '<(PRODUCT_DIR)/remote_assistance_host.debug', |
18 ] | 19 ] |
19 }, | 20 }, |
20 'targets': [ | 21 |
21 { | 22 'conditions': [ |
22 # Store the installer package(s) into a zip file so there is a | 23 ['(branding=="Chrome" and enable_remoting_host==1 and chromeos==0) or (a rchive_chromoting_tests==1)', { |
23 # consistent filename to reference for build archiving (i.e. in | 24 |
24 # FILES.cfg). This also avoids possible conflicts with "wildcard" | 25 'targets': [ |
25 # package handling in other build/signing scripts. | |
26 'target_name': 'remoting_me2me_host_archive', | |
27 'type': 'none', | |
28 'dependencies': [ | |
29 'remoting_me2me_host_deb_installer', | |
30 ], | |
31 'actions': [ | |
32 { | 26 { |
33 'action_name': 'build_linux_installer_zip', | 27 # Store the installer package(s) into a zip file so there is a |
34 'inputs': [ | 28 # consistent filename to reference for build archiving (i.e. in |
35 '<@(packaging_outputs)', | 29 # FILES.cfg). This also avoids possible conflicts with "wildcard" |
30 # package handling in other build/signing scripts. | |
31 'target_name': 'remoting_me2me_host_archive', | |
32 'type': 'none', | |
33 'dependencies': [ | |
34 'remoting_me2me_host_deb_installer', | |
36 ], | 35 ], |
37 'outputs': [ | 36 'actions': [ |
38 '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | 37 { |
38 'action_name': 'build_linux_installer_zip', | |
39 'inputs': [ | |
40 '<@(packaging_outputs)', | |
41 ], | |
42 'outputs': [ | |
43 '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', | |
44 ], | |
45 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ] , | |
46 }, | |
39 ], | 47 ], |
40 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ], | |
41 }, | 48 }, |
42 ], | |
43 }, | |
44 { | |
45 'target_name': 'remoting_me2me_host_deb_installer', | |
46 'type': 'none', | |
47 'dependencies': [ | |
48 '<(icu_gyp_path):icudata', | |
49 'remoting_it2me_native_messaging_host', | |
50 'remoting_me2me_host', | |
51 'remoting_me2me_native_messaging_host', | |
52 'remoting_native_messaging_manifests', | |
53 'remoting_resources', | |
54 'remoting_start_host', | |
55 ], | |
56 'actions': [ | |
57 { | 49 { |
58 'action_name': 'build_debian_package', | 50 'target_name': 'remoting_me2me_host_deb_installer', |
59 'inputs': [ | 51 'type': 'none', |
60 '<(build_deb_script)', | 52 'dependencies': [ |
61 'host/installer/linux/Makefile', | 53 '<(icu_gyp_path):icudata', |
62 'host/installer/linux/debian/chrome-remote-desktop.init', | 54 'remoting_it2me_native_messaging_host', |
63 'host/installer/linux/debian/chrome-remote-desktop.pam', | 55 'remoting_me2me_host', |
64 'host/installer/linux/debian/compat', | 56 'remoting_me2me_native_messaging_host', |
65 'host/installer/linux/debian/control', | 57 'remoting_native_messaging_manifests', |
66 'host/installer/linux/debian/copyright', | 58 'remoting_resources', |
67 'host/installer/linux/debian/postinst', | 59 'remoting_start_host', |
68 'host/installer/linux/debian/preinst', | |
69 'host/installer/linux/debian/rules', | |
70 ], | 60 ], |
71 'outputs': [ | 61 'actions': [ |
72 '<@(packaging_outputs)', | 62 { |
63 'action_name': 'build_debian_package', | |
64 'inputs': [ | |
65 '<(build_deb_script)', | |
66 'host/installer/linux/Makefile', | |
67 'host/installer/linux/debian/chrome-remote-desktop.init', | |
68 'host/installer/linux/debian/chrome-remote-desktop.pam', | |
69 'host/installer/linux/debian/compat', | |
70 'host/installer/linux/debian/control', | |
71 'host/installer/linux/debian/copyright', | |
72 'host/installer/linux/debian/postinst', | |
73 'host/installer/linux/debian/preinst', | |
74 'host/installer/linux/debian/rules', | |
75 ], | |
76 'outputs': [ | |
77 '<@(packaging_outputs)', | |
78 ], | |
79 'action': [ '<(build_deb_script)', '-s', '<(DEPTH)' ], | |
80 }, | |
73 ], | 81 ], |
74 'action': [ '<(build_deb_script)', '-s', '<(DEPTH)' ], | |
75 }, | 82 }, |
76 ], | 83 ], # end of 'targets' |
77 }, | 84 }, { |
78 ], | 85 # Dummy targets. |
79 }], # OS=="linux" and branding=="Chrome" | 86 'targets': [ |
87 { | |
88 'target_name': 'remoting_me2me_host_archive', | |
garykac
2015/02/03 23:44:56
New dummy target.
| |
89 'type': 'none', | |
90 }, | |
91 ], # end of 'targets' | |
92 }], # branding=="Chrome" | |
80 | 93 |
81 ['OS=="linux" and enable_remoting_host==1', { | 94 ['enable_remoting_host==1', { |
82 'targets': [ | 95 'targets': [ |
83 # Linux breakpad processing | 96 # Linux breakpad processing |
84 # The following target is disabled temporarily because it was failing | 97 # The following target is disabled temporarily because it was failing |
85 # on build bots. See crbug.com/386886 . | 98 # on build bots. See crbug.com/386886 . |
86 # | 99 # |
87 # { | 100 # { |
88 # 'target_name': 'remoting_linux_symbols', | 101 # 'target_name': 'remoting_linux_symbols', |
89 # 'type': 'none', | 102 # 'type': 'none', |
90 # 'conditions': [ | 103 # 'conditions': [ |
91 # ['linux_dump_symbols==1', { | 104 # ['linux_dump_symbols==1', { |
92 # 'actions': [ | 105 # 'actions': [ |
(...skipping 16 matching lines...) Expand all Loading... | |
109 # 'process_outputs_as_sources': 1, | 122 # 'process_outputs_as_sources': 1, |
110 # }, | 123 # }, |
111 # ], | 124 # ], |
112 # 'dependencies': [ | 125 # 'dependencies': [ |
113 # 'remoting_me2me_host', | 126 # 'remoting_me2me_host', |
114 # '../breakpad/breakpad.gyp:dump_syms', | 127 # '../breakpad/breakpad.gyp:dump_syms', |
115 # ], | 128 # ], |
116 # }], # 'linux_dump_symbols==1' | 129 # }], # 'linux_dump_symbols==1' |
117 # ], # end of 'conditions' | 130 # ], # end of 'conditions' |
118 # }, # end of target 'remoting_linux_symbols' | 131 # }, # end of target 'remoting_linux_symbols' |
119 ], # end of 'targets' | 132 ], # end of 'targets' |
120 }], # 'OS=="linux"' | 133 }], # 'enable_remoting_host==1' |
134 | |
135 ], # end of 'conditions' | |
136 }], # OS=="linux" | |
121 | 137 |
122 ], # end of 'conditions' | 138 ], # end of 'conditions' |
123 } | 139 } |
OLD | NEW |