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
3 # found in the LICENSE file.
7 ['OS=="linux" and branding=="Chrome" and enable_remoting_host==1 and chromeos==0', {
9 'build_deb_script': 'host/installer/linux/build-deb.sh',
10 'deb_filename': 'host/installer/<!(["<(build_deb_script)", "-p", "-s", "<(DEPTH)"])',
11 'packaging_outputs': [
13 '<!(echo <(deb_filename) | sed -e "s/.deb$/.changes/")',
14 '<(PRODUCT_DIR)/remoting_me2me_host.debug',
15 '<(PRODUCT_DIR)/remoting_start_host.debug',
16 '<(PRODUCT_DIR)/native_messaging_host.debug',
17 '<(PRODUCT_DIR)/remote_assistance_host.debug',
22 # Store the installer package(s) into a zip file so there is a
23 # consistent filename to reference for build archiving (i.e. in
24 # FILES.cfg). This also avoids possible conflicts with "wildcard"
25 # package handling in other build/signing scripts.
26 'target_name': 'remoting_me2me_host_archive',
29 'remoting_me2me_host_deb_installer',
33 'action_name': 'build_linux_installer_zip',
35 '<@(packaging_outputs)',
38 '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip',
40 'action': [ 'zip', '-j', '-0', '<@(_outputs)', '<@(_inputs)' ],
45 'target_name': 'remoting_me2me_host_deb_installer',
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',
54 'remoting_start_host',
58 'action_name': 'build_debian_package',
60 '<(build_deb_script)',
61 'host/installer/linux/Makefile',
62 'host/installer/linux/debian/chrome-remote-desktop.init',
63 'host/installer/linux/debian/chrome-remote-desktop.pam',
64 'host/installer/linux/debian/compat',
65 'host/installer/linux/debian/control',
66 'host/installer/linux/debian/copyright',
67 'host/installer/linux/debian/postinst',
68 'host/installer/linux/debian/preinst',
69 'host/installer/linux/debian/rules',
72 '<@(packaging_outputs)',
74 'action': [ '<(build_deb_script)', '-s', '<(DEPTH)' ],
79 }], # OS=="linux" and branding=="Chrome"
81 ['OS=="linux" and enable_remoting_host==1', {
83 # Linux breakpad processing
84 # The following target is disabled temporarily because it was failing
85 # on build bots. See crbug.com/386886 .
88 # 'target_name': 'remoting_linux_symbols',
91 # ['linux_dump_symbols==1', {
94 # 'action_name': 'dump_symbols',
96 # '<(DEPTH)/build/linux/dump_app_syms',
97 # '<(PRODUCT_DIR)/dump_syms',
98 # '<(PRODUCT_DIR)/remoting_me2me_host',
101 # '<(PRODUCT_DIR)/remoting_me2me_host.breakpad.<(target_arch)',
103 # 'action': ['<(DEPTH)/build/linux/dump_app_syms',
104 # '<(PRODUCT_DIR)/dump_syms',
105 # '<(linux_strip_binary)',
106 # '<(PRODUCT_DIR)/remoting_me2me_host',
108 # 'message': 'Dumping breakpad symbols to <(_outputs)',
109 # 'process_outputs_as_sources': 1,
113 # 'remoting_me2me_host',
114 # '../breakpad/breakpad.gyp:dump_syms',
116 # }], # 'linux_dump_symbols==1'
117 # ], # end of 'conditions'
118 # }, # end of target 'remoting_linux_symbols'
119 ], # end of 'targets'
122 ], # end of 'conditions'