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

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

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 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 | « base/BUILD.gn ('k') | build/secondary/third_party/nss/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("//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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 "src/google/cacheinvalidation/impl/throttle.h", 70 "src/google/cacheinvalidation/impl/throttle.h",
71 "src/google/cacheinvalidation/impl/ticl-message-validator.cc", 71 "src/google/cacheinvalidation/impl/ticl-message-validator.cc",
72 "src/google/cacheinvalidation/impl/ticl-message-validator.h", 72 "src/google/cacheinvalidation/impl/ticl-message-validator.h",
73 "src/google/cacheinvalidation/include/invalidation-client.h", 73 "src/google/cacheinvalidation/include/invalidation-client.h",
74 "src/google/cacheinvalidation/include/invalidation-client-factory.h", 74 "src/google/cacheinvalidation/include/invalidation-client-factory.h",
75 "src/google/cacheinvalidation/include/invalidation-listener.h", 75 "src/google/cacheinvalidation/include/invalidation-listener.h",
76 "src/google/cacheinvalidation/include/system-resources.h", 76 "src/google/cacheinvalidation/include/system-resources.h",
77 "src/google/cacheinvalidation/include/types.h", 77 "src/google/cacheinvalidation/include/types.h",
78 ] 78 ]
79 79
80 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
81 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
80 public_configs = [ ":cacheinvalidation_config" ] 82 public_configs = [ ":cacheinvalidation_config" ]
81 83
82 deps = [ 84 deps = [
83 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp", 85 "src/google/cacheinvalidation:cacheinvalidation_proto_cpp",
84 "//base", 86 "//base",
85 ] 87 ]
86
87 if (is_win) {
88 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
89 cflags = [ "/wd4267" ]
90 }
91 } 88 }
92 89
93 test("cacheinvalidation_unittests") { 90 test("cacheinvalidation_unittests") {
94 sources = [ 91 sources = [
95 "src/google/cacheinvalidation/test/deterministic-scheduler.cc", 92 "src/google/cacheinvalidation/test/deterministic-scheduler.cc",
96 "src/google/cacheinvalidation/test/deterministic-scheduler.h", 93 "src/google/cacheinvalidation/test/deterministic-scheduler.h",
97 "src/google/cacheinvalidation/test/test-logger.cc", 94 "src/google/cacheinvalidation/test/test-logger.cc",
98 "src/google/cacheinvalidation/test/test-logger.h", 95 "src/google/cacheinvalidation/test/test-logger.h",
99 "src/google/cacheinvalidation/test/test-utils.cc", 96 "src/google/cacheinvalidation/test/test-utils.cc",
100 "src/google/cacheinvalidation/test/test-utils.h", 97 "src/google/cacheinvalidation/test/test-utils.h",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 android_library("cacheinvalidation_javalib") { 134 android_library("cacheinvalidation_javalib") {
138 deps = [ 135 deps = [
139 ":cacheinvalidation_proto_java", 136 ":cacheinvalidation_proto_java",
140 "//third_party/android_protobuf:protobuf_nano_javalib", 137 "//third_party/android_protobuf:protobuf_nano_javalib",
141 "//third_party/android_tools:android_gcm_java", 138 "//third_party/android_tools:android_gcm_java",
142 ] 139 ]
143 140
144 DEPRECATED_java_in_dir = "src/java" 141 DEPRECATED_java_in_dir = "src/java"
145 } 142 }
146 } 143 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | build/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698