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

Side by Side Diff: jingle/jingle.gyp

Issue 431423002: GN support for //jingle directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« jingle/BUILD.gn ('K') | « jingle/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'includes': [ 6 'includes': [
7 'jingle.gypi', 7 'jingle.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'chromium_code': 1, 10 'chromium_code': 1,
11 }, # variables 11 }, # variables
12 'conditions': [ 12 'conditions': [
13 ['enable_webrtc==1 or OS!="android"', { 13 ['enable_webrtc==1 or OS!="android"', {
14 'targets': [ 14 'targets': [
15 # A library of various utils for integration with libjingle. 15 # A library of various utils for integration with libjingle.
16 # GN version: //jingle:jingle_glue
16 { 17 {
17 'target_name': 'jingle_glue', 18 'target_name': 'jingle_glue',
18 'type': 'static_library', 19 'type': 'static_library',
19 'sources': [ 20 'sources': [
20 '<@(jingle_glue_sources)', 21 '<@(jingle_glue_sources)',
21 ], 22 ],
22 'dependencies': [ 23 'dependencies': [
23 '../base/base.gyp:base', 24 '../base/base.gyp:base',
24 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 25 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
25 '../net/net.gyp:net', 26 '../net/net.gyp:net',
26 '../third_party/libjingle/libjingle.gyp:libjingle', 27 '../third_party/libjingle/libjingle.gyp:libjingle',
27 ], 28 ],
28 'export_dependent_settings': [ 29 'export_dependent_settings': [
29 '../third_party/libjingle/libjingle.gyp:libjingle', 30 '../third_party/libjingle/libjingle.gyp:libjingle',
30 ], 31 ],
31 }, 32 },
32 # A library for sending and receiving peer-issued notifications. 33 # A library for sending and receiving peer-issued notifications.
33 # 34 #
34 # TODO(akalin): Separate out the XMPP stuff from this library into 35 # TODO(akalin): Separate out the XMPP stuff from this library into
35 # its own library. 36 # its own library.
37 #
38 # GN version: //jingle:notifier
36 { 39 {
37 'target_name': 'notifier', 40 'target_name': 'notifier',
38 'type': 'static_library', 41 'type': 'static_library',
39 'sources': [ 42 'sources': [
40 'notifier/base/const_communicator.h', 43 'notifier/base/const_communicator.h',
41 'notifier/base/gaia_constants.cc', 44 'notifier/base/gaia_constants.cc',
42 'notifier/base/gaia_constants.h', 45 'notifier/base/gaia_constants.h',
43 'notifier/base/gaia_token_pre_xmpp_auth.cc', 46 'notifier/base/gaia_token_pre_xmpp_auth.cc',
44 'notifier/base/gaia_token_pre_xmpp_auth.h', 47 'notifier/base/gaia_token_pre_xmpp_auth.h',
45 'notifier/base/notification_method.h', 48 'notifier/base/notification_method.h',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 '../net/net.gyp:net', 96 '../net/net.gyp:net',
94 '../third_party/expat/expat.gyp:expat', 97 '../third_party/expat/expat.gyp:expat',
95 '../third_party/libjingle/libjingle.gyp:libjingle', 98 '../third_party/libjingle/libjingle.gyp:libjingle',
96 '../url/url.gyp:url_lib', 99 '../url/url.gyp:url_lib',
97 'jingle_glue', 100 'jingle_glue',
98 ], 101 ],
99 'export_dependent_settings': [ 102 'export_dependent_settings': [
100 '../third_party/libjingle/libjingle.gyp:libjingle', 103 '../third_party/libjingle/libjingle.gyp:libjingle',
101 ], 104 ],
102 }, 105 },
106 # GN version: //jingle:notifier_test_util
103 { 107 {
104 'target_name': 'notifier_test_util', 108 'target_name': 'notifier_test_util',
105 'type': 'static_library', 109 'type': 'static_library',
106 'sources': [ 110 'sources': [
107 'notifier/base/fake_base_task.cc', 111 'notifier/base/fake_base_task.cc',
108 'notifier/base/fake_base_task.h', 112 'notifier/base/fake_base_task.h',
109 'notifier/listener/fake_push_client.cc', 113 'notifier/listener/fake_push_client.cc',
110 'notifier/listener/fake_push_client.h', 114 'notifier/listener/fake_push_client.h',
111 'notifier/listener/fake_push_client_observer.cc', 115 'notifier/listener/fake_push_client_observer.cc',
112 'notifier/listener/fake_push_client_observer.h', 116 'notifier/listener/fake_push_client_observer.h',
113 ], 117 ],
114 'dependencies': [ 118 'dependencies': [
115 'notifier', 119 'notifier',
116 '../base/base.gyp:base', 120 '../base/base.gyp:base',
117 '../testing/gmock.gyp:gmock', 121 '../testing/gmock.gyp:gmock',
118 ], 122 ],
119 }, 123 },
124 # GN version: //jingle:jingle_unittests
120 { 125 {
121 'target_name': 'jingle_unittests', 126 'target_name': 'jingle_unittests',
122 'type': 'executable', 127 'type': 'executable',
123 'sources': [ 128 'sources': [
124 'glue/channel_socket_adapter_unittest.cc', 129 'glue/channel_socket_adapter_unittest.cc',
125 'glue/chrome_async_socket_unittest.cc', 130 'glue/chrome_async_socket_unittest.cc',
126 'glue/fake_ssl_client_socket_unittest.cc', 131 'glue/fake_ssl_client_socket_unittest.cc',
127 'glue/jingle_glue_mock_objects.cc', 132 'glue/jingle_glue_mock_objects.cc',
128 'glue/jingle_glue_mock_objects.h', 133 'glue/jingle_glue_mock_objects.h',
129 'glue/logging_unittest.cc', 134 'glue/logging_unittest.cc',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 'targets': [ 184 'targets': [
180 # Stub targets as Android doesn't use libjingle when webrtc is disabled. 185 # Stub targets as Android doesn't use libjingle when webrtc is disabled.
181 { 186 {
182 'target_name': 'jingle_glue', 187 'target_name': 'jingle_glue',
183 'type': 'none', 188 'type': 'none',
184 }, 189 },
185 { 190 {
186 'target_name': 'jingle_glue_test_util', 191 'target_name': 'jingle_glue_test_util',
187 'type': 'none', 192 'type': 'none',
188 }, 193 },
194 # GN version: //jingle:notifier
189 { 195 {
190 'target_name': 'notifier', 196 'target_name': 'notifier',
191 'type': 'static_library', 197 'type': 'static_library',
192 'sources': [ 198 'sources': [
193 'notifier/base/gaia_constants.cc', 199 'notifier/base/gaia_constants.cc',
194 'notifier/base/gaia_constants.h', 200 'notifier/base/gaia_constants.h',
195 'notifier/base/notification_method.h', 201 'notifier/base/notification_method.h',
196 'notifier/base/notification_method.cc', 202 'notifier/base/notification_method.cc',
197 'notifier/base/notifier_options.cc', 203 'notifier/base/notifier_options.cc',
198 'notifier/base/notifier_options.h', 204 'notifier/base/notifier_options.h',
199 ], 205 ],
200 'dependencies': [ 206 'dependencies': [
201 '../base/base.gyp:base', 207 '../base/base.gyp:base',
202 '../net/net.gyp:net', 208 '../net/net.gyp:net',
203 ], 209 ],
204 }, 210 },
205 { 211 {
206 'target_name': 'notifier_test_util', 212 'target_name': 'notifier_test_util',
207 'type': 'none', 213 'type': 'none',
208 }, 214 },
209 ], 215 ],
210 }], 216 }],
211 ], 217 ],
212 } 218 }
OLDNEW
« jingle/BUILD.gn ('K') | « jingle/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698