File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,11 @@ config("warnings_third_party") {
334
334
}
335
335
336
336
config (" symbols_default" ) {
337
- cflags = [ " -g${ symbol_level } " ]
337
+ if (strip_symbols ) {
338
+ cflags = [ " -s" ]
339
+ } else {
340
+ cflags = [ " -g${ symbol_level } " ]
341
+ }
338
342
}
339
343
340
344
config (" std_default" ) {
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ declare_args() {
48
48
# enable libfuzzer
49
49
is_libfuzzer = false
50
50
51
+ # Remove all symbol table and relocation information from the binary.
52
+ strip_symbols = false
53
+
51
54
# Generate code coverage analysis artifacts when enabled.
52
55
use_coverage = false
53
56
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ def __init__(self,
117
117
118
118
if app == TizenApp .TESTS :
119
119
self .extra_gn_options .append ('chip_build_tests=true' )
120
+ # Tizen test driver creates ISO image with all unit test files. So,
121
+ # it uses twice as much space as regular build. Due to CI storage
122
+ # limitations, we need to strip debug symbols from executables.
123
+ self .extra_gn_options .append ('strip_symbols=true' )
120
124
self .build_command = 'check'
121
125
122
126
if not enable_ble :
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ template("tizen_qemu_mkisofs") {
189
189
" mkisofs" ,
190
190
" -input-charset=default" ,
191
191
" -VCHIP" , # Volume ID = CHIP
192
- " -JRU " , # Joliet + Rock Ridge with untranslated filenames
192
+ " -JrU " , # Joliet + Rock Ridge with untranslated filenames
193
193
]
194
194
195
195
# Exclude files from the ISO image which might otherwise be included
You can’t perform that action at this time.
0 commit comments