Skip to content

Commit

Permalink
Fix import prefix for cel protos (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfus committed Jun 7, 2023
1 parent 51af45e commit 1b3598c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions proto/dev/cel/expr/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ proto_library(
"syntax.proto",
"value.proto",
],
strip_import_prefix = "/proto",
deps = [
"@com_google_googleapis//google/rpc:status_proto",
"@com_google_protobuf//:any_proto",
Expand All @@ -28,6 +29,7 @@ proto_library(
srcs = [
"syntax.proto",
],
strip_import_prefix = "/proto",
deps = [
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:struct_proto",
Expand All @@ -40,6 +42,7 @@ proto_library(
srcs = [
"checked.proto",
],
strip_import_prefix = "/proto",
deps = [
":syntax_proto",
"@com_google_protobuf//:empty_proto",
Expand All @@ -52,6 +55,7 @@ proto_library(
srcs = [
"value.proto",
],
strip_import_prefix = "/proto",
deps = [
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:struct_proto",
Expand All @@ -63,6 +67,7 @@ proto_library(
srcs = [
"eval.proto",
],
strip_import_prefix = "/proto",
deps = [
":value_proto",
"@com_google_googleapis//google/rpc:status_proto",
Expand All @@ -74,6 +79,7 @@ proto_library(
srcs = [
"explain.proto",
],
strip_import_prefix = "/proto",
deps = [
":value_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion proto/dev/cel/expr/checked.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ syntax = "proto3";

package dev.cel.expr;

import "proto/dev/cel/expr/syntax.proto";
import "dev/cel/expr/syntax.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/dev/cel/expr/eval.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ syntax = "proto3";

package dev.cel.expr;

import "proto/dev/cel/expr/value.proto";
import "dev/cel/expr/value.proto";
import "google/rpc/status.proto";

option cc_enable_arenas = true;
Expand Down
2 changes: 1 addition & 1 deletion proto/dev/cel/expr/explain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ syntax = "proto3";

package dev.cel.expr;

import "proto/dev/cel/expr/value.proto";
import "dev/cel/expr/value.proto";

option cc_enable_arenas = true;
option go_package = "dev.cel/expr";
Expand Down

0 comments on commit 1b3598c

Please sign in to comment.