bazel: Set generator version to default v1

No change in behavior.

PiperOrigin-RevId: 438766481
Change-Id: Iaf52d32856007fb83ee0032d4d5097482f45f47d
pull/140/head
Christian Blichmann 2022-04-01 01:45:23 -07:00 committed by Copybara-Service
parent 4b2c730c5e
commit 3f72b3cab7
5 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ sapi_library(
functions = [
"AddTwoIntegers",
],
generator_version = 1,
input_files = ["hello_lib.cc"],
lib = ":hello_lib",
lib_name = "Hello",

View File

@ -54,6 +54,7 @@ sapi_library(
"violate",
"get_raw_c_string",
],
generator_version = 1,
input_files = ["stringop.cc"],
lib = ":stringop",
lib_name = "Stringop",

View File

@ -60,6 +60,7 @@ sapi_library(
"sleep_for_sec",
"sumproto",
],
generator_version = 1,
input_files = [
"sum.c",
"sum_cpp.cc",

View File

@ -28,6 +28,7 @@ sapi_library(
"deflate",
"deflateEnd",
],
generator_version = 1,
lib = "@net_zlib//:zlib",
lib_name = "Zlib",
namespace = "sapi::zlib",

View File

@ -60,6 +60,7 @@ cc_library(
# Targets for testing if generated code compiles
sapi_library(
name = "tests_sapi_generator",
generator_version = 1,
input_files = [
"testdata/tests.cc",
"testdata/tests2.cc",