blob: 515f5d1a9f5f0bda2d712e5ea152b8d8146c4ab5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def HostLibrary(name):
"""Template for libraries."""
HOST_LIBRARY_NAME = name
@template
def HostRustLibrary(name, features=None):
"""Template for Rust libraries."""
HostLibrary(name)
IS_RUST_LIBRARY = True
if features:
HOST_RUST_LIBRARY_FEATURES = features
HostRustLibrary("hostrusttool")
|