But it did not work On Tuesday, January 2, 2024 at 1:34:24 PM UTC priya_cast_23 wrote:
> I am trying to generate the .so from bazel. > > I added this in the bazel.BUILD > > > cc_library( > name = "libprotobuf.so", > srcs = [ > ":dist_files", > "//src/google/protobuf:dist_files", > "//src/google/protobuf/compiler:dist_files", > "//src/google/protobuf/compiler/cpp:dist_files", > "//src/google/protobuf/compiler/csharp:dist_files", > "//src/google/protobuf/compiler/java:dist_files", > "//src/google/protobuf/compiler/objectivec:dist_files", > "//src/google/protobuf/compiler/php:dist_files", > "//src/google/protobuf/compiler/python:dist_files", > "//src/google/protobuf/compiler/ruby:dist_files", > "//src/google/protobuf/io:dist_files", > "//src/google/protobuf/stubs:dist_files", > "//src/google/protobuf/testing:dist_files", > "//src/google/protobuf/util:dist_files", > ], > linkshared = 1, > alwayslink = True, > linkstatic = True, > visibility = ["//visibility:public"], > ) > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/28762067-1cd2-40ca-b6ad-baf77138d807n%40googlegroups.com.
