This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 'java_classpath' : '<(android_sdk_path)/platforms/<(android_platform)/android.jar' ,
2323
2424 'output_dir' : '../android-<(target_arch)-bin' ,
25+
26+ # Capture the values of some build tool environment vars
27+ 'objcopy' : '<!(echo ${OBJCOPY:-objcopy})' ,
28+ 'objdump' : '<!(echo ${OBJDUMP:-objdump})' ,
29+ 'strip' : '<!(echo ${STRIP:strip})' ,
2530 },
2631
2732 'target_defaults' :
Original file line number Diff line number Diff line change 1212 ],
1313
1414 'extract-debug-symbols_path' : '../tools/extract-debug-symbols.sh' ,
15+
16+ # These tools are only used for Linux and Android targets
17+ 'objcopy%' : '' ,
18+ 'objdump%' : '' ,
19+ 'strip%' : '' ,
1520 },
1621
1722 'actions' :
3338
3439 'action' :
3540 [
41+ 'env' ,
42+ 'OBJCOPY=<(objcopy)' ,
43+ 'OBJDUMP=<(objdump)' ,
44+ 'STRIP=<(strip)' ,
3645 '<(extract-debug-symbols_path)' ,
3746 '<(OS)' ,
3847 '>(debug_info_suffix)' ,
Original file line number Diff line number Diff line change 22 'variables' :
33 {
44 'output_dir' : '../linux-<(target_arch)-bin' ,
5+
6+ # Capture the values of some build tool environment vars
7+ 'objcopy' : '<!(echo ${OBJCOPY:-objcopy})' ,
8+ 'objdump' : '<!(echo ${OBJDUMP:-objdump})' ,
9+ 'strip' : '<!(echo ${STRIP:strip})' ,
510 },
611
712 'target_defaults' :
You can’t perform that action at this time.
0 commit comments