Chromium Code Reviews| 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 'target_arch%': "ia32", | |
| 8 }, # variables | 9 }, # variables |
| 9 'conditions': [ | 10 'conditions': [ |
| 10 ['enable_webrtc==1 or (OS != "ios" and OS != "android")', { | 11 ['enable_webrtc==1 or (OS != "ios" and OS != "android")', { |
| 11 'targets': [ | 12 'targets': [ |
| 12 # A library of various utils for integration with libjingle. | 13 # A library of various utils for integration with libjingle. |
| 13 { | 14 { |
| 14 'target_name': 'jingle_glue', | 15 'target_name': 'jingle_glue', |
| 15 'type': 'static_library', | 16 'type': 'static_library', |
| 16 'sources': [ | 17 'sources': [ |
| 17 'glue/channel_socket_adapter.cc', | 18 'glue/channel_socket_adapter.cc', |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 38 '../base/base.gyp:base', | 39 '../base/base.gyp:base', |
| 39 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', | 40 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', |
| 40 '../net/net.gyp:net', | 41 '../net/net.gyp:net', |
| 41 '../third_party/libjingle/libjingle.gyp:libjingle', | 42 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 42 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 43 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
| 43 ], | 44 ], |
| 44 'export_dependent_settings': [ | 45 'export_dependent_settings': [ |
| 45 '../third_party/libjingle/libjingle.gyp:libjingle', | 46 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 46 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', | 47 '../third_party/libjingle/libjingle.gyp:libjingle_p2p', |
| 47 ], | 48 ], |
| 49 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 50 'msvs_disabled_warnings': [4267, ], | |
| 48 }, | 51 }, |
| 49 # A library for sending and receiving peer-issued notifications. | 52 # A library for sending and receiving peer-issued notifications. |
| 50 # | 53 # |
| 51 # TODO(akalin): Separate out the XMPP stuff from this library into | 54 # TODO(akalin): Separate out the XMPP stuff from this library into |
| 52 # its own library. | 55 # its own library. |
| 53 { | 56 { |
| 54 'target_name': 'notifier', | 57 'target_name': 'notifier', |
| 55 'type': 'static_library', | 58 'type': 'static_library', |
| 56 'sources': [ | 59 'sources': [ |
| 57 'notifier/base/const_communicator.h', | 60 'notifier/base/const_communicator.h', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 97 'notifier/listener/push_notifications_subscribe_task.h', | 100 'notifier/listener/push_notifications_subscribe_task.h', |
| 98 'notifier/listener/send_ping_task.cc', | 101 'notifier/listener/send_ping_task.cc', |
| 99 'notifier/listener/send_ping_task.h', | 102 'notifier/listener/send_ping_task.h', |
| 100 'notifier/listener/xml_element_util.cc', | 103 'notifier/listener/xml_element_util.cc', |
| 101 'notifier/listener/xml_element_util.h', | 104 'notifier/listener/xml_element_util.h', |
| 102 'notifier/listener/xmpp_push_client.cc', | 105 'notifier/listener/xmpp_push_client.cc', |
| 103 'notifier/listener/xmpp_push_client.h', | 106 'notifier/listener/xmpp_push_client.h', |
| 104 ], | 107 ], |
| 105 'defines' : [ | 108 'defines' : [ |
| 106 '_CRT_SECURE_NO_WARNINGS', | 109 '_CRT_SECURE_NO_WARNINGS', |
| 107 '_USE_32BIT_TIME_T', | 110 ], |
| 111 'target_conditions': [ | |
| 112 ['target_arch == "ia32"', { | |
| 113 'defines': [ | |
| 114 '_USE_32BIT_TIME_T', | |
|
Sergey Ulanov
2013/01/10 02:37:39
time_t is not used in the code compiled by this ta
jschuh
2013/01/10 03:12:15
Given it's current location I assumed it was used
| |
| 115 ], | |
| 116 }], | |
| 108 ], | 117 ], |
| 109 'dependencies': [ | 118 'dependencies': [ |
| 110 '../base/base.gyp:base', | 119 '../base/base.gyp:base', |
| 111 '../build/temp_gyp/googleurl.gyp:googleurl', | 120 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 112 '../net/net.gyp:net', | 121 '../net/net.gyp:net', |
| 113 '../third_party/expat/expat.gyp:expat', | 122 '../third_party/expat/expat.gyp:expat', |
| 114 '../third_party/libjingle/libjingle.gyp:libjingle', | 123 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 115 ], | 124 ], |
| 116 'export_dependent_settings': [ | 125 'export_dependent_settings': [ |
| 117 '../third_party/libjingle/libjingle.gyp:libjingle', | 126 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 118 ], | 127 ], |
| 119 'conditions': [ | 128 'conditions': [ |
| 120 ['toolkit_uses_gtk == 1', { | 129 ['toolkit_uses_gtk == 1', { |
| 121 'dependencies': [ | 130 'dependencies': [ |
| 122 '../build/linux/system.gyp:gtk' | 131 '../build/linux/system.gyp:gtk' |
| 123 ], | 132 ], |
| 124 }], | 133 }], |
| 125 ], | 134 ], |
| 135 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 136 'msvs_disabled_warnings': [4267, ], | |
| 126 }, | 137 }, |
| 127 { | 138 { |
| 128 'target_name': 'notifier_test_util', | 139 'target_name': 'notifier_test_util', |
| 129 'type': 'static_library', | 140 'type': 'static_library', |
| 130 'sources': [ | 141 'sources': [ |
| 131 'notifier/base/fake_base_task.cc', | 142 'notifier/base/fake_base_task.cc', |
| 132 'notifier/base/fake_base_task.h', | 143 'notifier/base/fake_base_task.h', |
| 133 'notifier/listener/fake_push_client.cc', | 144 'notifier/listener/fake_push_client.cc', |
| 134 'notifier/listener/fake_push_client.h', | 145 'notifier/listener/fake_push_client.h', |
| 135 'notifier/listener/fake_push_client_observer.cc', | 146 'notifier/listener/fake_push_client_observer.cc', |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 147 'sources': [ | 158 'sources': [ |
| 148 'glue/fake_network_manager.cc', | 159 'glue/fake_network_manager.cc', |
| 149 'glue/fake_network_manager.h', | 160 'glue/fake_network_manager.h', |
| 150 'glue/fake_socket_factory.cc', | 161 'glue/fake_socket_factory.cc', |
| 151 'glue/fake_socket_factory.h', | 162 'glue/fake_socket_factory.h', |
| 152 ], | 163 ], |
| 153 'dependencies': [ | 164 'dependencies': [ |
| 154 'jingle_glue', | 165 'jingle_glue', |
| 155 '../base/base.gyp:base', | 166 '../base/base.gyp:base', |
| 156 ], | 167 ], |
| 168 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 169 'msvs_disabled_warnings': [4267, ], | |
| 157 }, | 170 }, |
| 158 { | 171 { |
| 159 'target_name': 'jingle_unittests', | 172 'target_name': 'jingle_unittests', |
| 160 'type': 'executable', | 173 'type': 'executable', |
| 161 'sources': [ | 174 'sources': [ |
| 162 'glue/channel_socket_adapter_unittest.cc', | 175 'glue/channel_socket_adapter_unittest.cc', |
| 163 'glue/chrome_async_socket_unittest.cc', | 176 'glue/chrome_async_socket_unittest.cc', |
| 164 'glue/fake_ssl_client_socket_unittest.cc', | 177 'glue/fake_ssl_client_socket_unittest.cc', |
| 165 'glue/jingle_glue_mock_objects.cc', | 178 'glue/jingle_glue_mock_objects.cc', |
| 166 'glue/jingle_glue_mock_objects.h', | 179 'glue/jingle_glue_mock_objects.h', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 205 'notifier', | 218 'notifier', |
| 206 'notifier_test_util', | 219 'notifier_test_util', |
| 207 '../base/base.gyp:base', | 220 '../base/base.gyp:base', |
| 208 '../base/base.gyp:test_support_base', | 221 '../base/base.gyp:test_support_base', |
| 209 '../net/net.gyp:net', | 222 '../net/net.gyp:net', |
| 210 '../net/net.gyp:net_test_support', | 223 '../net/net.gyp:net_test_support', |
| 211 '../testing/gmock.gyp:gmock', | 224 '../testing/gmock.gyp:gmock', |
| 212 '../testing/gtest.gyp:gtest', | 225 '../testing/gtest.gyp:gtest', |
| 213 '../third_party/libjingle/libjingle.gyp:libjingle', | 226 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 214 ], | 227 ], |
| 228 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 229 'msvs_disabled_warnings': [4267, ], | |
| 215 }, | 230 }, |
| 216 ], | 231 ], |
| 217 }, { # enable_webrtc != 1 and (OS == "ios" or OS == "android") | 232 }, { # enable_webrtc != 1 and (OS == "ios" or OS == "android") |
| 218 'targets': [ | 233 'targets': [ |
| 219 # Stub targets as iOS/Android don't use libjingle when webrtc is disable d. | 234 # Stub targets as iOS/Android don't use libjingle when webrtc is disable d. |
| 220 { | 235 { |
| 221 'target_name': 'jingle_glue', | 236 'target_name': 'jingle_glue', |
| 222 'type': 'none', | 237 'type': 'none', |
| 223 }, | 238 }, |
| 224 { | 239 { |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 242 ], | 257 ], |
| 243 }, | 258 }, |
| 244 { | 259 { |
| 245 'target_name': 'notifier_test_util', | 260 'target_name': 'notifier_test_util', |
| 246 'type': 'none', | 261 'type': 'none', |
| 247 }, | 262 }, |
| 248 ], | 263 ], |
| 249 }], | 264 }], |
| 250 ], | 265 ], |
| 251 } | 266 } |
| OLD | NEW |