mirror of
https://github.com/google/pebble.git
synced 2025-11-30 11:12:22 -05:00
Import of the watch repository from Pebble
This commit is contained in:
22
third_party/nanopb/wscript
vendored
Normal file
22
third_party/nanopb/wscript
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
def configure(conf):
|
||||
pass
|
||||
|
||||
|
||||
def build(bld):
|
||||
nanopb_sources = []
|
||||
nanopb_sources.append(bld.path.make_node('pb_common.c'))
|
||||
nanopb_sources.append(bld.path.make_node('pb_encode.c'))
|
||||
nanopb_sources.append(bld.path.make_node('pb_decode.c'))
|
||||
|
||||
nanopb_includes = ['.']
|
||||
|
||||
bld(export_includes=nanopb_includes, name='nanopb_includes')
|
||||
|
||||
bld.stlib(source=nanopb_sources,
|
||||
includes=nanopb_includes,
|
||||
export_includes=nanopb_includes,
|
||||
target='nanopb',
|
||||
use=['pblibc'])
|
||||
|
||||
|
||||
# vim:filetype=python
|
||||
Reference in New Issue
Block a user