| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 | 8 |
| 9 # Set this to run the jscompile checks after building the webapp. | 9 # Set this to run the jscompile checks after building the webapp. |
| 10 'run_jscompile%': 0, | 10 'run_jscompile%': 0, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 # already. | 44 # already. |
| 45 # The IDs are not random to avoid rebuilding host when it's not | 45 # The IDs are not random to avoid rebuilding host when it's not |
| 46 # necessary. | 46 # necessary. |
| 47 'daemon_controller_clsid': | 47 'daemon_controller_clsid': |
| 48 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'655bd819-c0
8c-4b04-80c2-f160739ff6ef\'), \'<(version_full)\')")', | 48 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'655bd819-c0
8c-4b04-80c2-f160739ff6ef\'), \'<(version_full)\')")', |
| 49 'rdp_desktop_session_clsid': | 49 'rdp_desktop_session_clsid': |
| 50 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'6a7699f0-ee
43-43e7-aa30-a6738f9bd470\'), \'<(version_full)\')")', | 50 '<!(python -c "import uuid; print uuid.uuid5(uuid.UUID(\'6a7699f0-ee
43-43e7-aa30-a6738f9bd470\'), \'<(version_full)\')")', |
| 51 }], | 51 }], |
| 52 ], | 52 ], |
| 53 'remoting_locales': [ | 53 'remoting_locales': [ |
| 54 # Note: list duplicated in GN build. See //remoting/resources/BUILD.gn |
| 54 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', | 55 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', |
| 55 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', | 56 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', |
| 56 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', | 57 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', |
| 57 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', | 58 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', |
| 58 'zh-CN', 'zh-TW', | 59 'zh-CN', 'zh-TW', |
| 59 ], | 60 ], |
| 60 'remoting_host_locale_files': [ | 61 'remoting_host_locale_files': [ |
| 61 # Build the list of .pak files generated from remoting_strings.grd. | 62 # Build the list of .pak files generated from remoting_strings.grd. |
| 62 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x ' | 63 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x ' |
| 63 '<(PRODUCT_DIR) <(remoting_locales))', | 64 '<(PRODUCT_DIR) <(remoting_locales))', |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 }], | 143 }], |
| 143 ['OS=="win"', { | 144 ['OS=="win"', { |
| 144 'dependencies': [ | 145 'dependencies': [ |
| 145 '../breakpad/breakpad.gyp:breakpad_handler', | 146 '../breakpad/breakpad.gyp:breakpad_handler', |
| 146 ], | 147 ], |
| 147 }], | 148 }], |
| 148 ], | 149 ], |
| 149 }, # end of target 'remoting_breakpad' | 150 }, # end of target 'remoting_breakpad' |
| 150 | 151 |
| 151 { | 152 { |
| 153 # GN version: //remoting/resources |
| 152 'target_name': 'remoting_resources', | 154 'target_name': 'remoting_resources', |
| 153 'type': 'none', | 155 'type': 'none', |
| 154 'dependencies': [ | 156 'dependencies': [ |
| 155 'remoting_webapp_html', | 157 'remoting_webapp_html', |
| 156 ], | 158 ], |
| 157 'variables': { | 159 'variables': { |
| 158 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', | 160 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 159 'grit_resource_ids': 'resources/resource_ids', | 161 'grit_resource_ids': 'resources/resource_ids', |
| 160 'sources': [ | 162 'sources': [ |
| 161 '<(SHARED_INTERMEDIATE_DIR)/main.html', | 163 '<(SHARED_INTERMEDIATE_DIR)/main.html', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 176 'webapp/host_setup_dialog.js', | 178 'webapp/host_setup_dialog.js', |
| 177 'webapp/host_table_entry.js', | 179 'webapp/host_table_entry.js', |
| 178 'webapp/manifest.json.jinja2', | 180 'webapp/manifest.json.jinja2', |
| 179 'webapp/paired_client_manager.js', | 181 'webapp/paired_client_manager.js', |
| 180 'webapp/remoting.js', | 182 'webapp/remoting.js', |
| 181 'webapp/window_frame.js', | 183 'webapp/window_frame.js', |
| 182 ], | 184 ], |
| 183 }, | 185 }, |
| 184 'actions': [ | 186 'actions': [ |
| 185 { | 187 { |
| 188 # GN version: //remoting/resources:verify_resources |
| 186 'action_name': 'verify_resources', | 189 'action_name': 'verify_resources', |
| 187 'inputs': [ | 190 'inputs': [ |
| 188 'resources/remoting_strings.grd', | 191 'resources/remoting_strings.grd', |
| 189 'tools/verify_resources.py', | 192 'tools/verify_resources.py', |
| 190 '<@(sources)' | 193 '<@(sources)' |
| 191 ], | 194 ], |
| 192 'outputs': [ | 195 'outputs': [ |
| 193 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 196 '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 194 ], | 197 ], |
| 195 'action': [ | 198 'action': [ |
| 196 'python', | 199 'python', |
| 197 'tools/verify_resources.py', | 200 'tools/verify_resources.py', |
| 198 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', | 201 '-t', '<(PRODUCT_DIR)/remoting_resources_verified.stamp', |
| 199 '-r', 'resources/remoting_strings.grd', | 202 '-r', 'resources/remoting_strings.grd', |
| 200 '<@(sources)', | 203 '<@(sources)', |
| 201 ], | 204 ], |
| 202 }, | 205 }, |
| 203 { | 206 { |
| 207 # GN version: //remoting/resources:strings |
| 204 'action_name': 'remoting_strings', | 208 'action_name': 'remoting_strings', |
| 205 'variables': { | 209 'variables': { |
| 206 'grit_grd_file': 'resources/remoting_strings.grd', | 210 'grit_grd_file': 'resources/remoting_strings.grd', |
| 207 }, | 211 }, |
| 208 'includes': [ '../build/grit_action.gypi' ], | 212 'includes': [ '../build/grit_action.gypi' ], |
| 209 }, | 213 }, |
| 210 { | 214 { |
| 215 # GN version: //remoting/resources:copy_locales |
| 211 'action_name': 'copy_locales', | 216 'action_name': 'copy_locales', |
| 212 'variables': { | 217 'variables': { |
| 213 'copy_output_dir%': '<(PRODUCT_DIR)', | 218 'copy_output_dir%': '<(PRODUCT_DIR)', |
| 214 }, | 219 }, |
| 215 'inputs': [ | 220 'inputs': [ |
| 216 'tools/build/remoting_copy_locales.py', | 221 'tools/build/remoting_copy_locales.py', |
| 217 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_di
r) <(remoting_locales))' | 222 '<!@pymod_do_main(remoting_copy_locales -i -p <(OS) -g <(grit_out_di
r) <(remoting_locales))' |
| 218 ], | 223 ], |
| 219 'outputs': [ | 224 'outputs': [ |
| 220 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output
_dir) <(remoting_locales))' | 225 '<!@pymod_do_main(remoting_copy_locales -o -p <(OS) -x <(copy_output
_dir) <(remoting_locales))' |
| 221 ], | 226 ], |
| 222 'action': [ | 227 'action': [ |
| 223 'python', 'tools/build/remoting_copy_locales.py', | 228 'python', 'tools/build/remoting_copy_locales.py', |
| 224 '-p', '<(OS)', | 229 '-p', '<(OS)', |
| 225 '-g', '<(grit_out_dir)', | 230 '-g', '<(grit_out_dir)', |
| 226 '-x', '<(copy_output_dir)/.', | 231 '-x', '<(copy_output_dir)/.', |
| 227 '<@(remoting_locales)', | 232 '<@(remoting_locales)', |
| 228 ], | 233 ], |
| 229 } | 234 } |
| 230 ], | 235 ], |
| 231 'includes': [ '../build/grit_target.gypi' ], | 236 'includes': [ '../build/grit_target.gypi' ], |
| 232 }, # end of target 'remoting_resources' | 237 }, # end of target 'remoting_resources' |
| 233 | 238 |
| 234 { | 239 { |
| 240 # GN version: //remoting/base |
| 235 'target_name': 'remoting_base', | 241 'target_name': 'remoting_base', |
| 236 'type': 'static_library', | 242 'type': 'static_library', |
| 237 'variables': { 'enable_wexit_time_destructors': 1, }, | 243 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 238 'dependencies': [ | 244 'dependencies': [ |
| 239 '../base/base.gyp:base', | 245 '../base/base.gyp:base', |
| 240 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 246 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 241 '../media/media.gyp:media', | 247 '../media/media.gyp:media', |
| 242 '../media/media.gyp:shared_memory_support', | 248 '../media/media.gyp:shared_memory_support', |
| 243 '../net/net.gyp:net', | 249 '../net/net.gyp:net', |
| 244 '../third_party/libvpx/libvpx.gyp:libvpx', | 250 '../third_party/libvpx/libvpx.gyp:libvpx', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 260 ], | 266 ], |
| 261 # This target needs a hard dependency because dependent targets | 267 # This target needs a hard dependency because dependent targets |
| 262 # depend on chromotocol_proto_lib for headers. | 268 # depend on chromotocol_proto_lib for headers. |
| 263 'hard_dependency': 1, | 269 'hard_dependency': 1, |
| 264 'sources': [ | 270 'sources': [ |
| 265 '<@(remoting_base_sources)', | 271 '<@(remoting_base_sources)', |
| 266 ], | 272 ], |
| 267 }, # end of target 'remoting_base' | 273 }, # end of target 'remoting_base' |
| 268 | 274 |
| 269 { | 275 { |
| 276 # GN version: //remoting/protocol |
| 270 'target_name': 'remoting_protocol', | 277 'target_name': 'remoting_protocol', |
| 271 'type': 'static_library', | 278 'type': 'static_library', |
| 272 'variables': { 'enable_wexit_time_destructors': 1, }, | 279 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 273 'dependencies': [ | 280 'dependencies': [ |
| 274 '../base/base.gyp:base', | 281 '../base/base.gyp:base', |
| 275 '../crypto/crypto.gyp:crypto', | 282 '../crypto/crypto.gyp:crypto', |
| 276 '../jingle/jingle.gyp:jingle_glue', | 283 '../jingle/jingle.gyp:jingle_glue', |
| 277 '../jingle/jingle.gyp:notifier', | 284 '../jingle/jingle.gyp:notifier', |
| 278 '../net/net.gyp:net', | 285 '../net/net.gyp:net', |
| 279 '../third_party/libjingle/libjingle.gyp:libjingle', | 286 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 280 'remoting_base', | 287 'remoting_base', |
| 281 ], | 288 ], |
| 282 'export_dependent_settings': [ | 289 'export_dependent_settings': [ |
| 283 '../third_party/libjingle/libjingle.gyp:libjingle', | 290 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 284 ], | 291 ], |
| 285 'sources': [ | 292 'sources': [ |
| 286 '<@(remoting_protocol_sources)', | 293 '<@(remoting_protocol_sources)', |
| 287 ], | 294 ], |
| 288 }, # end of target 'remoting_protocol' | 295 }, # end of target 'remoting_protocol' |
| 289 ], # end of targets | 296 ], # end of targets |
| 290 } | 297 } |
| OLD | NEW |