Skip to content

Commit 01ecafe

Browse files
authored
Remove unsupported includes parameter for apple_metal_library (#2851)
1 parent d1a4b91 commit 01ecafe

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

apple/internal/resource_rules/apple_metal_library.bzl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ A list of compiler options passed to the `metal` compiler for each source.
125125
allow_files = [".h"],
126126
doc = """\
127127
A list of headers to make importable when compiling the metal library.
128-
""",
129-
),
130-
"includes": attr.string_list(
131-
doc = """\
132-
A list of header search paths.
133128
""",
134129
),
135130
"out": attr.string(

doc/rules-resources.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ resides. For example, if this target's label is `//my/package:intent`, you can i
9191
<pre>
9292
load("@rules_apple//apple:resources.bzl", "apple_metal_library")
9393

94-
apple_metal_library(<a href="#apple_metal_library-name">name</a>, <a href="#apple_metal_library-srcs">srcs</a>, <a href="#apple_metal_library-out">out</a>, <a href="#apple_metal_library-hdrs">hdrs</a>, <a href="#apple_metal_library-copts">copts</a>, <a href="#apple_metal_library-includes">includes</a>)
94+
apple_metal_library(<a href="#apple_metal_library-name">name</a>, <a href="#apple_metal_library-srcs">srcs</a>, <a href="#apple_metal_library-out">out</a>, <a href="#apple_metal_library-hdrs">hdrs</a>, <a href="#apple_metal_library-copts">copts</a>)
9595
</pre>
9696

9797
Compiles Metal shader language sources into a Metal library.
@@ -106,7 +106,6 @@ Compiles Metal shader language sources into a Metal library.
106106
| <a id="apple_metal_library-out"></a>out | An output `.metallib` filename. Defaults to `default.metallib` if unspecified. | String | optional | `"default.metallib"` |
107107
| <a id="apple_metal_library-hdrs"></a>hdrs | A list of headers to make importable when compiling the metal library. | <a href="https://bazel.build/concepts/labels">List of labels</a> | optional | `[]` |
108108
| <a id="apple_metal_library-copts"></a>copts | A list of compiler options passed to the `metal` compiler for each source. | List of strings | optional | `[]` |
109-
| <a id="apple_metal_library-includes"></a>includes | A list of header search paths. | List of strings | optional | `[]` |
110109

111110

112111
<a id="apple_precompiled_resource_bundle"></a>

0 commit comments

Comments
 (0)