summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/boringssl/BUILD.gn2
-rw-r--r--third_party/cld/BUILD.gn4
-rw-r--r--third_party/dom_distiller_js/BUILD.gn2
-rw-r--r--third_party/protobuf/BUILD.gn3
-rw-r--r--third_party/protobuf/proto_library.gni2
-rw-r--r--third_party/yasm/yasm_assemble.gni3
6 files changed, 11 insertions, 5 deletions
diff --git a/third_party/boringssl/BUILD.gn b/third_party/boringssl/BUILD.gn
index bb48833..7337461 100644
--- a/third_party/boringssl/BUILD.gn
+++ b/third_party/boringssl/BUILD.gn
@@ -15,7 +15,7 @@ config("openssl_config") {
# Config internal to this build file.
config("openssl_internal_config") {
- visibility = ":*" # Only targets in this file can depend on this.
+ visibility = [ ":*" ] # Only targets in this file can depend on this.
}
# The list of BoringSSL files is kept in boringssl.gypi.
diff --git a/third_party/cld/BUILD.gn b/third_party/cld/BUILD.gn
index d3b5774..44416d4 100644
--- a/third_party/cld/BUILD.gn
+++ b/third_party/cld/BUILD.gn
@@ -8,6 +8,10 @@ config("cld_config") {
}
static_library("cld") {
+ # This target includes its own copy of "base" which confuses the header
+ # checker.
+ check_includes = false
+
sources = [
"encodings/compact_lang_det/cldutil.cc",
"encodings/compact_lang_det/cldutil.h",
diff --git a/third_party/dom_distiller_js/BUILD.gn b/third_party/dom_distiller_js/BUILD.gn
index a74c792..91bc138 100644
--- a/third_party/dom_distiller_js/BUILD.gn
+++ b/third_party/dom_distiller_js/BUILD.gn
@@ -15,7 +15,7 @@ source_set("proto") {
}
proto_library("dom_distiller_proto") {
- visibility = ":*"
+ visibility = [ ":*" ]
sources = [ "package/proto/dom_distiller.proto" ]
proto_out_dir = "third_party/dom_distiller_js"
}
diff --git a/third_party/protobuf/BUILD.gn b/third_party/protobuf/BUILD.gn
index 72c9491..4119054 100644
--- a/third_party/protobuf/BUILD.gn
+++ b/third_party/protobuf/BUILD.gn
@@ -105,7 +105,8 @@ source_set("protobuf_lite") {
# into that category. Do not use in Chrome code.
source_set("protobuf_full") {
- visibility = ":*" # Prevent people from depending on this outside our file.
+ # Prevent people from depending on this outside our file.
+ visibility = [ ":*" ]
sources = protobuf_lite_sources
sources += [
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index 6382670..f228f65 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -55,7 +55,7 @@ template("proto_library") {
action_name = "${target_name}_gen"
source_set_name = target_name
action_foreach(action_name) {
- visibility = ":$source_set_name"
+ visibility = [ ":$source_set_name" ]
script = "//tools/protoc_wrapper/protoc_wrapper.py"
diff --git a/third_party/yasm/yasm_assemble.gni b/third_party/yasm/yasm_assemble.gni
index 5dc4c7c..78037b8 100644
--- a/third_party/yasm/yasm_assemble.gni
+++ b/third_party/yasm/yasm_assemble.gni
@@ -110,7 +110,8 @@ template("yasm_assemble") {
source_set_name = target_name
action_foreach(action_name) {
- visibility = ":$source_set_name" # Only the source set can depend on this.
+ # Only the source set can depend on this.
+ visibility = [ ":$source_set_name" ]
script = "//third_party/yasm/run_yasm.py"
sources = invoker.sources