Update systemlibs protobuf vars
This commit is contained in:
parent
a56901ffc9
commit
610a78b985
1
third_party/systemlibs/protobuf.BUILD
vendored
1
third_party/systemlibs/protobuf.BUILD
vendored
@ -31,7 +31,6 @@ HEADERS = [
|
|||||||
"google/protobuf/io/zero_copy_stream.h",
|
"google/protobuf/io/zero_copy_stream.h",
|
||||||
"google/protobuf/io/zero_copy_stream_impl_lite.h",
|
"google/protobuf/io/zero_copy_stream_impl_lite.h",
|
||||||
"google/protobuf/map.h",
|
"google/protobuf/map.h",
|
||||||
"google/protobuf/port_def.inc",
|
|
||||||
"google/protobuf/repeated_field.h",
|
"google/protobuf/repeated_field.h",
|
||||||
"google/protobuf/text_format.h",
|
"google/protobuf/text_format.h",
|
||||||
"google/protobuf/timestamp.pb.h",
|
"google/protobuf/timestamp.pb.h",
|
||||||
|
4
third_party/systemlibs/protobuf.bzl
vendored
4
third_party/systemlibs/protobuf.bzl
vendored
@ -274,8 +274,8 @@ def internal_gen_well_known_protos_java(srcs):
|
|||||||
Args:
|
Args:
|
||||||
srcs: the well known protos
|
srcs: the well known protos
|
||||||
"""
|
"""
|
||||||
root = Label("%s//protobuf_java" % (REPOSITORY_NAME)).workspace_root
|
root = Label("%s//protobuf_java" % (native.repository_name())).workspace_root
|
||||||
pkg = PACKAGE_NAME + "/" if PACKAGE_NAME else ""
|
pkg = native.package_name() + "/" if native.package_name() else ""
|
||||||
if root == "":
|
if root == "":
|
||||||
include = " -I%ssrc " % pkg
|
include = " -I%ssrc " % pkg
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user