gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/examples/seccheck/BUILD (about) 1 load("//tools:defs.bzl", "cc_binary") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 cc_binary( 9 name = "server_cc", 10 srcs = ["server.cc"], 11 # gcc reports the false warning: 12 # examples/seccheck/server.cc:147:19: error: 'buf' may be used uninitialized 13 # More details are here: 14 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101831 15 copts = [ 16 "-Wno-maybe-uninitialized", 17 "-Wno-unknown-warning-option", 18 ], 19 visibility = ["//:sandbox"], 20 deps = [ 21 # any_cc_proto placeholder, 22 "//pkg/sentry/seccheck/points:points_cc_proto", 23 "@com_google_absl//absl/cleanup", 24 "@com_google_absl//absl/strings", 25 "@com_google_protobuf//:protobuf", 26 ], 27 )