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

Side by Side Diff: jingle/BUILD.gn

Issue 2373683003: Remove som GYP annotations, remove unused manifest. (Closed)
Patch Set: Fix Created 4 years, 2 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 | « ipc/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (enable_webrtc || !is_android) { 8 if (enable_webrtc || !is_android) {
9 jingle_includes = exec_script("//build/gypi_to_gn.py", 9 jingle_includes = exec_script("//build/gypi_to_gn.py",
10 [ rebase_path("jingle.gypi") ], 10 [ rebase_path("jingle.gypi") ],
11 "scope", 11 "scope",
12 [ "jingle.gypi" ]) 12 [ "jingle.gypi" ])
13 13
14 # GYP version: jingle/jingle.gyp:jingle_glue
15 static_library("jingle_glue") { 14 static_library("jingle_glue") {
16 sources = jingle_includes.jingle_glue_sources 15 sources = jingle_includes.jingle_glue_sources
17 public_deps = [ 16 public_deps = [
18 "//third_party/libjingle", 17 "//third_party/libjingle",
19 ] 18 ]
20 deps = [ 19 deps = [
21 "//base", 20 "//base",
22 "//base/third_party/dynamic_annotations", 21 "//base/third_party/dynamic_annotations",
23 "//net", 22 "//net",
24 ] 23 ]
25 24
26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
27 26
28 if (is_nacl) { 27 if (is_nacl) {
29 sources -= [ 28 sources -= [
30 "glue/chrome_async_socket.cc", 29 "glue/chrome_async_socket.cc",
31 "glue/proxy_resolving_client_socket.cc", 30 "glue/proxy_resolving_client_socket.cc",
32 "glue/xmpp_client_socket_factory.cc", 31 "glue/xmpp_client_socket_factory.cc",
33 ] 32 ]
34 } 33 }
35 } 34 }
36 35
37 # A library for sending and receiving peer-issued notifications. 36 # A library for sending and receiving peer-issued notifications.
38 # GYP version: jingle/jingle.gyp:notifier
39 static_library("notifier") { 37 static_library("notifier") {
40 sources = [ 38 sources = [
41 "notifier/base/const_communicator.h", 39 "notifier/base/const_communicator.h",
42 "notifier/base/gaia_constants.cc", 40 "notifier/base/gaia_constants.cc",
43 "notifier/base/gaia_constants.h", 41 "notifier/base/gaia_constants.h",
44 "notifier/base/gaia_token_pre_xmpp_auth.cc", 42 "notifier/base/gaia_token_pre_xmpp_auth.cc",
45 "notifier/base/gaia_token_pre_xmpp_auth.h", 43 "notifier/base/gaia_token_pre_xmpp_auth.h",
46 "notifier/base/notification_method.cc", 44 "notifier/base/notification_method.cc",
47 "notifier/base/notification_method.h", 45 "notifier/base/notification_method.h",
48 "notifier/base/notifier_options.cc", 46 "notifier/base/notifier_options.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ] 93 ]
96 deps = [ 94 deps = [
97 ":jingle_glue", 95 ":jingle_glue",
98 "//base", 96 "//base",
99 "//net", 97 "//net",
100 "//third_party/expat", 98 "//third_party/expat",
101 "//url", 99 "//url",
102 ] 100 ]
103 } 101 }
104 102
105 # GYP version: jingle/jingle.gyp:notifier_test_util
106 static_library("notifier_test_util") { 103 static_library("notifier_test_util") {
107 testonly = true 104 testonly = true
108 sources = [ 105 sources = [
109 "notifier/base/fake_base_task.cc", 106 "notifier/base/fake_base_task.cc",
110 "notifier/base/fake_base_task.h", 107 "notifier/base/fake_base_task.h",
111 "notifier/listener/fake_push_client.cc", 108 "notifier/listener/fake_push_client.cc",
112 "notifier/listener/fake_push_client.h", 109 "notifier/listener/fake_push_client.h",
113 "notifier/listener/fake_push_client_observer.cc", 110 "notifier/listener/fake_push_client_observer.cc",
114 "notifier/listener/fake_push_client_observer.h", 111 "notifier/listener/fake_push_client_observer.h",
115 ] 112 ]
116 public_deps = [ 113 public_deps = [
117 ":jingle_glue", 114 ":jingle_glue",
118 ":notifier", 115 ":notifier",
119 ] 116 ]
120 deps = [ 117 deps = [
121 "//base", 118 "//base",
122 "//testing/gmock", 119 "//testing/gmock",
123 ] 120 ]
124 } 121 }
125 122
126 # GYP version: jingle/jingle.gyp:jingle_unittests
127 test("jingle_unittests") { 123 test("jingle_unittests") {
128 sources = [ 124 sources = [
129 "glue/chrome_async_socket_unittest.cc", 125 "glue/chrome_async_socket_unittest.cc",
130 "glue/fake_ssl_client_socket_unittest.cc", 126 "glue/fake_ssl_client_socket_unittest.cc",
131 "glue/jingle_glue_mock_objects.cc", 127 "glue/jingle_glue_mock_objects.cc",
132 "glue/jingle_glue_mock_objects.h", 128 "glue/jingle_glue_mock_objects.h",
133 "glue/logging_unittest.cc", 129 "glue/logging_unittest.cc",
134 "glue/mock_task.cc", 130 "glue/mock_task.cc",
135 "glue/mock_task.h", 131 "glue/mock_task.h",
136 "glue/proxy_resolving_client_socket_unittest.cc", 132 "glue/proxy_resolving_client_socket_unittest.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 } 179 }
184 } else { 180 } else {
185 # !enable_webrtc and is_android 181 # !enable_webrtc and is_android
186 # Stub targets as Android doesn't use libjingle when webrtc is disabled. 182 # Stub targets as Android doesn't use libjingle when webrtc is disabled.
187 source_set("jingle_glue") { 183 source_set("jingle_glue") {
188 } 184 }
189 185
190 source_set("jingle_glue_test_util") { 186 source_set("jingle_glue_test_util") {
191 } 187 }
192 188
193 # GYP version: jingle/jingle.gyp:notifier
194 static_library("notifier") { 189 static_library("notifier") {
195 sources = [ 190 sources = [
196 "notifier/base/gaia_constants.cc", 191 "notifier/base/gaia_constants.cc",
197 "notifier/base/gaia_constants.h", 192 "notifier/base/gaia_constants.h",
198 "notifier/base/notification_method.cc", 193 "notifier/base/notification_method.cc",
199 "notifier/base/notification_method.h", 194 "notifier/base/notification_method.h",
200 "notifier/base/notifier_options.cc", 195 "notifier/base/notifier_options.cc",
201 "notifier/base/notifier_options.h", 196 "notifier/base/notifier_options.h",
202 ] 197 ]
203 deps = [ 198 deps = [
204 "//base", 199 "//base",
205 "//net", 200 "//net",
206 ] 201 ]
207 } 202 }
208 203
209 source_set("notifier_test_util") { 204 source_set("notifier_test_util") {
210 } 205 }
211 } 206 }
OLDNEW
« no previous file with comments | « ipc/BUILD.gn ('k') | printing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698