2016-10-17 06:50:25 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
bb10_lib = [
|
|
|
|
|
2016-11-02 21:26:55 +00:00
|
|
|
'bbutil.c',
|
|
|
|
'os_bb10.cpp',
|
|
|
|
'audio_driver_bb10.cpp',
|
|
|
|
'godot_bb10.cpp',
|
|
|
|
'payment_service.cpp',
|
2014-02-10 01:10:30 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
env_bps = env.Clone()
|
|
|
|
if env['bb10_payment_service'] == "yes":
|
2016-11-02 21:26:55 +00:00
|
|
|
env_bps.Append(CPPFLAGS=['-DPAYMENT_SERVICE_ENABLED'])
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
if env['bb10_lgles_override'] == "yes":
|
2016-11-02 21:26:55 +00:00
|
|
|
env_bps.Append(CPPFLAGS=['-DBB10_LGLES_OVERRIDE'])
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
prog = None
|
2017-11-28 20:14:24 +00:00
|
|
|
prog = env_bps.add_program('#bin/godot', bb10_lib)
|