aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorSylvain Defresne <sdefresne@chromium.org>2020-10-07 18:13:45 +0200
committerCommit Bot <commit-bot@chromium.org>2020-10-07 19:35:09 +0000
commit81d10f5dd7f5ba2e4919af91780d84dd30b817be (patch)
tree7af8ac2bfa51bcbf26942d09e1a9a5c27677db7e /third_party
parent70800603f250f4bd45764a717d64e90f680f41ab (diff)
downloadopenscreen-81d10f5dd7f5ba2e4919af91780d84dd30b817be.tar.gz
build: Remove no-op calls to set_sources_assignment_filter
Chromiun no longer use set_sources_assignment_filter() anywhere in the build, so these are no longer needed. Bug: chromium:1018739 Change-Id: I87f9cdf9320778632b2bbc612c7da19058da980d Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2456590 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/protobuf/proto_library.gni18
1 files changed, 3 insertions, 15 deletions
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index 222d6503..7bbc73b7 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -6,12 +6,6 @@ template("proto_library") {
assert(defined(invoker.sources), "Need sources for proto_library")
proto_sources = invoker.sources
- # Don't apply OS-specific sources filtering to the assignments later on.
- # Platform files should have gotten filtered out in the sources assignment
- # when this template was invoked. If they weren't, it was on purpose and
- # this template shouldn't re-apply the filter.
- set_sources_assignment_filter([])
-
proto_in_dir = rebase_path(get_path_info(proto_sources[0], "dir"), ".")
if (defined(invoker.proto_out_dir)) {
@@ -64,12 +58,8 @@ template("proto_library") {
rel_cc_out_dir,
]
- inputs = [
- protoc_path,
- ]
- deps = [
- protoc_label,
- ]
+ inputs = [ protoc_path ]
+ deps = [ protoc_label ]
}
config_name = "${target_name}_config"
@@ -90,9 +80,7 @@ template("proto_library") {
"//third_party/protobuf:using_proto",
":$config_name",
]
- public_deps = [
- ":$action_name",
- ]
+ public_deps = [ ":$action_name" ]
if (defined(invoker.use_protobuf_full) &&
invoker.use_protobuf_full == true) {
public_deps += [ "//third_party/protobuf:protobuf_full" ]