File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This files contains Bazel rules to collect headers by Bazel CcInfo targets.
2
+ #
3
+ # The 'include_dir' rule is used to extract the include headers
4
+ # from the dependency, so we can use them for our cinterop bindings.
5
+ # The target is called by the extract_include_dir.sh script, which
6
+ # is executed by the ./gradlew bundleIncludeDirLibC* task.
7
+ #
8
+ # The 'cc_header_only` rule returns a CcInfo that only contains the
9
+ # header files of the compilation dependency. This allows a
10
+ # library to depend on the header files, without compiling
11
+ # the whole dependency.
12
+ # E.g. it is used to bundle the
13
+ # //prebuilt-deps/grpc_fat:grpc_core_prebuilt
14
+ # target including the grpc headers.
15
+
1
16
HeaderInfo = provider (fields = ["headers_dir" , "headers" ])
2
17
3
18
# determines if the file is in the given repository
You can’t perform that action at this time.
0 commit comments