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/0ccd9e43-b6eb-461a-b159-79c1326ea868n%40googlegroups.com.

Reply via email to