Update systemlibs protobuf vars

This commit is contained in:
Balint Cristian 2019-12-03 13:29:47 +02:00
parent a56901ffc9
commit 610a78b985
2 changed files with 2 additions and 3 deletions

View File

@ -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",

View File

@ -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: