logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (3765B)


  1. cflags{
  2. [[-D '_ALIGNED=__attribute__((aligned))']],
  3. '-I $srcdir/include',
  4. '-I $srcdir/src',
  5. '-I $basedir/pkg/netsurf/libparserutils/src/include',
  6. '-I $basedir/pkg/netsurf/libwapcaplet/src/include',
  7. }
  8. sub('tools.ninja', function()
  9. toolchain(config.host)
  10. exe('gen_prop_parser', {'src/parse/properties/css_property_parser_gen.c'})
  11. end)
  12. build('awk', '$outdir/prop_parsers.c', {
  13. '$srcdir/src/parse/properties/properties.gen',
  14. '|', '$dir/prop_parsers.awk', '$outdir/gen_prop_parser',
  15. }, {expr='-f $dir/prop_parsers.awk gen_prop_parser=$outdir/gen_prop_parser'})
  16. pkg.deps = {
  17. 'pkg/netsurf/libparserutils/fetch',
  18. 'pkg/netsurf/libwapcaplet/fetch',
  19. }
  20. lib('libcss.a', [[src/(
  21. stylesheet.c
  22. charset/detect.c
  23. lex/lex.c
  24. parse/(
  25. parse.c language.c important.c propstrings.c font_face.c mq.c
  26. properties/(
  27. azimuth.c
  28. background.c
  29. background_position.c
  30. border.c
  31. border_color.c
  32. border_spacing.c
  33. border_style.c
  34. border_width.c
  35. clip.c
  36. columns.c
  37. column_rule.c
  38. content.c
  39. cue.c
  40. cursor.c
  41. elevation.c
  42. flex.c
  43. flex_flow.c
  44. font.c
  45. font_family.c
  46. font_weight.c
  47. list_style.c
  48. list_style_type.c
  49. margin.c
  50. opacity.c
  51. outline.c
  52. overflow.c
  53. padding.c
  54. pause.c
  55. play_during.c
  56. properties.c
  57. quotes.c
  58. text_decoration.c
  59. utils.c
  60. voice_family.c
  61. )
  62. )
  63. select/(
  64. arena.c computed.c dispatch.c hash.c select.c font_face.c
  65. properties/(
  66. helpers.c
  67. align_content.c
  68. align_items.c
  69. align_self.c
  70. azimuth.c
  71. background_attachment.c
  72. background_color.c
  73. background_image.c
  74. background_position.c
  75. background_repeat.c
  76. border_bottom_color.c
  77. border_bottom_style.c
  78. border_bottom_width.c
  79. border_collapse.c
  80. border_left_color.c
  81. border_left_style.c
  82. border_left_width.c
  83. border_right_color.c
  84. border_right_style.c
  85. border_right_width.c
  86. border_spacing.c
  87. border_top_color.c
  88. border_top_style.c
  89. border_top_width.c
  90. bottom.c
  91. box_sizing.c
  92. break_after.c
  93. break_before.c
  94. break_inside.c
  95. caption_side.c
  96. clear.c
  97. clip.c
  98. color.c
  99. column_count.c
  100. column_fill.c
  101. column_gap.c
  102. column_rule_color.c
  103. column_rule_style.c
  104. column_rule_width.c
  105. column_span.c
  106. column_width.c
  107. content.c
  108. counter_increment.c
  109. counter_reset.c
  110. cue_after.c
  111. cue_before.c
  112. cursor.c
  113. direction.c
  114. display.c
  115. elevation.c
  116. empty_cells.c
  117. flex_basis.c
  118. flex_direction.c
  119. flex_grow.c
  120. flex_shrink.c
  121. flex_wrap.c
  122. float.c
  123. font_family.c
  124. font_size.c
  125. font_style.c
  126. font_variant.c
  127. font_weight.c
  128. height.c
  129. justify_content.c
  130. left.c
  131. letter_spacing.c
  132. line_height.c
  133. list_style_image.c
  134. list_style_position.c
  135. list_style_type.c
  136. margin_bottom.c
  137. margin_left.c
  138. margin_right.c
  139. margin_top.c
  140. max_height.c
  141. max_width.c
  142. min_height.c
  143. min_width.c
  144. opacity.c
  145. order.c
  146. orphans.c
  147. outline_color.c
  148. outline_style.c
  149. outline_width.c
  150. overflow_x.c
  151. overflow_y.c
  152. padding_bottom.c
  153. padding_left.c
  154. padding_right.c
  155. padding_top.c
  156. page_break_after.c
  157. page_break_before.c
  158. page_break_inside.c
  159. pause_after.c
  160. pause_before.c
  161. pitch.c
  162. pitch_range.c
  163. play_during.c
  164. position.c
  165. quotes.c
  166. richness.c
  167. right.c
  168. speech_rate.c
  169. speak.c
  170. speak_header.c
  171. speak_numeral.c
  172. speak_punctuation.c
  173. stress.c
  174. table_layout.c
  175. text_align.c
  176. text_decoration.c
  177. text_indent.c
  178. text_transform.c
  179. top.c
  180. unicode_bidi.c
  181. vertical_align.c
  182. visibility.c
  183. voice_family.c
  184. volume.c
  185. white_space.c
  186. widows.c
  187. width.c
  188. word_spacing.c
  189. writing_mode.c
  190. z_index.c
  191. )
  192. )
  193. utils/(errors.c utils.c)
  194. ) $builddir/pkg/netsurf/(
  195. libcss/prop_parsers.c
  196. libparserutils/libparserutils.a
  197. libwapcaplet/libwapcaplet.a
  198. )]])
  199. fetch 'git'