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-10-30 17:44:57 +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-10-30 17:44:57 +00:00
|
|
|
env_bps.Append(CPPFLAGS=['-DPAYMENT_SERVICE_ENABLED'])
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
if env['bb10_lgles_override'] == "yes":
|
2016-10-30 17:44:57 +00:00
|
|
|
env_bps.Append(CPPFLAGS=['-DBB10_LGLES_OVERRIDE'])
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
prog = None
|
2015-03-03 17:39:13 +00:00
|
|
|
prog = env_bps.Program('#bin/godot', bb10_lib)
|