diff options
author | 2015-09-23 12:20:20 +0000 | |
---|---|---|
committer | 2015-09-24 14:13:58 +0000 | |
commit | eaae08e4ed25c396a04c759a4c88734a1c78064e (patch) | |
tree | 96a3c7aeeca2c21f11c50662b17384eb388c7dfd /examples/d/hello_lib/BUILD | |
parent | e7a2fdb620516611c9a8f25704c947ed64ae7294 (diff) |
Update d_docs rule to take a dependency on a d_binary, a d_library or d_source_library.
RELNOTES: [d] d_docs rules now depend on a d_binary, a d_library or d_source_library.
--
MOS_MIGRATED_REVID=103736167
Diffstat (limited to 'examples/d/hello_lib/BUILD')
-rw-r--r-- | examples/d/hello_lib/BUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/d/hello_lib/BUILD b/examples/d/hello_lib/BUILD index 7ed1624a41..a4d901d224 100644 --- a/examples/d/hello_lib/BUILD +++ b/examples/d/hello_lib/BUILD @@ -33,8 +33,10 @@ d_source_library( d_docs( name = "greeter_docs", - srcs = glob( - ["*.d"], - exclude = ["*_test.d"], - ), + dep = ":greeter", +) + +d_docs( + name = "native_greeter_docs", + dep = ":native_greeter", ) |