OLD | NEW |
(Empty) | |
| 1 #!/bin/bash |
| 2 |
| 3 # Compare gyp compile flags to GN compile flags. Currently only Release |
| 4 # non-component. |
| 5 if [ $# -ne 1 ] |
| 6 then |
| 7 echo "Usage: $0 target_name" |
| 8 exit 65 |
| 9 fi |
| 10 GYP_DEFINES= |
| 11 python build/gyp_chromium -Goutput_dir=out_gyp_flags -Gconfig=Release && \ |
| 12 gn gen out/gn_flags --args="is_debug=false is_component_build=false" && \ |
| 13 ninja -C out_gyp_flags/Release -t commands $1 > gyp_flags_$1.txt && \ |
| 14 ninja -C out/gn_flags -t commands $1 > gn_flags_$1.txt && \ |
| 15 python tools/gn/bin/gyp_flag_compare.py gyp_flags_$1.txt gn_flags_$1.txt > compa
re_flags_$1.txt ; \ |
| 16 echo "Wrote compare_flags_$1.txt" |
OLD | NEW |