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

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

Issue 2727123003: [libfuzzer] proto-based renderer fuzzer draft (Closed)
Patch Set: merge Created 3 years, 9 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("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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 public_configs += [ ":protobuf_use_dlls" ] 170 public_configs += [ ":protobuf_use_dlls" ]
171 defines = [ "LIBPROTOBUF_EXPORTS" ] 171 defines = [ "LIBPROTOBUF_EXPORTS" ]
172 } 172 }
173 } 173 }
174 174
175 # This is the full, heavy protobuf lib that's needed for c++ .protos that don't 175 # This is the full, heavy protobuf lib that's needed for c++ .protos that don't
176 # specify the LITE_RUNTIME option. The protocol compiler itself (protoc) falls 176 # specify the LITE_RUNTIME option. The protocol compiler itself (protoc) falls
177 # into that category. Do not use in Chrome code. 177 # into that category. Do not use in Chrome code.
178 static_library("protobuf_full") { 178 static_library("protobuf_full") {
179 # Prevent people from depending on this outside our file. 179 # Prevent people from depending on this outside our file.
180 visibility = [ ":*" ] 180 visibility = [
181 ":*",
182 # requires descriptors & reflection; testonly.
183 "//third_party/libprotobuf-mutator:*",
184 ]
181 185
182 sources = protobuf_lite_sources 186 sources = protobuf_lite_sources
183 sources += [ 187 sources += [
184 "src/google/protobuf/any.cc", 188 "src/google/protobuf/any.cc",
185 "src/google/protobuf/any.h", 189 "src/google/protobuf/any.h",
186 "src/google/protobuf/any.pb.cc", 190 "src/google/protobuf/any.pb.cc",
187 "src/google/protobuf/any.pb.h", 191 "src/google/protobuf/any.pb.h",
188 "src/google/protobuf/api.pb.cc", 192 "src/google/protobuf/api.pb.cc",
189 "src/google/protobuf/api.pb.h", 193 "src/google/protobuf/api.pb.h",
190 "src/google/protobuf/compiler/importer.cc", 194 "src/google/protobuf/compiler/importer.cc",
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 ":copy_google_protobuf_internal", 647 ":copy_google_protobuf_internal",
644 ":copy_six", 648 ":copy_six",
645 ] 649 ]
646 650
647 # Targets that depend on this should depend on the copied data files. 651 # Targets that depend on this should depend on the copied data files.
648 data = get_target_outputs(":copy_google") 652 data = get_target_outputs(":copy_google")
649 data += get_target_outputs(":copy_six") 653 data += get_target_outputs(":copy_six")
650 data += get_target_outputs(":copy_google_protobuf") 654 data += get_target_outputs(":copy_google_protobuf")
651 data += get_target_outputs(":copy_google_protobuf_internal") 655 data += get_target_outputs(":copy_google_protobuf_internal")
652 } 656 }
OLDNEW
« content/test/fuzzer/html_tree.proto ('K') | « third_party/libprotobuf-mutator/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698