mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Explicitly mark tests/testdata/* as binary. (#761)
Fixes #760 Drive-by: * update go_rules * modernize brotli_inc * fix wrapper build * update PY to 3 in Travis / OSX / Bazel build * upgrade JS Bazel rules.
This commit is contained in:
parent
78e7bbc3c3
commit
40f0fdcdc1
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
tests/testdata/* binary
|
2
BUILD
2
BUILD
@ -99,7 +99,7 @@ cc_library(
|
||||
name = "brotli_inc",
|
||||
hdrs = [":public_headers"],
|
||||
copts = STRICT_C_OPTIONS,
|
||||
includes = ["c/include"],
|
||||
strip_include_prefix = "c/include",
|
||||
)
|
||||
|
||||
cc_library(
|
||||
|
@ -9,8 +9,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_go",
|
||||
urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.17.0/rules_go-0.17.0.tar.gz"],
|
||||
sha256 = "492c3ac68ed9dcf527a07e6a1b2dcbf199c6bf8b35517951467ac32e421c06c1",
|
||||
urls = [
|
||||
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.0/rules_go-0.19.0.tar.gz",
|
||||
"https://github.com/bazelbuild/rules_go/releases/download/0.19.0/rules_go-0.19.0.tar.gz",
|
||||
],
|
||||
sha256 = "9fb16af4d4836c8222142e54c9efa0bb5fc562ffc893ce2abeac3e25daead144",
|
||||
)
|
||||
|
||||
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
#include "../common/dictionary.h"
|
||||
#include "c/common/dictionary.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -4,7 +4,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
|
||||
|
||||
git_repository(
|
||||
name = "io_bazel_rules_closure",
|
||||
commit = "a176ec89a1b251bb5442ba569d47cee3c053e633",
|
||||
commit = "29ec97e7c85d607ba9e41cab3993fbb13f812c4b",
|
||||
remote = "https://github.com/bazelbuild/rules_closure.git",
|
||||
)
|
||||
|
||||
|
@ -18,6 +18,7 @@ case "$1" in
|
||||
case "${BUILD_SYSTEM}" in
|
||||
"bazel")
|
||||
brew install bazel
|
||||
brew upgrade python
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user