aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-05-23 16:44:25 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-05-23 16:44:37 +0300
commit03c685b9e4dc801b08eff8dbc5facf19346134dd (patch)
tree54fdb569d41e0ee5a1933c1370a332af8fd4c4c0 /build.py
parentee0607ddf92b0d4e3cf9a075db6c2e2f4439400e (diff)
downloadmeson-03c685b9e4dc801b08eff8dbc5facf19346134dd.zip
meson-03c685b9e4dc801b08eff8dbc5facf19346134dd.tar.gz
meson-03c685b9e4dc801b08eff8dbc5facf19346134dd.tar.bz2
Put in some frosting.
Diffstat (limited to 'build.py')
-rw-r--r--build.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.py b/build.py
index fef3e53..9d02740 100644
--- a/build.py
+++ b/build.py
@@ -569,6 +569,8 @@ class CustomTarget:
self.subdir = subdir
self.dependencies = []
self.process_kwargs(kwargs)
+ self.sources = []
+ self.extra_files = []
def process_kwargs(self, kwargs):
if 'output' not in kwargs:
@@ -632,6 +634,12 @@ class CustomTarget:
def get_aliaslist(self):
return []
+ def get_sources(self):
+ return self.sources
+
+ def get_generated_sources(self):
+ return []
+
class Jar(BuildTarget):
def __init__(self, name, subdir, is_cross, sources, objects, environment, kwargs):
super().__init__(name, subdir, is_cross, sources, objects, environment, kwargs);