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

Side by Side Diff: components/invalidation/BUILD.gn

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | « components/google/core/browser/BUILD.gn ('k') | components/login/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 if (is_android) { 4 if (is_android) {
5 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 } 6 }
7 7
8 static_library("invalidation") { 8 static_library("invalidation") {
9 sources = [ 9 sources = [
10 "ack_handle.cc", 10 "ack_handle.cc",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 "//base", 86 "//base",
87 "//components/gcm_driver", 87 "//components/gcm_driver",
88 "//components/keyed_service/core", 88 "//components/keyed_service/core",
89 "//components/pref_registry", 89 "//components/pref_registry",
90 "//components/signin/core/browser", 90 "//components/signin/core/browser",
91 "//google_apis", 91 "//google_apis",
92 "//jingle:notifier", 92 "//jingle:notifier",
93 93
94 # TODO(sync): Remove this (http://crbug.com/133352); 94 # TODO(sync): Remove this (http://crbug.com/133352);
95 "//third_party/protobuf:protobuf_lite", 95 "//third_party/protobuf:protobuf_lite",
96
96 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid ation_proto_cpp", 97 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid ation_proto_cpp",
97 ] 98 ]
98 99
99 if (is_android) { 100 if (is_android) {
100 sources += [ 101 sources += [
101 "android/component_jni_registrar.cc", 102 "android/component_jni_registrar.cc",
102 "android/component_jni_registrar.h", 103 "android/component_jni_registrar.h",
103 "invalidation_service_android.cc", 104 "invalidation_service_android.cc",
104 "invalidation_service_android.h", 105 "invalidation_service_android.h",
105 ] 106 ]
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 "//components/keyed_service/core", 150 "//components/keyed_service/core",
150 "//google_apis", 151 "//google_apis",
151 "//jingle:notifier", 152 "//jingle:notifier",
152 "//jingle:notifier_test_util", 153 "//jingle:notifier_test_util",
153 "//net", 154 "//net",
154 "//testing/gmock", 155 "//testing/gmock",
155 "//third_party/cacheinvalidation", 156 "//third_party/cacheinvalidation",
156 157
157 # TODO(sync): Remove this (http://crbug.com/133352); 158 # TODO(sync): Remove this (http://crbug.com/133352);
158 "//third_party/protobuf:protobuf_lite", 159 "//third_party/protobuf:protobuf_lite",
160
159 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid ation_proto_cpp", 161 # "//third_party/cacheinvalidation/src/google/cacheinvalidation:cacheinvalid ation_proto_cpp",
160 ] 162 ]
161 163
162 if (is_android) { 164 if (is_android) {
163 deps += [ 165 deps += [ ":jni_headers" ]
164 ":jni_headers",
165 ]
166 } else { 166 } else {
167 sources += [ 167 sources += [
168 "p2p_invalidation_service.cc", 168 "p2p_invalidation_service.cc",
169 "p2p_invalidation_service.h", 169 "p2p_invalidation_service.h",
170 ] 170 ]
171 } 171 }
172 } 172 }
173 173
174 if (is_android) { 174 if (is_android) {
175 android_library("java") { 175 android_library("java") {
(...skipping 17 matching lines...) Expand all
193 ] 193 ]
194 DEPRECATED_java_in_dir = "android/javatests/src" 194 DEPRECATED_java_in_dir = "android/javatests/src"
195 } 195 }
196 generate_jni("jni_headers") { 196 generate_jni("jni_headers") {
197 sources = [ 197 sources = [
198 "android/java/src/org/chromium/components/invalidation/InvalidationService .java", 198 "android/java/src/org/chromium/components/invalidation/InvalidationService .java",
199 ] 199 ]
200 jni_package = "components/invalidation" 200 jni_package = "components/invalidation"
201 } 201 }
202 } 202 }
OLDNEW
« no previous file with comments | « components/google/core/browser/BUILD.gn ('k') | components/login/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698