mirror of
https://github.com/google/pebble.git
synced 2025-03-15 16:51:21 +00:00
20 lines
492 B
Text
20 lines
492 B
Text
|
import os
|
||
|
|
||
|
def configure(conf):
|
||
|
pass
|
||
|
|
||
|
def build(bld):
|
||
|
if bld.variant in ('test', 'test_rocky_emx', 'pdc2png'):
|
||
|
bld.recurse('pdc2png')
|
||
|
|
||
|
if bld.variant == 'test':
|
||
|
bld.recurse('tests')
|
||
|
|
||
|
# This variant is not supported yet, but can be used to build all tools
|
||
|
if bld.variant == 'tools':
|
||
|
tool_dirs = [os.path.dirname(f.abspath()) for f in bld.path.ant_glob('**/wscript')]
|
||
|
for dir in tool_dirs:
|
||
|
bld.recurse(dir)
|
||
|
|
||
|
# vim:filetype=python
|