blob: 6b74374d0981457f4526156f04aad44b107d0cd2 [file] [log] [blame]
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
{namespace d_common}
/***/
{template .deps_arg}
{call buck.arg}
{param name : 'deps' /}
{param default : '[]' /}
{param desc}
The set of dependencies of this rule.
Each element should be a string specifying a d_library rule defined elsewhere
(e.g. <code>':foo'</code> or '//foo:bar').
{/param}
{/call}
{/template}
/***/
{template .srcs_arg}
{call buck.arg}
{param name : 'srcs' /}
{param desc}
The set of D source files to be compiled by this rule.
Each element should be a string specifying a source file (e.g. <code>'foo/bar.d'</code>).
{/param}
{/call}
{/template}
/***/
{template .linker_flags_arg}
{call buck.arg}
{param name : 'linker_flags' /}
{param desc}
The list of flags to be passed to the linker.
Each element should be a string specifying a linker flag (e.g. <code>'--as-needed'</code>).
{/param}
{/call}
{/template}