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