Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 }, # variables | 8 }, # variables |
| 9 'targets': [ | 9 'targets': [ |
| 10 # A library of various utils for integration with libjingle. | |
| 11 { | |
| 12 'target_name': 'jingle_glue', | |
|
Alpha Left Google
2011/03/26 01:06:01
avoid using the same target name, this has confuse
Sergey Ulanov
2011/03/26 01:45:51
Do we have jingle_glue target anywhere else? There
| |
| 13 'type': '<(library)', | |
| 14 'sources': [ | |
| 15 'glue/thread_wrapper.cc', | |
| 16 'glue/thread_wrapper.h', | |
| 17 ], | |
| 18 'dependencies': [ | |
| 19 '../base/base.gyp:base', | |
| 20 '../third_party/libjingle/libjingle.gyp:libjingle', | |
| 21 ], | |
| 22 'export_dependent_settings': [ | |
| 23 '../third_party/libjingle/libjingle.gyp:libjingle', | |
| 24 ], | |
| 25 }, | |
| 26 { | |
| 27 'target_name': 'jingle_glue_unittests', | |
| 28 'type': 'executable', | |
| 29 'sources': [ | |
| 30 ], | |
| 31 'dependencies': [ | |
| 32 'jingle_glue', | |
| 33 '../base/base.gyp:base', | |
| 34 '../base/base.gyp:test_support_base', | |
| 35 '../testing/gmock.gyp:gmock', | |
| 36 '../testing/gtest.gyp:gtest', | |
| 37 ], | |
| 38 }, | |
| 10 # A library for sending and receiving peer-issued notifications. | 39 # A library for sending and receiving peer-issued notifications. |
| 11 # | 40 # |
| 12 # TODO(akalin): Separate out the XMPP stuff from this library into | 41 # TODO(akalin): Separate out the XMPP stuff from this library into |
| 13 # its own library. | 42 # its own library. |
| 14 { | 43 { |
| 15 'target_name': 'notifier', | 44 'target_name': 'notifier', |
| 16 'type': '<(library)', | 45 'type': '<(library)', |
| 17 'sources': [ | 46 'sources': [ |
| 18 'notifier/base/chrome_async_socket.cc', | 47 'notifier/base/chrome_async_socket.cc', |
| 19 'notifier/base/chrome_async_socket.h', | 48 'notifier/base/chrome_async_socket.h', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 'notifier/base/fake_base_task.cc', | 125 'notifier/base/fake_base_task.cc', |
| 97 'notifier/base/fake_base_task.h', | 126 'notifier/base/fake_base_task.h', |
| 98 ], | 127 ], |
| 99 'dependencies': [ | 128 'dependencies': [ |
| 100 'notifier', | 129 'notifier', |
| 101 '../base/base.gyp:base', | 130 '../base/base.gyp:base', |
| 102 '../testing/gmock.gyp:gmock', | 131 '../testing/gmock.gyp:gmock', |
| 103 ], | 132 ], |
| 104 }, | 133 }, |
| 105 { | 134 { |
| 106 'target_name': 'notifier_unit_tests', | 135 'target_name': 'jingle_unittests', |
| 107 'type': 'executable', | 136 'type': 'executable', |
| 108 'sources': [ | 137 'sources': [ |
| 109 # TODO(akalin): Write our own test suite and runner. | 138 'glue/thread_wrapper_unittest.cc', |
| 110 '../base/test/run_all_unittests.cc', | |
| 111 'notifier/base/chrome_async_socket_unittest.cc', | 139 'notifier/base/chrome_async_socket_unittest.cc', |
| 112 'notifier/base/fake_ssl_client_socket_unittest.cc', | 140 'notifier/base/fake_ssl_client_socket_unittest.cc', |
| 113 'notifier/base/xmpp_connection_unittest.cc', | 141 'notifier/base/xmpp_connection_unittest.cc', |
| 114 'notifier/base/weak_xmpp_client_unittest.cc', | 142 'notifier/base/weak_xmpp_client_unittest.cc', |
| 115 'notifier/communicator/xmpp_connection_generator_unittest.cc', | 143 'notifier/communicator/xmpp_connection_generator_unittest.cc', |
| 116 'notifier/listener/mediator_thread_mock.cc', | 144 'notifier/listener/mediator_thread_mock.cc', |
| 117 'notifier/listener/mediator_thread_mock.h', | 145 'notifier/listener/mediator_thread_mock.h', |
| 118 'notifier/listener/push_notifications_send_update_task_unittest.cc', | 146 'notifier/listener/push_notifications_send_update_task_unittest.cc', |
| 119 'notifier/listener/push_notifications_subscribe_task_unittest.cc', | 147 'notifier/listener/push_notifications_subscribe_task_unittest.cc', |
| 120 'notifier/listener/talk_mediator_unittest.cc', | 148 'notifier/listener/talk_mediator_unittest.cc', |
| 121 'notifier/listener/xml_element_util_unittest.cc', | 149 'notifier/listener/xml_element_util_unittest.cc', |
| 150 'run_all_unittests.cc', | |
| 122 ], | 151 ], |
| 123 'include_dirs': [ | 152 'include_dirs': [ |
| 124 '..', | 153 '..', |
| 125 ], | 154 ], |
| 126 'dependencies': [ | 155 'dependencies': [ |
| 156 'jingle_glue', | |
| 127 'notifier', | 157 'notifier', |
| 128 'notifier_test_util', | 158 'notifier_test_util', |
| 129 '../base/base.gyp:base', | 159 '../base/base.gyp:base', |
| 130 '../base/base.gyp:test_support_base', | 160 '../base/base.gyp:test_support_base', |
| 131 '../net/net.gyp:net', | 161 '../net/net.gyp:net', |
| 132 '../net/net.gyp:net_test_support', | 162 '../net/net.gyp:net_test_support', |
| 133 '../testing/gmock.gyp:gmock', | 163 '../testing/gmock.gyp:gmock', |
| 134 '../testing/gtest.gyp:gtest', | 164 '../testing/gtest.gyp:gtest', |
| 135 '../third_party/libjingle/libjingle.gyp:libjingle', | 165 '../third_party/libjingle/libjingle.gyp:libjingle', |
| 136 ], | 166 ], |
| 137 # TODO(akalin): Remove this once we have our own test suite and | |
| 138 # runner. | |
| 139 'conditions': [ | |
| 140 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris" ', { | |
| 141 'dependencies': [ | |
| 142 # Needed to handle the #include chain: | |
| 143 # base/test/test_suite.h | |
| 144 # gtk/gtk.h | |
| 145 '../build/linux/system.gyp:gtk', | |
| 146 ], | |
| 147 }], | |
| 148 ], | |
| 149 }, | 167 }, |
| 150 ], | 168 ], |
| 151 } | 169 } |
| 152 | 170 |
| 153 # Local Variables: | 171 # Local Variables: |
| 154 # tab-width:2 | 172 # tab-width:2 |
| 155 # indent-tabs-mode:nil | 173 # indent-tabs-mode:nil |
| 156 # End: | 174 # End: |
| 157 # vim: set expandtab tabstop=2 shiftwidth=2: | 175 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |