|
@@ -81,16 +81,10 @@ LOCAL_CPPDEFINES = ['JERRY_JS_PARSER', 'JERRY_ENABLE_ERROR_MESSAGES']
|
|
|
group = DefineGroup('JerryScript', src, depend = ['PKG_USING_JERRYSCRIPT'], CPPPATH = path,
|
|
group = DefineGroup('JerryScript', src, depend = ['PKG_USING_JERRYSCRIPT'], CPPPATH = path,
|
|
|
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
|
|
LOCAL_CPPDEFINES = LOCAL_CPPDEFINES, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
|
|
|
|
|
|
|
|
-list = os.listdir(cwd + '/examples')
|
|
|
|
|
|
|
+list = os.listdir(cwd)
|
|
|
|
|
|
|
|
-if GetDepend('PKG_USING_JERRYSCRIPT'):
|
|
|
|
|
-
|
|
|
|
|
- for d in list:
|
|
|
|
|
-
|
|
|
|
|
- path = os.path.join(cwd, d)
|
|
|
|
|
-
|
|
|
|
|
- if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
|
|
|
-
|
|
|
|
|
- group = group + SConscript(os.path.join(d, 'SConscript'))
|
|
|
|
|
|
|
+for item in list:
|
|
|
|
|
+ if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
|
|
|
+ group = group + SConscript(os.path.join(item, 'SConscript'))
|
|
|
|
|
|
|
|
Return('group')
|
|
Return('group')
|