PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/src/os/rt-thread/SConscript

http://ftk.googlecode.com/
#! | 162 lines | 153 code | 9 blank | 0 comment | 0 complexity | 5e1f410eb2af11f5f5154576df1e1c5e MD5 | raw file
  1import rtconfig
  2Import('RTT_ROOT')
  3from building import *
  4
  5ftk_app_src	= Split("""

  6../../../../ftk_module.c

  7../../../apps/desktop/main.c

  8../../../apps/desktop/app_info.c

  9""")
 10
 11ftk_src = Split("""

 12../../ftk_file_browser.c

 13../../ftk_file_system.c

 14../../ftk_file_system_posix.c

 15../../ftk_main_loop_select.c

 16../../fontdata.c

 17../../ftk.c

 18../../ftk_allocator.c

 19../../ftk_allocator_default.c

 20../../ftk_allocator_profile.c

 21../../ftk_animation_alpha.c

 22../../ftk_animation.c

 23../../ftk_animation_expand.c

 24../../ftk_animation_scale.c

 25../../ftk_animation_translate.c

 26../../ftk_animation_trigger_default.c

 27../../ftk_animation_trigger_silence.c

 28../../ftk_interpolator_acc_decelerate.c

 29../../ftk_interpolator_accelerate.c

 30../../ftk_interpolator_bounce.c

 31../../ftk_interpolator_decelerate.c

 32../../ftk_interpolator_linear.c

 33../../ftk_pairs.c

 34../../ftk_params.c

 35../../ftk_app_window.c

 36../../ftk_bitmap.c

 37../../ftk_bitmap_factory.c

 38../../ftk_button.c

 39../../ftk_canvas.c

 40../../ftk_canvas_default.c

 41../../ftk_check_button.c

 42../../ftk_clipboard.c

 43../../ftk_combo_box.c

 44../../ftk_config.c

 45../../ftk_dialog.c

 46../../ftk_display.c

 47../../ftk_display_mem.c

 48../../ftk_display_rotate.c

 49../../ftk_entry.c

 50../../ftk_expr.c

 51../../ftk_font.c

 52../../ftk_font_desc.c

 53../../ftk_font_manager.c

 54../../ftk_font_default.c

 55../../ftk_gesture.c

 56../../ftk_globals.c

 57../../ftk_icon_cache.c

 58../../ftk_icon_view.c

 59../../ftk_image.c

 60../../ftk_image_bmp_decoder.c

 61../../ftk_image_png_decoder.c

 62../../ftk_image_jpeg_decoder.c

 63../../ftk_input_method_manager.c

 64../../ftk_input_method_preeditor.c

 65../../ftk_input_method_preeditor_default.c

 66../../ftk_label.c

 67../../ftk_list_model_default.c

 68../../ftk_list_render_default.c

 69../../ftk_list_view.c

 70../../ftk_log.c

 71../../ftk_main_loop.c

 72../../ftk_menu_item.c

 73../../ftk_menu_panel.c

 74../../ftk_message_box.c

 75../../ftk_painter.c

 76../../ftk_path.c

 77../../ftk_popup_menu.c

 78../../ftk_progress_bar.c

 79../../ftk_group_box.c

 80../../ftk_scroll_bar.c

 81../../ftk_sources_manager.c

 82../../ftk_source_idle.c

 83../../ftk_source_primary.c

 84../../ftk_source_timer.c

 85../../ftk_sprite.c

 86../../ftk_status_item.c

 87../../ftk_status_panel.c

 88../../ftk_tab.c

 89../../ftk_text_buffer.c

 90../../ftk_text_layout_normal.c

 91../../ftk_text_view.c

 92../../ftk_theme.c

 93../../ftk_translator.c

 94../../ftk_util.c

 95../../ftk_wait_box.c

 96../../ftk_widget.c

 97../../ftk_window.c

 98../../ftk_wnd_manager.c

 99../../ftk_wnd_manager_default.c

100../../ftk_xml_parser.c

101../../ftk_xul.c

102../../ftk_dlfcn.c

103""")
104
105im_src = Split("""

106../../im/gpinyin/share/ngram.cpp 

107../../im/gpinyin/share/sync.cpp 

108../../im/gpinyin/share/spellingtrie.cpp 

109../../im/gpinyin/share/dicttrie.cpp 

110../../im/gpinyin/share/dictbuilder.cpp 

111../../im/gpinyin/share/spellingtable.cpp 

112../../im/gpinyin/share/splparser.cpp 

113../../im/gpinyin/share/searchutility.cpp 

114../../im/gpinyin/share/utf16char.cpp 

115../../im/gpinyin/share/mystdlib.cpp 

116../../im/gpinyin/share/utf16reader.cpp 

117../../im/gpinyin/share/userdict.cpp 

118../../im/gpinyin/share/matrixsearch.cpp 

119../../im/gpinyin/share/pinyinime.cpp 

120../../im/gpinyin/share/lpicache.cpp 

121../../im/gpinyin/share/dictlist.cpp 

122../../im/gpinyin/ftk/ftk_input_method_gpinyin.cpp

123""")
124
125linebreak_src = Split("""

126../../linebreak/linebreak.c

127../../linebreak/linebreakdata.c

128../../linebreak/linebreakdef.c

129""")
130
131rtthread_port_src = Split("""

132./ftk_mmap_rtthread.c

133./ftk_pipe_rtthread.c

134./ftk_rtthread.c

135./ftk_select_rtthread.c

136./ftk_input_method_chooser_rtthread.c

137../../backend/rt-thread/ftk_backend_rtthread.c

138../../backend/rt-thread/ftk_display_rtthread.c

139../../backend/rt-thread/ftk_source_touch.c

140../../backend/rt-thread/ftk_source_input.c

141""")
142
143# The set of source files associated with this SConscript file.

144src_local = ftk_src + linebreak_src + rtthread_port_src + ftk_app_src
145
146path = [RTT_ROOT + '/components/external/ftk/ftk/src',
147#	RTT_ROOT + '/components/external/ftk/ftk/src/im', 

148#	RTT_ROOT + '/components/external/ftk/ftk/src/im/gpinyin/include',

149#	RTT_ROOT + '/components/external/ftk/ftk/src/im/gpinyin/ftk',

150	RTT_ROOT + '/components/external/ftk/ftk/apps/common',
151	RTT_ROOT + '/components/external/ftk/ftk/src/os/rt-thread',
152	RTT_ROOT + '/components/external/ftk/ftk/src/linebreak',
153	RTT_ROOT + '/components/external/ftk/ftk/src/demos',	
154	RTT_ROOT + '/components/external/ftk/ftk/src/backend/rt-thread' ]
155
156group = DefineGroup('FTK', 
157    File(src_local), 
158    depend = ['RT_USING_FTK'], 
159    CCFLAGS = ' -DRT_THREAD', 
160    CPPPATH = path, LIBRARY= '')
161
162Return('group')