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

Side by Side Diff: build/secondary/third_party/cacheinvalidation/BUILD.gn

Issue 580343002: Add proto_java_library to gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 config("cacheinvalidation_config") { 5 config("cacheinvalidation_config") {
6 include_dirs = [ 6 include_dirs = [
7 "overrides", 7 "overrides",
8 "src", 8 "src",
9 ] 9 ]
10 } 10 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 deps = [ 105 deps = [
106 ":cacheinvalidation", 106 ":cacheinvalidation",
107 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", 107 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp",
108 "//base", 108 "//base",
109 "//base/test:run_all_unittests", 109 "//base/test:run_all_unittests",
110 "//testing/gmock", 110 "//testing/gmock",
111 "//testing/gtest", 111 "//testing/gtest",
112 ] 112 ]
113 } 113 }
114 114
115 # TODO(GYP) A bunch of Android-specific stuff. 115 # TODO(GYP) Test isolation stuff.
116 if (is_android) {
117 import("//build/config/android/rules.gni")
118
119 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _proto_java
120 proto_java_library("cacheinvalidation_proto_java") {
121 proto_path = "src/proto"
122 sources = [
123 "$proto_path/android_channel.proto",
124 "$proto_path/android_listener.proto",
125 "$proto_path/android_service.proto",
126 "$proto_path/channel_common.proto",
127 "$proto_path/client.proto",
128 "$proto_path/client_protocol.proto",
129 "$proto_path/java_client.proto",
130 "$proto_path/types.proto",
131 ]
132 }
133
134 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _javalib
135 android_library("cacheinvalidation_javalib") {
136 deps = [
137 ":cacheinvalidation_proto_java",
138 "//third_party/android_protobuf:protobuf_nano_javalib",
139 "//third_party/android_tools:android_gcm_java",
140 "//third_party/guava:guava_javalib",
141 ]
142
143 DEPRECATED_java_in_dir = "src/java"
144 }
145 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698