2016-10-17 08:50:25 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
Import('env')
|
|
|
|
|
|
|
|
bb10_lib = [
|
|
|
|
|
2016-11-02 22:26:55 +01:00
|
|
|
'bbutil.c',
|
|
|
|
'os_bb10.cpp',
|
|
|
|
'audio_driver_bb10.cpp',
|
|
|
|
'godot_bb10.cpp',
|
|
|
|
'payment_service.cpp',
|
2014-02-10 02:10:30 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
env_bps = env.Clone()
|
|
|
|
if env['bb10_payment_service'] == "yes":
|
2016-11-02 22:26:55 +01:00
|
|
|
env_bps.Append(CPPFLAGS=['-DPAYMENT_SERVICE_ENABLED'])
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
if env['bb10_lgles_override'] == "yes":
|
2016-11-02 22:26:55 +01:00
|
|
|
env_bps.Append(CPPFLAGS=['-DBB10_LGLES_OVERRIDE'])
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
prog = None
|
2015-03-03 18:39:13 +01:00
|
|
|
prog = env_bps.Program('#bin/godot', bb10_lib)
|