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

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

Issue 2892493002: Replace sanitizers:deps with exe_and_shlib_deps (Chromium repo only) (Closed)
Patch Set: Fix find/replace error in nacl Created 3 years, 7 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 | « third_party/opus/BUILD.gn ('k') | third_party/qcms/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 config("protobuf_config") { 5 config("protobuf_config") {
6 include_dirs = [ "src" ] 6 include_dirs = [ "src" ]
7 defines = [ 7 defines = [
8 "GOOGLE_PROTOBUF_NO_RTTI", 8 "GOOGLE_PROTOBUF_NO_RTTI",
9 "GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER", 9 "GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
10 ] 10 ]
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 public_configs = [ 187 public_configs = [
188 ":protobuf_config", 188 ":protobuf_config",
189 189
190 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 190 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
191 "//build/config/compiler:no_size_t_to_int_warning", 191 "//build/config/compiler:no_size_t_to_int_warning",
192 ] 192 ]
193 193
194 deps = [ 194 deps = [
195 "//build/config/sanitizers:deps", 195 "//build/config:exe_and_shlib_deps",
196 ] 196 ]
197 197
198 cflags = protobuf_lite_cflags 198 cflags = protobuf_lite_cflags
199 199
200 if (is_component_build && is_linux && !is_chromeos) { 200 if (is_component_build && is_linux && !is_chromeos) {
201 deps += [ ":protobuf_globals" ] 201 deps += [ ":protobuf_globals" ]
202 } else { 202 } else {
203 sources += protobuf_globals_sources 203 sources += protobuf_globals_sources
204 } 204 }
205 205
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 "src/google/protobuf/util/type_resolver.h", 350 "src/google/protobuf/util/type_resolver.h",
351 "src/google/protobuf/util/type_resolver_util.cc", 351 "src/google/protobuf/util/type_resolver_util.cc",
352 "src/google/protobuf/util/type_resolver_util.h", 352 "src/google/protobuf/util/type_resolver_util.h",
353 "src/google/protobuf/wire_format.cc", 353 "src/google/protobuf/wire_format.cc",
354 "src/google/protobuf/wire_format.h", 354 "src/google/protobuf/wire_format.h",
355 "src/google/protobuf/wrappers.pb.cc", 355 "src/google/protobuf/wrappers.pb.cc",
356 "src/google/protobuf/wrappers.pb.h", 356 "src/google/protobuf/wrappers.pb.h",
357 ] 357 ]
358 358
359 deps = [ 359 deps = [
360 "//build/config/sanitizers:deps", 360 "//build/config:exe_and_shlib_deps",
361 ] 361 ]
362 362
363 configs -= [ "//build/config/compiler:chromium_code" ] 363 configs -= [ "//build/config/compiler:chromium_code" ]
364 configs += [ 364 configs += [
365 "//build/config/compiler:no_chromium_code", 365 "//build/config/compiler:no_chromium_code",
366 366
367 # Must be after no_chromium_code for warning flags to be ordered 367 # Must be after no_chromium_code for warning flags to be ordered
368 # correctly. 368 # correctly.
369 ":protobuf_warnings", 369 ":protobuf_warnings",
370 ] 370 ]
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 ":copy_google_protobuf_internal", 691 ":copy_google_protobuf_internal",
692 ":copy_six", 692 ":copy_six",
693 ] 693 ]
694 694
695 # Targets that depend on this should depend on the copied data files. 695 # Targets that depend on this should depend on the copied data files.
696 data = get_target_outputs(":copy_google") 696 data = get_target_outputs(":copy_google")
697 data += get_target_outputs(":copy_six") 697 data += get_target_outputs(":copy_six")
698 data += get_target_outputs(":copy_google_protobuf") 698 data += get_target_outputs(":copy_google_protobuf")
699 data += get_target_outputs(":copy_google_protobuf_internal") 699 data += get_target_outputs(":copy_google_protobuf_internal")
700 } 700 }
OLDNEW
« no previous file with comments | « third_party/opus/BUILD.gn ('k') | third_party/qcms/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698