Changeset 586 for pjproject/trunk/pjsip-apps/build/get-footprint.py
- Timestamp:
- Jul 5, 2006 8:45:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/build/get-footprint.py
r585 r586 12 12 compile_flags1 = [ 13 13 # Base 14 ['BASE', 'Minimum PJLIB only'], 14 ['BASE', 'Empty application size'], 15 ['', 'Subtotal: Empty application size'], 16 17 ['HAS_PJLIB', 'Minimum PJLIB only'], 15 18 16 19 # Subtotal … … 27 30 compile_flags = [ 28 31 # Base 29 ['BASE', 'PJLIB (pool, data structures, hash tables, ioqueue, timer heap)'], 32 ['BASE', 'Empty application size'], 33 ['', 'Subtotal: empty application size on this platform'], 34 35 ['HAS_PJLIB', 'PJLIB (pool, data structures, hash tables, ioqueue, socket, timer heap, etc.)'], 30 36 ['', 'Subtotal: Minimum PJLIB application size (linked with OS libraries)'], 31 37 … … 33 39 ['HAS_PJLIB_STUN', 'PJLIB-UTIL STUN client'], 34 40 ['HAS_PJLIB_GETOPT', 'PJLIB-UTIL getopt() functionality'], 35 ['HAS_PJLIB_XML', 'PJLIB-UTIL XML parsing and API'], 41 ['HAS_PJLIB_SCANNER', 'PJLIB-UTIL text scanner (needed by SIP parser)'], 42 ['HAS_PJLIB_XML', 'PJLIB-UTIL tiny XML (parsing and API) (needs text scanner)'], 36 43 37 44 # PJSIP 38 ['HAS_PJSIP_CORE', 'PJSIP Core (endpoint, transport manager, parser, message elements, etc.)'],45 ['HAS_PJSIP_CORE', 'PJSIP Core (endpoint, transport manager, parser, message elements, module mgmt, etc.)'], 39 46 ['HAS_PJSIP_UDP_TRANSPORT', 'PJSIP UDP transport'], 40 47 ['', 'Subtotal: A very minimum SIP application (parsing, UDP transport+STUN, no transaction)'], 41 48 42 49 ['HAS_PJSIP_TCP_TRANSPORT', 'PJSIP TCP transport'], 43 50 ['HAS_PJSIP_INFO', 'PJSIP INFO support (RFC 2976) (no special treatment, thus the zero size)'], … … 153 160 # Get Revision info. 154 161 f = os.popen('svn info | grep Revision') 155 revision = f.readline() 156 162 revision = f.readline().split()[1] 163 164 # Get Machine, OS, and CC name 165 f = os.popen('make -f Footprint.mak print_name') 166 names = f.readline().split() 167 m = names[0] 168 o = names[1] 169 cc = names[2] 170 cc_ver = names[3] 171 157 172 output.write('<HTML><HEAD>\n'); 158 output.write(' <TITLE>PJSIP and PJMEDIA footprint report (' + revision + ')</TITLE>\n')173 output.write(' <TITLE>PJSIP and PJMEDIA footprint report for ' + o + '/' + m + ' (r' + revision + ')</TITLE>\n') 159 174 output.write(' <LINK href="/style/style.css" type="text/css" rel="stylesheet">\n') 160 175 output.write('</HEAD>\n'); 161 176 output.write('<BODY bgcolor="white">\n'); 162 output.write('<!-- 163 164 output.write(' <H1>PJSIP and PJMEDIA footprint report ( ' + revision + ')</H1>\n')177 output.write('<!--#include virtual="/header.html" -->') 178 179 output.write(' <H1>PJSIP and PJMEDIA footprint report (r' + revision + ')</H1>\n') 165 180 output.write('Auto-generated by pjsip-apps/build/get-footprint.py\n') 166 181 output.write('<p>Date: ' + time.asctime() + '<BR>\n') 167 output.write( revision + '</p>\n\n')182 output.write('Revision: r' + revision + '</p>\n\n') 168 183 output.write('<HR>\n') 169 184 output.write('\n') … … 180 195 output.write(l + '<BR>\n') 181 196 output.write('</tt>\n') 197 output.write('<p>Using ' + cc + ' version ' + cc_ver +'</p>\n') 182 198 183 199 # user.mak … … 233 249 234 250 output.write('</TABLE>\n') 235 output.write('<!-- 251 output.write('<!--#include virtual="/footer.html" -->') 236 252 output.write('</BODY>\n') 237 253 output.write('</HTML>\n')
Note: See TracChangeset
for help on using the changeset viewer.