Skip to content

Commit a428c58

Browse files
authored
Merge pull request #125 from Katee/support-protobuf-v21.0-rc1
Support protobuf v21.0 rc1
2 parents 88f356e + 4dcdee2 commit a428c58

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
21
workspace(name = "com_google_protobuf_javascript")
32

43
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
54

65
http_archive(
76
name = "com_google_protobuf",
8-
urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.20.1.zip"],
9-
strip_prefix = "protobuf-3.20.1",
7+
strip_prefix = "protobuf-21.0-rc1",
8+
urls = ["https://github.com/protocolbuffers/protobuf/archive/refs/tags/v21.0-rc1.zip"],
109
)
1110

1211
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
12+
1313
protobuf_deps()

generator/js_generator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030

3131
#include <assert.h>
32-
#include <google/protobuf/compiler/js/well_known_types_embed.h>
32+
#include "generator/well_known_types_embed.h"
3333
#include <google/protobuf/compiler/scc.h>
3434
#include <google/protobuf/descriptor.h>
3535
#include <google/protobuf/descriptor.pb.h>

generator/well_known_types_embed.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2929
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030

31-
#include <google/protobuf/compiler/js/well_known_types_embed.h>
31+
#include "generator/well_known_types_embed.h"
3232

3333
struct FileToc well_known_types_js[] = {
3434
{"any.js",

0 commit comments

Comments
 (0)