mirror of
https://github.com/google/pebble.git
synced 2025-05-29 06:23:13 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
20
third_party/duma/wscript
vendored
Normal file
20
third_party/duma/wscript
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
def configure(conf):
|
||||
pass
|
||||
|
||||
def build(bld):
|
||||
if 'DUMA_DISABLED' in bld.env.DEFINES:
|
||||
return
|
||||
|
||||
import sys
|
||||
|
||||
defines = []
|
||||
if 'linux' in sys.platform:
|
||||
defines.append('_POSIX_C_SOURCE')
|
||||
elif 'darwin' in sys.platform:
|
||||
defines.append('DUMA_SO_PREFER_GETENV')
|
||||
|
||||
bld.stlib(source=['duma.c', 'print.c', 'sem_inc.c'],
|
||||
defines=defines,
|
||||
target='duma')
|
||||
|
||||
# vim:filetype=python
|
Loading…
Add table
Add a link
Reference in a new issue