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

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

Issue 1457883002: Port EMMA Java code coverage build rules to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « build/config/android/rules.gni ('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 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 config("cacheinvalidation_config") { 7 config("cacheinvalidation_config") {
8 include_dirs = [ 8 include_dirs = [
9 "overrides", 9 "overrides",
10 "src", 10 "src",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 "src/google/cacheinvalidation/test/deterministic-scheduler.cc", 108 "src/google/cacheinvalidation/test/deterministic-scheduler.cc",
109 "src/google/cacheinvalidation/test/deterministic-scheduler.h", 109 "src/google/cacheinvalidation/test/deterministic-scheduler.h",
110 "src/google/cacheinvalidation/test/test-logger.cc", 110 "src/google/cacheinvalidation/test/test-logger.cc",
111 "src/google/cacheinvalidation/test/test-logger.h", 111 "src/google/cacheinvalidation/test/test-logger.h",
112 "src/google/cacheinvalidation/test/test-utils.cc", 112 "src/google/cacheinvalidation/test/test-utils.cc",
113 "src/google/cacheinvalidation/test/test-utils.h", 113 "src/google/cacheinvalidation/test/test-utils.h",
114 ] 114 ]
115 115
116 deps = [ 116 deps = [
117 ":cacheinvalidation", 117 ":cacheinvalidation",
118 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp",
119 "//base", 118 "//base",
120 "//base/test:run_all_unittests", 119 "//base/test:run_all_unittests",
121 "//testing/gmock", 120 "//testing/gmock",
122 "//testing/gtest", 121 "//testing/gtest",
122 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp",
123 ] 123 ]
124 } 124 }
125 125
126 # TODO(GYP) Test isolation stuff. 126 # TODO(GYP) Test isolation stuff.
127 if (is_android) { 127 if (is_android) {
128 import("//build/config/android/rules.gni") 128 import("//build/config/android/rules.gni")
129 129
130 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _proto_java 130 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _proto_java
131 proto_java_library("cacheinvalidation_proto_java") { 131 proto_java_library("cacheinvalidation_proto_java") {
132 proto_path = "src/proto" 132 proto_path = "src/proto"
133 sources = [ 133 sources = [
134 "$proto_path/android_channel.proto", 134 "$proto_path/android_channel.proto",
135 "$proto_path/android_listener.proto", 135 "$proto_path/android_listener.proto",
136 "$proto_path/android_service.proto", 136 "$proto_path/android_service.proto",
137 "$proto_path/channel_common.proto", 137 "$proto_path/channel_common.proto",
138 "$proto_path/client.proto", 138 "$proto_path/client.proto",
139 "$proto_path/client_protocol.proto", 139 "$proto_path/client_protocol.proto",
140 "$proto_path/java_client.proto", 140 "$proto_path/java_client.proto",
141 "$proto_path/types.proto", 141 "$proto_path/types.proto",
142 ] 142 ]
143 } 143 }
144 144
145 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _javalib 145 # GYP: //third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation _javalib
146 android_library("cacheinvalidation_javalib") { 146 android_library("cacheinvalidation_javalib") {
147 emma_never_instrument = true
147 deps = [ 148 deps = [
148 ":cacheinvalidation_proto_java", 149 ":cacheinvalidation_proto_java",
149 "//third_party/android_protobuf:protobuf_nano_javalib", 150 "//third_party/android_protobuf:protobuf_nano_javalib",
150 "//third_party/android_tools:android_gcm_java", 151 "//third_party/android_tools:android_gcm_java",
151 google_play_services_library, 152 google_play_services_library,
152 ] 153 ]
153 154
154 DEPRECATED_java_in_dir = "src/java" 155 DEPRECATED_java_in_dir = "src/java"
155 } 156 }
156 } 157 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698