This is liable to change in the future.A d_library() rule represents a set of D source files.
The short name for this build target.
The set of D source files to be compiled by this rule. Each element should be a string specifying a source file (e.g.
The set of dependencies of this rule. Each element should be a string specifying a d_library rule defined elsewhere (e.g.
List of build target patterns that identify the build rules that can include this rule as a dependency, for example, by listing it in their
exported_depsattributes. For more information, see visibility.
Set of license files for this library. To get the list of license files for a given build rule and all of its dependencies, you can use
Set of arbitrary strings which allow you to annotate a build rule with tags that can be searched for over an entire dependency tree using
buck query attrfilter().
# A simple library with a single source file and a single dependency. d_library( name='greeting', srcs=[ 'greeting.d', ], deps=[ ':join', ], ) d_library( name='join', srcs=[ 'join.d', ], )