| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
| 8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
| 9 'chromium_code': 1, | 9 'chromium_code': 1, |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 ['OS=="mac"', { | 11 ['OS=="mac"', { |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['branding=="Chrome"', { | 13 ['branding=="Chrome"', { |
| 14 'mac_bundle_id': 'com.google.Chrome', | 14 'mac_bundle_id': 'com.google.Chrome', |
| 15 'mac_creator': 'rimZ', | 15 'mac_creator': 'rimZ', |
| 16 }, { # else: branding!="Chrome" | 16 }, { # else: branding!="Chrome" |
| 17 'mac_bundle_id': 'org.chromium.Chromium', | 17 'mac_bundle_id': 'org.chromium.Chromium', |
| 18 'mac_creator': 'Cr24', | 18 'mac_creator': 'Cr24', |
| 19 }], # branding | 19 }], # branding |
| 20 ], # conditions | 20 ], # conditions |
| 21 'plugin_extension': 'plugin', | 21 'plugin_extension': 'plugin', |
| 22 'plugin_prefix': '', | 22 'plugin_prefix': '', |
| 23 }], | 23 }], |
| 24 ['OS=="linux"', { | 24 ['os_posix == 1 and OS != "mac"', { |
| 25 'plugin_extension': 'so', | 25 'plugin_extension': 'so', |
| 26 'plugin_prefix': 'lib', | 26 'plugin_prefix': 'lib', |
| 27 }], | 27 }], |
| 28 ['OS=="win"', { | 28 ['OS=="win"', { |
| 29 'plugin_extension': 'dll', | 29 'plugin_extension': 'dll', |
| 30 'plugin_prefix': '', | 30 'plugin_prefix': '', |
| 31 }], | 31 }], |
| 32 ['branding=="Chrome"', { | 32 ['branding=="Chrome"', { |
| 33 'host_plugin_mime_type': 'application/vnd.google-chrome.remoting-host', | 33 'host_plugin_mime_type': 'application/vnd.google-chrome.remoting-host', |
| 34 }, { # else: branding!="Chrome" | 34 }, { # else: branding!="Chrome" |
| 35 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 35 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
| 36 }], # branding | 36 }], # branding |
| 37 ], | 37 ], |
| 38 }, | 38 }, |
| 39 | 39 |
| 40 'target_defaults': { | 40 'target_defaults': { |
| 41 'defines': [ | 41 'defines': [ |
| 42 ], | 42 ], |
| 43 'include_dirs': [ | 43 'include_dirs': [ |
| 44 '..', # Root of Chrome checkout | 44 '..', # Root of Chrome checkout |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| 47 | 47 |
| 48 'conditions': [ | 48 'conditions': [ |
| 49 ['OS=="linux" or OS=="mac"', { | 49 ['os_posix == 1', { |
| 50 'targets': [ | 50 'targets': [ |
| 51 # Simple webserver for testing remoting client plugin. | 51 # Simple webserver for testing remoting client plugin. |
| 52 { | 52 { |
| 53 'target_name': 'remoting_client_test_webserver', | 53 'target_name': 'remoting_client_test_webserver', |
| 54 'type': 'executable', | 54 'type': 'executable', |
| 55 'sources': [ | 55 'sources': [ |
| 56 'tools/client_webserver/main.c', | 56 'tools/client_webserver/main.c', |
| 57 ], | 57 ], |
| 58 } | 58 } |
| 59 ], # end of target 'remoting_client_test_webserver' | 59 ], # end of target 'remoting_client_test_webserver' |
| 60 }], | 60 }], |
| 61 | 61 |
| 62 # TODO(hclam): Enable this target for mac. | 62 # TODO(hclam): Enable this target for mac. |
| 63 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 63 ['use_x11 == 1', { |
| 64 | 64 |
| 65 'targets': [ | 65 'targets': [ |
| 66 { | 66 { |
| 67 'target_name': 'remoting_x11_client', | 67 'target_name': 'remoting_x11_client', |
| 68 'type': 'executable', | 68 'type': 'executable', |
| 69 'dependencies': [ | 69 'dependencies': [ |
| 70 'remoting_base', | 70 'remoting_base', |
| 71 'remoting_client', | 71 'remoting_client', |
| 72 'remoting_jingle_glue', | 72 'remoting_jingle_glue', |
| 73 ], | 73 ], |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 'host/screen_recorder.cc', | 336 'host/screen_recorder.cc', |
| 337 'host/screen_recorder.h', | 337 'host/screen_recorder.h', |
| 338 'host/support_access_verifier.cc', | 338 'host/support_access_verifier.cc', |
| 339 'host/support_access_verifier.h', | 339 'host/support_access_verifier.h', |
| 340 'host/user_authenticator.h', | 340 'host/user_authenticator.h', |
| 341 'host/user_authenticator_linux.cc', | 341 'host/user_authenticator_linux.cc', |
| 342 'host/user_authenticator_mac.cc', | 342 'host/user_authenticator_mac.cc', |
| 343 'host/user_authenticator_win.cc', | 343 'host/user_authenticator_win.cc', |
| 344 ], | 344 ], |
| 345 'conditions': [ | 345 'conditions': [ |
| 346 ['OS=="linux"', { | 346 ['toolkit_uses_gtk == 1', { |
| 347 'dependencies': [ | 347 'dependencies': [ |
| 348 '../build/linux/system.gyp:gtk', | 348 '../build/linux/system.gyp:gtk', |
| 349 ], | 349 ], |
| 350 'sources': [ | 350 'sources': [ |
| 351 'host/x_server_pixel_buffer.cc', | 351 'host/x_server_pixel_buffer.cc', |
| 352 'host/x_server_pixel_buffer.h', | 352 'host/x_server_pixel_buffer.h', |
| 353 ], | 353 ], |
| 354 'link_settings': { | 354 'link_settings': { |
| 355 'libraries': [ | 355 'libraries': [ |
| 356 '-lX11', | 356 '-lX11', |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 ], | 564 ], |
| 565 }, # end of target differ_block | 565 }, # end of target differ_block |
| 566 | 566 |
| 567 { | 567 { |
| 568 'target_name': 'differ_block_sse2', | 568 'target_name': 'differ_block_sse2', |
| 569 'type': 'static_library', | 569 'type': 'static_library', |
| 570 'include_dirs': [ | 570 'include_dirs': [ |
| 571 '..', | 571 '..', |
| 572 ], | 572 ], |
| 573 'conditions': [ | 573 'conditions': [ |
| 574 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 574 [ 'os_posix == 1 and OS != "mac"', { |
| 575 'cflags': [ | 575 'cflags': [ |
| 576 '-msse2', | 576 '-msse2', |
| 577 ], | 577 ], |
| 578 }], | 578 }], |
| 579 ], | 579 ], |
| 580 'sources': [ | 580 'sources': [ |
| 581 'host/differ_block_sse2.cc', | 581 'host/differ_block_sse2.cc', |
| 582 ], | 582 ], |
| 583 }, # end of target differ_block_sse2 | 583 }, # end of target differ_block_sse2 |
| 584 | 584 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 'protocol/message_reader_unittest.cc', | 659 'protocol/message_reader_unittest.cc', |
| 660 'protocol/protocol_mock_objects.cc', | 660 'protocol/protocol_mock_objects.cc', |
| 661 'protocol/protocol_mock_objects.h', | 661 'protocol/protocol_mock_objects.h', |
| 662 'protocol/rtp_video_reader_unittest.cc', | 662 'protocol/rtp_video_reader_unittest.cc', |
| 663 'protocol/rtp_video_writer_unittest.cc', | 663 'protocol/rtp_video_writer_unittest.cc', |
| 664 'protocol/session_manager_pair.cc', | 664 'protocol/session_manager_pair.cc', |
| 665 'protocol/session_manager_pair.h', | 665 'protocol/session_manager_pair.h', |
| 666 'run_all_unittests.cc', | 666 'run_all_unittests.cc', |
| 667 ], | 667 ], |
| 668 'conditions': [ | 668 'conditions': [ |
| 669 ['OS=="linux"', { | 669 ['toolkit_uses_gtk == 1', { |
| 670 'dependencies': [ | 670 'dependencies': [ |
| 671 '../app/app.gyp:app_base', | 671 '../app/app.gyp:app_base', |
| 672 # Needed for the following #include chain: | 672 # Needed for the following #include chain: |
| 673 # base/run_all_unittests.cc | 673 # base/run_all_unittests.cc |
| 674 # ../base/test_suite.h | 674 # ../base/test_suite.h |
| 675 # gtk/gtk.h | 675 # gtk/gtk.h |
| 676 '../build/linux/system.gyp:gtk', | 676 '../build/linux/system.gyp:gtk', |
| 677 ], | 677 ], |
| 678 'conditions': [ | 678 'conditions': [ |
| 679 [ 'linux_use_tcmalloc==1', { | 679 [ 'linux_use_tcmalloc==1', { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 693 ], # end of 'conditions' | 693 ], # end of 'conditions' |
| 694 }, # end of target 'remoting_unittests' | 694 }, # end of target 'remoting_unittests' |
| 695 ], # end of targets | 695 ], # end of targets |
| 696 } | 696 } |
| 697 | 697 |
| 698 # Local Variables: | 698 # Local Variables: |
| 699 # tab-width:2 | 699 # tab-width:2 |
| 700 # indent-tabs-mode:nil | 700 # indent-tabs-mode:nil |
| 701 # End: | 701 # End: |
| 702 # vim: set expandtab tabstop=2 shiftwidth=2: | 702 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |