workspace(name = "mace") # proto_library rules implicitly depend on @com_google_protobuf//:protoc, # which is the proto-compiler. # This statement defines the @com_google_protobuf repo. http_archive( name = "com_google_protobuf", urls = ["https://github.com/google/protobuf/archive/b4b0e304be5a68de3d0ee1af9b286f958750f5e4.zip"], strip_prefix = "protobuf-b4b0e304be5a68de3d0ee1af9b286f958750f5e4", sha256 = "ff771a662fb6bd4d3cc209bcccedef3e93980a49f71df1e987f6afa3bcdcba3a", ) # cc_proto_library rules implicitly depend on @com_google_protobuf_cc//:cc_toolchain, # which is the C++ proto runtime (base classes and common utilities). http_archive( name = "com_google_protobuf_cc", urls = ["https://github.com/google/protobuf/archive/b4b0e304be5a68de3d0ee1af9b286f958750f5e4.zip"], strip_prefix = "protobuf-b4b0e304be5a68de3d0ee1af9b286f958750f5e4", sha256 = "ff771a662fb6bd4d3cc209bcccedef3e93980a49f71df1e987f6afa3bcdcba3a", ) new_http_archive( name = "gtest", url = "https://github.com/google/googletest/archive/release-1.8.0.zip", sha256 = "f3ed3b58511efd272eb074a3a6d6fb79d7c2e6a0e374323d1e6bcbcc1ef141bf", build_file = "mace/third_party/gtest.BUILD", strip_prefix = "googletest-release-1.8.0/googletest", ) # Set up Android NDK android_ndk_repository( name = "androidndk", # Android 5.0 api_level = 21 )