Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: remoting/remoting_host.gypi

Issue 543243003: Remote Assistance on Chrome OS Part I - Aura Desktop Capturer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linker errors on build bots Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'includes': [ 6 'includes': [
7 'remoting_host_linux.gypi', 7 'remoting_host_linux.gypi',
8 'remoting_host_mac.gypi', 8 'remoting_host_mac.gypi',
9 'remoting_host_win.gypi', 9 'remoting_host_win.gypi',
10 ], 10 ],
11 11
12 'variables': { 12 'variables': {
13 'conditions': [ 13 'conditions': [
14 # Remoting host is supported only on Windows, OSX and Linux (with X11). 14 # Remoting host is supported only on Windows, OSX and Linux (with X11).
15 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)', { 15 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', {
16 'enable_me2me_host': 1,
17 'enable_it2me_host': 1,
16 'enable_remoting_host': 1, 18 'enable_remoting_host': 1,
17 }, { 19 }, {
20 'enable_me2me_host': 0,
21 'enable_it2me_host': 0,
18 'enable_remoting_host': 0, 22 'enable_remoting_host': 0,
19 }], 23 }],
24 ['chromeos==1', {
25 'enable_me2me_host': 0,
26 'enable_it2me_host': 0,
27 }],
20 ], 28 ],
21 }, 29 },
22 30
23 'conditions': [ 31 'conditions': [
24 ['enable_remoting_host==1', { 32 ['enable_remoting_host==1', {
25 'targets': [ 33 'targets': [
26 { 34 {
27 'target_name': 'remoting_host', 35 'target_name': 'remoting_host',
28 'type': 'static_library', 36 'type': 'static_library',
29 'variables': { 37 'variables': {
(...skipping 27 matching lines...) Expand all
57 'host/audio_scheduler.cc', 65 'host/audio_scheduler.cc',
58 'host/audio_scheduler.h', 66 'host/audio_scheduler.h',
59 'host/audio_silence_detector.cc', 67 'host/audio_silence_detector.cc',
60 'host/audio_silence_detector.h', 68 'host/audio_silence_detector.h',
61 'host/basic_desktop_environment.cc', 69 'host/basic_desktop_environment.cc',
62 'host/basic_desktop_environment.h', 70 'host/basic_desktop_environment.h',
63 'host/branding.cc', 71 'host/branding.cc',
64 'host/branding.h', 72 'host/branding.h',
65 'host/capture_scheduler.cc', 73 'host/capture_scheduler.cc',
66 'host/capture_scheduler.h', 74 'host/capture_scheduler.h',
75 'host/chromeos/aura_desktop_capturer.cc',
76 'host/chromeos/aura_desktop_capturer.h',
67 'host/chromium_port_allocator_factory.cc', 77 'host/chromium_port_allocator_factory.cc',
68 'host/chromium_port_allocator_factory.h', 78 'host/chromium_port_allocator_factory.h',
69 'host/chromoting_host.cc', 79 'host/chromoting_host.cc',
70 'host/chromoting_host.h', 80 'host/chromoting_host.h',
71 'host/chromoting_host_context.cc', 81 'host/chromoting_host_context.cc',
72 'host/chromoting_host_context.h', 82 'host/chromoting_host_context.h',
73 'host/chromoting_messages.cc', 83 'host/chromoting_messages.cc',
74 'host/chromoting_messages.h', 84 'host/chromoting_messages.h',
75 'host/chromoting_param_traits.cc', 85 'host/chromoting_param_traits.cc',
76 'host/chromoting_param_traits.h', 86 'host/chromoting_param_traits.h',
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 'host/win/session_desktop_environment.h', 288 'host/win/session_desktop_environment.h',
279 'host/win/session_input_injector.cc', 289 'host/win/session_input_injector.cc',
280 'host/win/session_input_injector.h', 290 'host/win/session_input_injector.h',
281 'host/win/window_station_and_desktop.cc', 291 'host/win/window_station_and_desktop.cc',
282 'host/win/window_station_and_desktop.h', 292 'host/win/window_station_and_desktop.h',
283 'host/win/wts_terminal_monitor.cc', 293 'host/win/wts_terminal_monitor.cc',
284 'host/win/wts_terminal_monitor.h', 294 'host/win/wts_terminal_monitor.h',
285 'host/win/wts_terminal_observer.h', 295 'host/win/wts_terminal_observer.h',
286 ], 296 ],
287 'conditions': [ 297 'conditions': [
288 ['OS=="linux"', { 298 ['OS=="linux" and chromeos==0', {
289 'dependencies': [ 299 'dependencies': [
290 # Always use GTK on Linux, even for Aura builds. 300 # Always use GTK on Linux, even for Aura builds.
291 '../build/linux/system.gyp:gtk', 301 '../build/linux/system.gyp:gtk',
292 '../build/linux/system.gyp:x11', 302 '../build/linux/system.gyp:x11',
293 '../build/linux/system.gyp:xext', 303 '../build/linux/system.gyp:xext',
294 '../build/linux/system.gyp:xfixes', 304 '../build/linux/system.gyp:xfixes',
295 '../build/linux/system.gyp:xi', 305 '../build/linux/system.gyp:xi',
296 '../build/linux/system.gyp:xrandr', 306 '../build/linux/system.gyp:xrandr',
297 '../build/linux/system.gyp:xtst', 307 '../build/linux/system.gyp:xtst',
298 ], 308 ],
299 'link_settings': { 309 'link_settings': {
300 'libraries': [ 310 'libraries': [
301 '-lpam', 311 '-lpam',
302 ], 312 ],
303 }, 313 },
304 }], 314 }],
315 ['chromeos==1', {
316 'dependencies' : [
317 '../skia/skia.gyp:skia',
318 ],
319 'include_dirs': [
320 '../third_party/skia/include/utils',
321 ],
322 "sources!" : [
323 'host/continue_window.cc',
324 'host/continue_window.h',
325 'host/continue_window_linux.cc',
326 'host/disconnect_window.cc',
327 'host/disconnect_window_linux.cc',
328 'host/remoting_me2me_host.cc',
329 ]
330 }, { # chromeos==0
331 "sources!" : [
332 'host/chromeos/aura_desktop_capturer.cc',
333 'host/chromeos/aura_desktop_capturer.h',
334 ]
335 }],
305 ['OS=="mac"', { 336 ['OS=="mac"', {
306 'dependencies': [ 337 'dependencies': [
307 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy p:google_toolbox_for_mac', 338 '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gy p:google_toolbox_for_mac',
308 ], 339 ],
309 'link_settings': { 340 'link_settings': {
310 'libraries': [ 341 'libraries': [
311 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 342 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
312 'libpam.a', 343 'libpam.a',
313 ], 344 ],
314 }, 345 },
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 'host/native_messaging/native_messaging_channel.cc', 422 'host/native_messaging/native_messaging_channel.cc',
392 'host/native_messaging/native_messaging_channel.h', 423 'host/native_messaging/native_messaging_channel.h',
393 'host/native_messaging/native_messaging_reader.cc', 424 'host/native_messaging/native_messaging_reader.cc',
394 'host/native_messaging/native_messaging_reader.h', 425 'host/native_messaging/native_messaging_reader.h',
395 'host/native_messaging/native_messaging_writer.cc', 426 'host/native_messaging/native_messaging_writer.cc',
396 'host/native_messaging/native_messaging_writer.h', 427 'host/native_messaging/native_messaging_writer.h',
397 ], 428 ],
398 }, # end of target 'remoting_native_messaging_base' 429 }, # end of target 'remoting_native_messaging_base'
399 430
400 { 431 {
401 'target_name': 'remoting_me2me_host_static',
402 'type': 'static_library',
403 'variables': { 'enable_wexit_time_destructors': 1, },
404 'dependencies': [
405 '../base/base.gyp:base',
406 '../base/base.gyp:base_i18n',
407 '../net/net.gyp:net',
408 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
409 'remoting_base',
410 'remoting_breakpad',
411 'remoting_host',
412 'remoting_protocol',
413 ],
414 'defines': [
415 'VERSION=<(version_full)',
416 ],
417 'sources': [
418 'host/curtain_mode.h',
419 'host/curtain_mode_linux.cc',
420 'host/curtain_mode_mac.cc',
421 'host/curtain_mode_win.cc',
422 'host/posix/signal_handler.cc',
423 'host/posix/signal_handler.h',
424 ],
425 'conditions': [
426 ['os_posix != 1', {
427 'sources/': [
428 ['exclude', '^host/posix/'],
429 ],
430 }],
431 ], # end of 'conditions'
432 }, # end of target 'remoting_me2me_host_static'
433
434 {
435 'target_name': 'remoting_host_setup_base', 432 'target_name': 'remoting_host_setup_base',
436 'type': 'static_library', 433 'type': 'static_library',
437 'variables': { 'enable_wexit_time_destructors': 1, }, 434 'variables': { 'enable_wexit_time_destructors': 1, },
438 'dependencies': [ 435 'dependencies': [
439 '../base/base.gyp:base', 436 '../base/base.gyp:base',
440 '../google_apis/google_apis.gyp:google_apis', 437 '../google_apis/google_apis.gyp:google_apis',
441 'remoting_host', 438 'remoting_host',
442 ], 439 ],
443 'defines': [ 440 'defines': [
444 'VERSION=<(version_full)', 441 'VERSION=<(version_full)',
(...skipping 29 matching lines...) Expand all
474 'dependencies': [ 471 'dependencies': [
475 '../google_update/google_update.gyp:google_update', 472 '../google_update/google_update.gyp:google_update',
476 'remoting_lib_idl', 473 'remoting_lib_idl',
477 ], 474 ],
478 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 475 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
479 'msvs_disabled_warnings': [4267, ], 476 'msvs_disabled_warnings': [4267, ],
480 }], 477 }],
481 ], 478 ],
482 }, # end of target 'remoting_host_setup_base' 479 }, # end of target 'remoting_host_setup_base'
483 480
484 {
485 'target_name': 'remoting_it2me_host_static',
486 'type': 'static_library',
487 'variables': { 'enable_wexit_time_destructors': 1, },
488 'dependencies': [
489 '../base/base.gyp:base_i18n',
490 '../net/net.gyp:net',
491 'remoting_base',
492 'remoting_host',
493 'remoting_infoplist_strings',
494 'remoting_protocol',
495 'remoting_resources',
496 ],
497 'defines': [
498 'VERSION=<(version_full)',
499 ],
500 'sources': [
501 'host/it2me/it2me_host.cc',
502 'host/it2me/it2me_host.h',
503 'host/it2me/it2me_native_messaging_host.cc',
504 'host/it2me/it2me_native_messaging_host.h',
505 ],
506 }, # end of target 'remoting_it2me_host_static'
507
508 # Generates native messaging manifest files. 481 # Generates native messaging manifest files.
509 { 482 {
510 'target_name': 'remoting_native_messaging_manifests', 483 'target_name': 'remoting_native_messaging_manifests',
511 'type': 'none', 484 'type': 'none',
512 'conditions': [ 485 'conditions': [
513 [ 'OS == "win"', { 486 [ 'OS == "win"', {
514 'variables': { 487 'variables': {
515 'me2me_host_path': 'remoting_native_messaging_host.exe', 488 'me2me_host_path': 'remoting_native_messaging_host.exe',
516 'it2me_host_path': 'remote_assistance_host.exe', 489 'it2me_host_path': 'remote_assistance_host.exe',
517 }, 490 },
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 '--template', '<(RULE_INPUT_PATH)', 565 '--template', '<(RULE_INPUT_PATH)',
593 '--locale_output', 566 '--locale_output',
594 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf fix}.lproj/InfoPlist.strings', 567 '<(SHARED_INTERMEDIATE_DIR)/remoting/<(RULE_INPUT_ROOT)/@{json_suf fix}.lproj/InfoPlist.strings',
595 '<@(remoting_locales)', 568 '<@(remoting_locales)',
596 ]}, 569 ]},
597 ], 570 ],
598 }, # end of target 'remoting_infoplist_strings' 571 }, # end of target 'remoting_infoplist_strings'
599 ], # end of 'targets' 572 ], # end of 'targets'
600 }], # 'enable_remoting_host==1' 573 }], # 'enable_remoting_host==1'
601 574
602 ['OS!="win" and enable_remoting_host==1', { 575 ['enable_me2me_host==1', {
576 'targets': [
577 {
578 'target_name': 'remoting_me2me_host_static',
579 'type': 'static_library',
580 'variables': { 'enable_wexit_time_destructors': 1, },
581 'dependencies': [
582 '../base/base.gyp:base',
583 '../base/base.gyp:base_i18n',
584 '../net/net.gyp:net',
585 '../third_party/webrtc/modules/modules.gyp:desktop_capture',
586 'remoting_base',
587 'remoting_breakpad',
588 'remoting_host',
589 'remoting_protocol',
590 ],
591 'defines': [
592 'VERSION=<(version_full)',
593 ],
594 'sources': [
595 'host/curtain_mode.h',
596 'host/curtain_mode_linux.cc',
597 'host/curtain_mode_mac.cc',
598 'host/curtain_mode_win.cc',
599 'host/posix/signal_handler.cc',
600 'host/posix/signal_handler.h',
601 ],
602 'conditions': [
603 ['os_posix != 1', {
604 'sources/': [
605 ['exclude', '^host/posix/'],
606 ],
607 }],
608 ], # end of 'conditions'
609 }, # end of target 'remoting_me2me_host_static'
610 ] # end of targets
611 }], # end of enable_me2me_host==1
612
613 ['enable_it2me_host==1', {
614 'targets': [
615 {
616 'target_name': 'remoting_it2me_host_static',
617 'type': 'static_library',
618 'variables': { 'enable_wexit_time_destructors': 1, },
619 'dependencies': [
620 '../base/base.gyp:base_i18n',
621 '../net/net.gyp:net',
622 'remoting_base',
623 'remoting_host',
624 'remoting_infoplist_strings',
625 'remoting_protocol',
626 'remoting_resources',
627 ],
628 'defines': [
629 'VERSION=<(version_full)',
630 ],
631 'sources': [
632 'host/it2me/it2me_host.cc',
633 'host/it2me/it2me_host.h',
634 'host/it2me/it2me_native_messaging_host.cc',
635 'host/it2me/it2me_native_messaging_host.h',
636 ],
637 }, # end of target 'remoting_it2me_host_static'
638 ] # end of targets
639 }], # end of 'enable_it2me_host==1'
640
641 ['OS!="win" and enable_me2me_host==1', {
603 'targets': [ 642 'targets': [
604 { 643 {
605 'target_name': 'remoting_me2me_host', 644 'target_name': 'remoting_me2me_host',
606 'type': 'executable', 645 'type': 'executable',
607 'variables': { 'enable_wexit_time_destructors': 1, }, 646 'variables': { 'enable_wexit_time_destructors': 1, },
608 'dependencies': [ 647 'dependencies': [
609 '../base/base.gyp:base', 648 '../base/base.gyp:base',
610 '../base/base.gyp:base_i18n', 649 '../base/base.gyp:base_i18n',
611 '<(icu_gyp_path):icudata', 650 '<(icu_gyp_path):icudata',
612 '../net/net.gyp:net', 651 '../net/net.gyp:net',
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 '<(dump_product_syms_path)', 809 '<(dump_product_syms_path)',
771 '<(version_full)', 810 '<(version_full)',
772 ], 811 ],
773 }, # end of postbuild 'dump_symbols' 812 }, # end of postbuild 'dump_symbols'
774 ], # end of 'postbuilds' 813 ], # end of 'postbuilds'
775 }], # mac_breakpad==1 814 }], # mac_breakpad==1
776 ], # conditions 815 ], # conditions
777 }], # OS=mac 816 }], # OS=mac
778 ], 817 ],
779 }, # end of target 'remoting_me2me_native_messaging_host' 818 }, # end of target 'remoting_me2me_native_messaging_host'
819 ], # targets
820 }], # end of OS!="win" and enable_me2me_host==1
821
822 ['OS!="win" and enable_it2me_host==1', {
823 'targets': [
780 { 824 {
781 'target_name': 'remoting_it2me_native_messaging_host', 825 'target_name': 'remoting_it2me_native_messaging_host',
782 'type': 'executable', 826 'type': 'executable',
783 'product_name': 'remote_assistance_host', 827 'product_name': 'remote_assistance_host',
784 'variables': { 'enable_wexit_time_destructors': 1, }, 828 'variables': { 'enable_wexit_time_destructors': 1, },
785 'dependencies': [ 829 'dependencies': [
786 '../base/base.gyp:base', 830 '../base/base.gyp:base',
787 'remoting_base', 831 'remoting_base',
788 'remoting_breakpad', 832 'remoting_breakpad',
789 'remoting_host', 833 'remoting_host',
790 'remoting_it2me_host_static', 834 'remoting_it2me_host_static',
791 'remoting_native_messaging_base', 835 'remoting_native_messaging_base',
792 'remoting_protocol', 836 'remoting_protocol',
793 ], 837 ],
794 'defines': [ 838 'defines': [
795 'VERSION=<(version_full)', 839 'VERSION=<(version_full)',
796 ], 840 ],
797 'sources': [ 841 'sources': [
798 'host/it2me/it2me_native_messaging_host_entry_point.cc', 842 'host/it2me/it2me_native_messaging_host_entry_point.cc',
799 'host/it2me/it2me_native_messaging_host_main.cc', 843 'host/it2me/it2me_native_messaging_host_main.cc',
800 'host/it2me/it2me_native_messaging_host_main.h', 844 'host/it2me/it2me_native_messaging_host_main.h',
801 ], 845 ],
802 'conditions': [ 846 'conditions': [
803 ['OS=="linux"', { 847 ['OS=="linux" and chromeos==0', {
804 'dependencies': [ 848 'dependencies': [
805 # Always use GTK on Linux, even for Aura builds. 849 # Always use GTK on Linux, even for Aura builds.
806 '../build/linux/system.gyp:gtk', 850 '../build/linux/system.gyp:gtk',
807 ], 851 ],
808 }], 852 }],
809 ['OS=="linux" and use_allocator!="none"', { 853 ['OS=="linux" and use_allocator!="none"', {
810 'dependencies': [ 854 'dependencies': [
811 '../base/allocator/allocator.gyp:allocator', 855 '../base/allocator/allocator.gyp:allocator',
812 ], 856 ],
813 }], 857 }],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 '<(version_full)', 909 '<(version_full)',
866 ], 910 ],
867 }, # end of postbuild 'dump_symbols' 911 }, # end of postbuild 'dump_symbols'
868 ], # end of 'postbuilds' 912 ], # end of 'postbuilds'
869 }], # mac_breakpad==1 913 }], # mac_breakpad==1
870 ], # conditions 914 ], # conditions
871 }], # OS=mac 915 }], # OS=mac
872 ], 916 ],
873 }, # end of target 'remoting_it2me_native_messaging_host' 917 }, # end of target 'remoting_it2me_native_messaging_host'
874 ], # end of 'targets' 918 ], # end of 'targets'
875 }], # OS!="win" 919 }], # # end of OS!="win" and enable_it2me_host==1
876 920
877 ], # end of 'conditions' 921 ], # end of 'conditions'
878 } 922 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698