File tree 2 files changed +3
-0
lines changed
src/main/java/com/google/devtools/build/lib/rules/proto
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ java_library(
51
51
"//src/main/java/com/google/devtools/build/lib/vfs" ,
52
52
"//src/main/java/com/google/devtools/build/lib/vfs:pathfragment" ,
53
53
"//src/main/java/com/google/devtools/common/options" ,
54
+ "//src/main/java/net/starlark/java/annot" ,
54
55
"//src/main/java/net/starlark/java/eval" ,
55
56
"//third_party:auto_value" ,
56
57
"//third_party:guava" ,
Original file line number Diff line number Diff line change 30
30
import com .google .devtools .common .options .OptionEffectTag ;
31
31
import com .google .devtools .common .options .OptionMetadataTag ;
32
32
import java .util .List ;
33
+ import net .starlark .java .annot .StarlarkMethod ;
33
34
34
35
/** Configuration for Protocol Buffer Libraries. */
35
36
@ Immutable
@@ -201,6 +202,7 @@ public ProtoConfiguration(BuildOptions buildOptions) {
201
202
this .options = options ;
202
203
}
203
204
205
+ @ StarlarkMethod (name = "experimental_protoc_opts" , structField = true , documented = false )
204
206
public ImmutableList <String > protocOpts () {
205
207
return protocOpts ;
206
208
}
You can’t perform that action at this time.
0 commit comments