Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: jingle/jingle.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/web/js_compile_checked.gypi ('k') | jingle/jingle_nacl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 'jingle.gypi',
8 ],
9 'variables': {
10 'chromium_code': 1,
11 }, # variables
12 'conditions': [
13 ['enable_webrtc==1 or OS!="android"', {
14 'targets': [
15 # A library of various utils for integration with libjingle.
16 # GN version: //jingle:jingle_glue
17 {
18 'target_name': 'jingle_glue',
19 'type': 'static_library',
20 'sources': [
21 '<@(jingle_glue_sources)',
22 ],
23 'dependencies': [
24 '../base/base.gyp:base',
25 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
26 '../net/net.gyp:net',
27 '../third_party/libjingle/libjingle.gyp:libjingle',
28 ],
29 'export_dependent_settings': [
30 '../third_party/libjingle/libjingle.gyp:libjingle',
31 ],
32 },
33 # A library for sending and receiving peer-issued notifications.
34 #
35 # TODO(akalin): Separate out the XMPP stuff from this library into
36 # its own library.
37 #
38 # GN version: //jingle:notifier
39 {
40 'target_name': 'notifier',
41 'type': 'static_library',
42 'sources': [
43 'notifier/base/const_communicator.h',
44 'notifier/base/gaia_constants.cc',
45 'notifier/base/gaia_constants.h',
46 'notifier/base/gaia_token_pre_xmpp_auth.cc',
47 'notifier/base/gaia_token_pre_xmpp_auth.h',
48 'notifier/base/notification_method.h',
49 'notifier/base/notification_method.cc',
50 'notifier/base/notifier_options.cc',
51 'notifier/base/notifier_options.h',
52 'notifier/base/notifier_options_util.cc',
53 'notifier/base/notifier_options_util.h',
54 'notifier/base/server_information.cc',
55 'notifier/base/server_information.h',
56 'notifier/base/weak_xmpp_client.cc',
57 'notifier/base/weak_xmpp_client.h',
58 'notifier/base/xmpp_connection.cc',
59 'notifier/base/xmpp_connection.h',
60 'notifier/communicator/connection_settings.cc',
61 'notifier/communicator/connection_settings.h',
62 'notifier/communicator/login.cc',
63 'notifier/communicator/login.h',
64 'notifier/communicator/login_settings.cc',
65 'notifier/communicator/login_settings.h',
66 'notifier/communicator/single_login_attempt.cc',
67 'notifier/communicator/single_login_attempt.h',
68 'notifier/listener/non_blocking_push_client.cc',
69 'notifier/listener/non_blocking_push_client.h',
70 'notifier/listener/notification_constants.cc',
71 'notifier/listener/notification_constants.h',
72 'notifier/listener/notification_defines.cc',
73 'notifier/listener/notification_defines.h',
74 'notifier/listener/push_client_observer.cc',
75 'notifier/listener/push_client_observer.h',
76 'notifier/listener/push_client.cc',
77 'notifier/listener/push_client.h',
78 'notifier/listener/push_notifications_listen_task.cc',
79 'notifier/listener/push_notifications_listen_task.h',
80 'notifier/listener/push_notifications_send_update_task.cc',
81 'notifier/listener/push_notifications_send_update_task.h',
82 'notifier/listener/push_notifications_subscribe_task.cc',
83 'notifier/listener/push_notifications_subscribe_task.h',
84 'notifier/listener/send_ping_task.cc',
85 'notifier/listener/send_ping_task.h',
86 'notifier/listener/xml_element_util.cc',
87 'notifier/listener/xml_element_util.h',
88 'notifier/listener/xmpp_push_client.cc',
89 'notifier/listener/xmpp_push_client.h',
90 ],
91 'defines' : [
92 '_CRT_SECURE_NO_WARNINGS',
93 ],
94 'dependencies': [
95 '../base/base.gyp:base',
96 '../net/net.gyp:net',
97 '../third_party/expat/expat.gyp:expat',
98 '../third_party/libjingle/libjingle.gyp:libjingle',
99 '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
100 '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
101 '../url/url.gyp:url_lib',
102 'jingle_glue',
103 ],
104 'export_dependent_settings': [
105 '../third_party/libjingle/libjingle.gyp:libjingle',
106 '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
107 '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
108 ],
109 },
110 # GN version: //jingle:notifier_test_util
111 {
112 'target_name': 'notifier_test_util',
113 'type': 'static_library',
114 'sources': [
115 'notifier/base/fake_base_task.cc',
116 'notifier/base/fake_base_task.h',
117 'notifier/listener/fake_push_client.cc',
118 'notifier/listener/fake_push_client.h',
119 'notifier/listener/fake_push_client_observer.cc',
120 'notifier/listener/fake_push_client_observer.h',
121 ],
122 'dependencies': [
123 'notifier',
124 '../base/base.gyp:base',
125 '../testing/gmock.gyp:gmock',
126 ],
127 },
128 # GN version: //jingle:jingle_unittests
129 {
130 'target_name': 'jingle_unittests',
131 'type': 'executable',
132 'sources': [
133 'glue/chrome_async_socket_unittest.cc',
134 'glue/fake_ssl_client_socket_unittest.cc',
135 'glue/jingle_glue_mock_objects.cc',
136 'glue/jingle_glue_mock_objects.h',
137 'glue/logging_unittest.cc',
138 'glue/mock_task.cc',
139 'glue/mock_task.h',
140 'glue/proxy_resolving_client_socket_unittest.cc',
141 'glue/task_pump_unittest.cc',
142 'glue/thread_wrapper_unittest.cc',
143 'notifier/base/weak_xmpp_client_unittest.cc',
144 'notifier/base/xmpp_connection_unittest.cc',
145 'notifier/communicator/connection_settings_unittest.cc',
146 'notifier/communicator/login_settings_unittest.cc',
147 'notifier/communicator/single_login_attempt_unittest.cc',
148 'notifier/listener/non_blocking_push_client_unittest.cc',
149 'notifier/listener/notification_defines_unittest.cc',
150 'notifier/listener/push_client_unittest.cc',
151 'notifier/listener/push_notifications_send_update_task_unittest.cc',
152 'notifier/listener/push_notifications_subscribe_task_unittest.cc',
153 'notifier/listener/send_ping_task_unittest.cc',
154 'notifier/listener/xml_element_util_unittest.cc',
155 'notifier/listener/xmpp_push_client_unittest.cc',
156 ],
157 'conditions': [
158 ['OS=="android"', {
159 'sources!': [
160 # TODO(jrg):
161 # EXPECT_DEBUG_DEATH() uses features not enabled.
162 # Should we -std=c++0x or -std=gnu++0x?
163 'glue/chrome_async_socket_unittest.cc',
164 'notifier/base/xmpp_connection_unittest.cc',
165 ],
166 }]],
167 'include_dirs': [
168 '..',
169 ],
170 'dependencies': [
171 'jingle_glue',
172 'notifier',
173 'notifier_test_util',
174 '../base/base.gyp:base',
175 '../base/base.gyp:run_all_unittests',
176 '../base/base.gyp:test_support_base',
177 '../net/net.gyp:net',
178 '../net/net.gyp:net_test_support',
179 '../testing/gmock.gyp:gmock',
180 '../testing/gtest.gyp:gtest',
181 '../third_party/libjingle/libjingle.gyp:libjingle',
182 '../third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite',
183 '../third_party/webrtc/libjingle/xmpp/xmpp.gyp:rtc_xmpp',
184 ],
185 },
186 ],
187 'conditions': [
188 ['test_isolation_mode != "noop"', {
189 'targets': [
190 {
191 'target_name': 'jingle_unittests_run',
192 'type': 'none',
193 'dependencies': [
194 'jingle_unittests',
195 ],
196 'includes': [
197 '../build/isolate.gypi',
198 ],
199 'sources': [
200 'jingle_unittests.isolate',
201 ],
202 },
203 ],
204 }],
205 ],
206 }, { # enable_webrtc!=1 and OS=="android"
207 'targets': [
208 # Stub targets as Android doesn't use libjingle when webrtc is disabled.
209 {
210 'target_name': 'jingle_glue',
211 'type': 'none',
212 },
213 {
214 'target_name': 'jingle_glue_test_util',
215 'type': 'none',
216 },
217 # GN version: //jingle:notifier
218 {
219 'target_name': 'notifier',
220 'type': 'static_library',
221 'sources': [
222 'notifier/base/gaia_constants.cc',
223 'notifier/base/gaia_constants.h',
224 'notifier/base/notification_method.h',
225 'notifier/base/notification_method.cc',
226 'notifier/base/notifier_options.cc',
227 'notifier/base/notifier_options.h',
228 ],
229 'dependencies': [
230 '../base/base.gyp:base',
231 '../net/net.gyp:net',
232 ],
233 },
234 {
235 'target_name': 'notifier_test_util',
236 'type': 'none',
237 },
238 ],
239 }],
240 ],
241 }
OLDNEW
« no previous file with comments | « ios/web/js_compile_checked.gypi ('k') | jingle/jingle_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698