diff options
| author | aozima <[email protected]> | 2017-10-26 10:51:21 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2017-10-29 14:32:53 +0800 |
| commit | f75c8f6e813eaa2233e6d9920204997cbfa95158 (patch) | |
| tree | 0a6080649a6561de1c2f3a92a3d14209dfd22b92 /components | |
| parent | d235ad44c646b470995205a408f3aad35c851dfc (diff) | |
update SConscript: support scons 3.
Diffstat (limited to 'components')
| -rw-r--r-- | components/external/cairo/SConscript | 6 | ||||
| -rw-r--r-- | components/external/ftk/SConscript | 6 | ||||
| -rw-r--r-- | components/external/pixman/SConscript | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/components/external/cairo/SConscript b/components/external/cairo/SConscript index 2e3b5b78cd..3c6651b9b7 100644 --- a/components/external/cairo/SConscript +++ b/components/external/cairo/SConscript @@ -6,9 +6,9 @@ CAIRO_PATH = 'cairo-' + CAIRO_VERSION cwd = GetCurrentDir() if GetDepend('RT_USING_CAIRO') and not os.path.exists(CAIRO_PATH): - print '================ERROR============================' - print 'Please get cairo dist and put them under cairo folder' - print '=================================================' + print('================ERROR============================') + print('Please get cairo dist and put them under cairo folder') + print('=================================================') exit(0) # source files diff --git a/components/external/ftk/SConscript b/components/external/ftk/SConscript index 2dd016d0d3..2f4fbe1ec0 100644 --- a/components/external/ftk/SConscript +++ b/components/external/ftk/SConscript @@ -8,9 +8,9 @@ if os.path.isfile(os.path.join(RTT_ROOT, 'components', 'external', 'ftk', objs = SConscript('ftk/src/os/rt-thread/SConscript') else: if GetDepend('RT_USING_FTK'): - print '================ERROR============================' - print 'Please get ftk file and put them under ftk folder' - print '=================================================' + print('================ERROR============================') + print('Please get ftk file and put them under ftk folder') + print('=================================================') exit(0) objs = [] diff --git a/components/external/pixman/SConscript b/components/external/pixman/SConscript index d52990a5dd..7ab5c50ce1 100644 --- a/components/external/pixman/SConscript +++ b/components/external/pixman/SConscript @@ -8,9 +8,9 @@ PIXMAN_VERSION = '0.21.6' PIXMAN_PATH = 'pixman-' + PIXMAN_VERSION if GetDepend('RT_USING_CAIRO') and not os.path.exists(PIXMAN_PATH): - print '================ERROR============================' - print 'Please get pixman dist and put them under pixman folder' - print '=================================================' + print('================ERROR============================') + print('Please get pixman dist and put them under pixman folder') + print('=================================================') exit(0) # core source files |
