|
1 | 1 | workspace(name = "curve")
|
2 | 2 |
|
3 |
| -local_repository( |
4 |
| - name = "com_github_brpc_braft", |
5 |
| - path = "thirdparties/braft", |
| 3 | +git_repository( |
| 4 | + name = "com_netease_storage_gerrit_curve_curve_braft", |
| 5 | + remote = "http://gerrit.storage.netease.com/curve/curve-braft", |
| 6 | + commit = "5a64dad6c327f68e90f6f1b1d25f440055f2b309", |
6 | 7 | )
|
7 | 8 |
|
8 | 9 | bind(
|
9 | 10 | name = "braft",
|
10 |
| - actual = "@com_github_brpc_braft//:braft", |
| 11 | + actual = "@com_netease_storage_gerrit_curve_curve_braft//:braft", |
11 | 12 | )
|
12 | 13 |
|
13 | 14 | # proto_library, cc_proto_library, and java_proto_library rules implicitly
|
@@ -74,29 +75,30 @@ bind(
|
74 | 75 | actual = "@com_github_google_leveldb//:leveldb",
|
75 | 76 | )
|
76 | 77 |
|
77 |
| -local_repository( |
78 |
| - name = "com_github_brpc_brpc", |
79 |
| - path = "thirdparties/brpc", |
| 78 | +git_repository( |
| 79 | + name = "com_netease_storage_gerrit_curve_curve_brpc", |
| 80 | + remote = "http://gerrit.storage.netease.com/curve/curve-brpc", |
| 81 | + commit = "5d7dc6d53af8589d122b67ad0fc2de28f3c2ade5", |
80 | 82 | )
|
81 | 83 |
|
82 | 84 | bind(
|
83 | 85 | name = "brpc",
|
84 |
| - actual = "@com_github_brpc_brpc//:brpc", |
| 86 | + actual = "@com_netease_storage_gerrit_curve_curve_brpc//:brpc", |
85 | 87 | )
|
86 | 88 |
|
87 | 89 | bind(
|
88 | 90 | name = "butil",
|
89 |
| - actual = "@com_github_brpc_brpc//:butil", |
| 91 | + actual = "@com_netease_storage_gerrit_curve_curve_brpc//:butil", |
90 | 92 | )
|
91 | 93 |
|
92 | 94 | bind(
|
93 | 95 | name = "bthread",
|
94 |
| - actual = "@com_github_brpc_brpc//:bthread", |
| 96 | + actual = "@com_netease_storage_gerrit_curve_curve_brpc//:bthread", |
95 | 97 | )
|
96 | 98 |
|
97 | 99 | bind(
|
98 | 100 | name = "bvar",
|
99 |
| - actual = "@com_github_brpc_brpc//:bvar", |
| 101 | + actual = "@com_netease_storage_gerrit_curve_curve_brpc//:bvar", |
100 | 102 | )
|
101 | 103 |
|
102 | 104 | # jsoncpp
|
|
0 commit comments