diff --git a/sandboxed_api/examples/hello_sapi/BUILD.bazel b/sandboxed_api/examples/hello_sapi/BUILD.bazel index 943e636..20358ad 100644 --- a/sandboxed_api/examples/hello_sapi/BUILD.bazel +++ b/sandboxed_api/examples/hello_sapi/BUILD.bazel @@ -30,6 +30,7 @@ sapi_library( functions = [ "AddTwoIntegers", ], + generator_version = 1, input_files = ["hello_lib.cc"], lib = ":hello_lib", lib_name = "Hello", diff --git a/sandboxed_api/examples/stringop/BUILD.bazel b/sandboxed_api/examples/stringop/BUILD.bazel index 3f70d86..9ef9be8 100644 --- a/sandboxed_api/examples/stringop/BUILD.bazel +++ b/sandboxed_api/examples/stringop/BUILD.bazel @@ -54,6 +54,7 @@ sapi_library( "violate", "get_raw_c_string", ], + generator_version = 1, input_files = ["stringop.cc"], lib = ":stringop", lib_name = "Stringop", diff --git a/sandboxed_api/examples/sum/BUILD.bazel b/sandboxed_api/examples/sum/BUILD.bazel index fdd967b..bb5959e 100644 --- a/sandboxed_api/examples/sum/BUILD.bazel +++ b/sandboxed_api/examples/sum/BUILD.bazel @@ -60,6 +60,7 @@ sapi_library( "sleep_for_sec", "sumproto", ], + generator_version = 1, input_files = [ "sum.c", "sum_cpp.cc", diff --git a/sandboxed_api/examples/zlib/BUILD.bazel b/sandboxed_api/examples/zlib/BUILD.bazel index a727c8a..b6403e2 100644 --- a/sandboxed_api/examples/zlib/BUILD.bazel +++ b/sandboxed_api/examples/zlib/BUILD.bazel @@ -28,6 +28,7 @@ sapi_library( "deflate", "deflateEnd", ], + generator_version = 1, lib = "@net_zlib//:zlib", lib_name = "Zlib", namespace = "sapi::zlib", diff --git a/sandboxed_api/tools/generator2/BUILD.bazel b/sandboxed_api/tools/generator2/BUILD.bazel index 1b8436e..cce8dae 100644 --- a/sandboxed_api/tools/generator2/BUILD.bazel +++ b/sandboxed_api/tools/generator2/BUILD.bazel @@ -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",