| 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 # Use consistent strings across all platforms. Note that the plugin name | 10 # Use consistent strings across all platforms. Note that the plugin name |
| 11 # is brand-dependent and is defined further down. | 11 # is brand-dependent and is defined further down. |
| 12 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 12 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
| 13 'host_plugin_description': 'Allow another user to access your computer secur
ely over the Internet.', | 13 'host_plugin_description': 'Allow another user to access your computer secur
ely over the Internet.', |
| 14 |
| 15 # Variables for common_constants (used by JS unittests). |
| 16 'variables': { |
| 17 'version_py_path': '../chrome/tools/build/version.py', |
| 18 'version_path': '../chrome/VERSION', |
| 19 }, |
| 20 'version_py_path': '<(version_py_path)', |
| 21 'version_path': '<(version_path)', |
| 22 'version_full': |
| 23 '<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BU
ILD@.@PATCH@")', |
| 24 |
| 14 'conditions': [ | 25 'conditions': [ |
| 15 ['OS=="mac"', { | 26 ['OS=="mac"', { |
| 16 'conditions': [ | 27 'conditions': [ |
| 17 ['branding=="Chrome"', { | 28 ['branding=="Chrome"', { |
| 18 'mac_bundle_id': 'com.google.Chrome', | 29 'mac_bundle_id': 'com.google.Chrome', |
| 19 'mac_creator': 'rimZ', | 30 'mac_creator': 'rimZ', |
| 20 }, { # else: branding!="Chrome" | 31 }, { # else: branding!="Chrome" |
| 21 'mac_bundle_id': 'org.chromium.Chromium', | 32 'mac_bundle_id': 'org.chromium.Chromium', |
| 22 'mac_creator': 'Cr24', | 33 'mac_creator': 'Cr24', |
| 23 }], # branding | 34 }], # branding |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 'webapp/me2mom/util.js', | 142 'webapp/me2mom/util.js', |
| 132 'webapp/me2mom/wcs.js', | 143 'webapp/me2mom/wcs.js', |
| 133 'webapp/me2mom/wcs_loader.js', | 144 'webapp/me2mom/wcs_loader.js', |
| 134 'webapp/me2mom/xhr.js', | 145 'webapp/me2mom/xhr.js', |
| 135 'resources/chromoting16.png', | 146 'resources/chromoting16.png', |
| 136 'resources/chromoting48.png', | 147 'resources/chromoting48.png', |
| 137 'resources/chromoting128.png', | 148 'resources/chromoting128.png', |
| 138 ], | 149 ], |
| 139 }, | 150 }, |
| 140 | 151 |
| 152 'includes': [ |
| 153 # The common_constants target is needed for the JS unittests. |
| 154 '../chrome/common_constants.gypi', |
| 155 '../chrome/js_unittest_vars.gypi', |
| 156 ], |
| 157 |
| 141 'target_defaults': { | 158 'target_defaults': { |
| 142 'defines': [ | 159 'defines': [ |
| 143 ], | 160 ], |
| 144 'include_dirs': [ | 161 'include_dirs': [ |
| 145 '..', # Root of Chrome checkout | 162 '..', # Root of Chrome checkout |
| 146 ], | 163 ], |
| 147 }, | 164 }, |
| 148 | 165 |
| 149 'conditions': [ | 166 'conditions': [ |
| 167 ['OS == "win"', { |
| 168 'includes': [ |
| 169 # Required for JS unittests. |
| 170 '../chrome/chrome_common.gypi', |
| 171 '../chrome/chrome_installer.gypi', |
| 172 '../chrome/chrome_installer_util.gypi', |
| 173 ], |
| 174 }], # 'OS == "win"' |
| 150 ['os_posix == 1', { | 175 ['os_posix == 1', { |
| 151 'targets': [ | 176 'targets': [ |
| 152 # Simple webserver for testing remoting client plugin. | 177 # Simple webserver for testing remoting client plugin. |
| 153 { | 178 { |
| 154 'target_name': 'remoting_client_test_webserver', | 179 'target_name': 'remoting_client_test_webserver', |
| 155 'type': 'executable', | 180 'type': 'executable', |
| 156 'sources': [ | 181 'sources': [ |
| 157 'tools/client_webserver/main.c', | 182 'tools/client_webserver/main.c', |
| 158 ], | 183 ], |
| 159 } | 184 } |
| 160 ], # end of target 'remoting_client_test_webserver' | 185 ], # end of target 'remoting_client_test_webserver' |
| 161 }], | 186 }], # 'os_posix == 1' |
| 162 ['OS=="linux"', { | 187 ['OS=="linux"', { |
| 163 'targets': [ | 188 'targets': [ |
| 164 # Linux breakpad processing | 189 # Linux breakpad processing |
| 165 { | 190 { |
| 166 'target_name': 'remoting_linux_symbols', | 191 'target_name': 'remoting_linux_symbols', |
| 167 'type': 'none', | 192 'type': 'none', |
| 168 'conditions': [ | 193 'conditions': [ |
| 169 ['linux_dump_symbols==1', { | 194 ['linux_dump_symbols==1', { |
| 170 'actions': [ | 195 'actions': [ |
| 171 { | 196 { |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 'sources': [ | 886 'sources': [ |
| 862 'host/differ_block_sse2.cc', | 887 'host/differ_block_sse2.cc', |
| 863 ], | 888 ], |
| 864 }, # end of target differ_block_sse2 | 889 }, # end of target differ_block_sse2 |
| 865 | 890 |
| 866 # Remoting unit tests | 891 # Remoting unit tests |
| 867 { | 892 { |
| 868 'target_name': 'remoting_unittests', | 893 'target_name': 'remoting_unittests', |
| 869 'type': 'executable', | 894 'type': 'executable', |
| 870 'dependencies': [ | 895 'dependencies': [ |
| 896 'common_constants', # from common_constants.gypi |
| 871 'remoting_base', | 897 'remoting_base', |
| 872 'remoting_client', | 898 'remoting_client', |
| 873 'remoting_host', | 899 'remoting_host', |
| 874 'remoting_jingle_glue', | 900 'remoting_jingle_glue', |
| 875 'remoting_protocol', | 901 'remoting_protocol', |
| 876 '../base/base.gyp:base', | 902 '../base/base.gyp:base', |
| 877 '../base/base.gyp:base_i18n', | 903 '../base/base.gyp:base_i18n', |
| 878 '../base/base.gyp:test_support_base', | 904 '../base/base.gyp:test_support_base', |
| 879 '../media/media.gyp:media', | 905 '../media/media.gyp:media', |
| 880 '../ui/ui.gyp:ui', | |
| 881 '../testing/gmock.gyp:gmock', | 906 '../testing/gmock.gyp:gmock', |
| 882 '../testing/gtest.gyp:gtest', | 907 '../testing/gtest.gyp:gtest', |
| 908 '../ui/ui.gyp:ui', |
| 909 '../v8/tools/gyp/v8.gyp:v8', |
| 883 ], | 910 ], |
| 884 'include_dirs': [ | 911 'include_dirs': [ |
| 885 '../testing/gmock/include', | 912 '../testing/gmock/include', |
| 886 ], | 913 ], |
| 914 'includes': [ |
| 915 '../chrome/js_unittest_rules.gypi', |
| 916 ], |
| 887 'sources': [ | 917 'sources': [ |
| 918 '../chrome/test/base/v8_unit_test.cc', |
| 919 '../chrome/test/base/v8_unit_test.h', |
| 920 '../chrome/test/base/run_all_remoting_unittests.cc', |
| 888 'base/auth_token_util_unittest.cc', | 921 'base/auth_token_util_unittest.cc', |
| 889 'base/codec_test.cc', | 922 'base/codec_test.cc', |
| 890 'base/codec_test.h', | 923 'base/codec_test.h', |
| 891 'base/compound_buffer_unittest.cc', | 924 'base/compound_buffer_unittest.cc', |
| 892 'base/compressor_zlib_unittest.cc', | 925 'base/compressor_zlib_unittest.cc', |
| 893 'base/decoder_vp8_unittest.cc', | 926 'base/decoder_vp8_unittest.cc', |
| 894 'base/decompressor_zlib_unittest.cc', | 927 'base/decompressor_zlib_unittest.cc', |
| 895 'base/encode_decode_unittest.cc', | 928 'base/encode_decode_unittest.cc', |
| 896 'base/encoder_vp8_unittest.cc', | 929 'base/encoder_vp8_unittest.cc', |
| 897 'base/encoder_row_based_unittest.cc', | 930 'base/encoder_row_based_unittest.cc', |
| (...skipping 30 matching lines...) Expand all Loading... |
| 928 'protocol/fake_session.h', | 961 'protocol/fake_session.h', |
| 929 'protocol/jingle_messages_unittest.cc', | 962 'protocol/jingle_messages_unittest.cc', |
| 930 'protocol/jingle_session_unittest.cc', | 963 'protocol/jingle_session_unittest.cc', |
| 931 'protocol/message_decoder_unittest.cc', | 964 'protocol/message_decoder_unittest.cc', |
| 932 'protocol/message_reader_unittest.cc', | 965 'protocol/message_reader_unittest.cc', |
| 933 'protocol/protocol_mock_objects.cc', | 966 'protocol/protocol_mock_objects.cc', |
| 934 'protocol/protocol_mock_objects.h', | 967 'protocol/protocol_mock_objects.h', |
| 935 'protocol/rtp_video_reader_unittest.cc', | 968 'protocol/rtp_video_reader_unittest.cc', |
| 936 'protocol/rtp_video_writer_unittest.cc', | 969 'protocol/rtp_video_writer_unittest.cc', |
| 937 'protocol/v1_authenticator_unittest.cc', | 970 'protocol/v1_authenticator_unittest.cc', |
| 938 'run_all_unittests.cc', | 971 'webapp/me2mom/debug_log.gtestjs', |
| 972 'webapp/me2mom/debug_log.js', |
| 939 ], | 973 ], |
| 940 'conditions': [ | 974 'conditions': [ |
| 941 ['toolkit_uses_gtk == 1', { | 975 ['toolkit_uses_gtk == 1', { |
| 942 'dependencies': [ | 976 'dependencies': [ |
| 943 # Needed for the following #include chain: | 977 # Needed for the following #include chain: |
| 944 # base/run_all_unittests.cc | 978 # base/run_all_unittests.cc |
| 945 # ../base/test_suite.h | 979 # ../base/test_suite.h |
| 946 # gtk/gtk.h | 980 # gtk/gtk.h |
| 947 '../build/linux/system.gyp:gtk', | 981 '../build/linux/system.gyp:gtk', |
| 948 '../build/linux/system.gyp:ssl', | 982 '../build/linux/system.gyp:ssl', |
| 949 ], | 983 ], |
| 950 'conditions': [ | 984 'conditions': [ |
| 951 [ 'linux_use_tcmalloc==1', { | 985 [ 'linux_use_tcmalloc==1', { |
| 952 'dependencies': [ | 986 'dependencies': [ |
| 953 '../base/allocator/allocator.gyp:allocator', | 987 '../base/allocator/allocator.gyp:allocator', |
| 954 ], | 988 ], |
| 955 }, | 989 }, |
| 956 ], | 990 ], |
| 957 ], | 991 ], |
| 958 }], | 992 }], |
| 993 ['OS == "win"', { |
| 994 'dependencies': [ |
| 995 # Required for JS unittests. |
| 996 'installer_util', |
| 997 ], |
| 998 }], # 'OS == "win"' |
| 959 ], # end of 'conditions' | 999 ], # end of 'conditions' |
| 960 }, # end of target 'remoting_unittests' | 1000 }, # end of target 'remoting_unittests' |
| 961 ], # end of targets | 1001 ], # end of targets |
| 962 } | 1002 } |
| OLD | NEW |