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

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

Issue 2448133006: Tool added to extract network traffic annotations. (Closed)
Patch Set: Created 4 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
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
183 # Traffic_annotation is not part of the Chrome build.
184 "//tools/traffic_annotation/*",
battre 2016/10/26 14:29:18 Turned out that this is still problematic and chec
Ramin Halavati 2016/10/27 09:40:08 Done.
185 ]
181 186
182 sources = protobuf_lite_sources 187 sources = protobuf_lite_sources
183 sources += [ 188 sources += [
184 "src/google/protobuf/any.cc", 189 "src/google/protobuf/any.cc",
185 "src/google/protobuf/any.h", 190 "src/google/protobuf/any.h",
186 "src/google/protobuf/any.pb.cc", 191 "src/google/protobuf/any.pb.cc",
187 "src/google/protobuf/any.pb.h", 192 "src/google/protobuf/any.pb.h",
188 "src/google/protobuf/api.pb.cc", 193 "src/google/protobuf/api.pb.cc",
189 "src/google/protobuf/api.pb.h", 194 "src/google/protobuf/api.pb.h",
190 "src/google/protobuf/compiler/importer.cc", 195 "src/google/protobuf/compiler/importer.cc",
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 ":copy_google_protobuf_internal", 648 ":copy_google_protobuf_internal",
644 ":copy_six", 649 ":copy_six",
645 ] 650 ]
646 651
647 # Targets that depend on this should depend on the copied data files. 652 # Targets that depend on this should depend on the copied data files.
648 data = get_target_outputs(":copy_google") 653 data = get_target_outputs(":copy_google")
649 data += get_target_outputs(":copy_six") 654 data += get_target_outputs(":copy_six")
650 data += get_target_outputs(":copy_google_protobuf") 655 data += get_target_outputs(":copy_google_protobuf")
651 data += get_target_outputs(":copy_google_protobuf_internal") 656 data += get_target_outputs(":copy_google_protobuf_internal")
652 } 657 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | tools/clang/scripts/run_tool.py » ('j') | tools/clang/scripts/run_tool.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698