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 for sending and receiving peer-issued notifications. | 10 # A library for sending and receiving peer-issued notifications. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ], | 88 ], |
89 }], | 89 }], |
90 ], | 90 ], |
91 }, | 91 }, |
92 { | 92 { |
93 'target_name': 'notifier_unit_tests', | 93 'target_name': 'notifier_unit_tests', |
94 'type': 'executable', | 94 'type': 'executable', |
95 'sources': [ | 95 'sources': [ |
96 # TODO(akalin): Write our own test suite and runner. | 96 # TODO(akalin): Write our own test suite and runner. |
97 '../base/test/run_all_unittests.cc', | 97 '../base/test/run_all_unittests.cc', |
| 98 '../base/test/test_suite.h', |
98 'notifier/base/chrome_async_socket_unittest.cc', | 99 'notifier/base/chrome_async_socket_unittest.cc', |
99 'notifier/listener/talk_mediator_unittest.cc', | 100 'notifier/listener/talk_mediator_unittest.cc', |
100 'notifier/listener/send_update_task_unittest.cc', | 101 'notifier/listener/send_update_task_unittest.cc', |
101 'notifier/listener/subscribe_task_unittest.cc', | 102 'notifier/listener/subscribe_task_unittest.cc', |
102 'notifier/listener/xml_element_util_unittest.cc', | 103 'notifier/listener/xml_element_util_unittest.cc', |
103 ], | 104 ], |
104 'include_dirs': [ | 105 'include_dirs': [ |
105 '..', | 106 '..', |
106 ], | 107 ], |
107 'dependencies': [ | 108 'dependencies': [ |
108 'notifier', | 109 'notifier', |
109 '../base/base.gyp:base', | 110 '../base/base.gyp:base', |
110 '../base/base.gyp:test_support_base', | |
111 '../net/net.gyp:net', | 111 '../net/net.gyp:net', |
112 '../net/net.gyp:net_test_support', | 112 '../net/net.gyp:net_test_support', |
113 '../testing/gmock.gyp:gmock', | 113 '../testing/gmock.gyp:gmock', |
114 '../testing/gtest.gyp:gtest', | 114 '../testing/gtest.gyp:gtest', |
115 '../third_party/libjingle/libjingle.gyp:libjingle', | 115 '../third_party/libjingle/libjingle.gyp:libjingle', |
116 ], | 116 ], |
117 # TODO(akalin): Remove this once we have our own test suite and | 117 # TODO(akalin): Remove this once we have our own test suite and |
118 # runner. | 118 # runner. |
119 'conditions': [ | 119 'conditions': [ |
120 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { | 120 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { |
121 'dependencies': [ | 121 'dependencies': [ |
122 # Needed to handle the #include chain: | 122 # Needed to handle the #include chain: |
123 # base/test/test_suite.h | 123 # base/test/test_suite.h |
124 # gtk/gtk.h | 124 # gtk/gtk.h |
125 '../build/linux/system.gyp:gtk', | 125 '../build/linux/system.gyp:gtk', |
126 ], | 126 ], |
127 }], | 127 }], |
128 ], | 128 ], |
129 }, | 129 }, |
130 ], | 130 ], |
131 } | 131 } |
132 | 132 |
133 # Local Variables: | 133 # Local Variables: |
134 # tab-width:2 | 134 # tab-width:2 |
135 # indent-tabs-mode:nil | 135 # indent-tabs-mode:nil |
136 # End: | 136 # End: |
137 # vim: set expandtab tabstop=2 shiftwidth=2: | 137 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |