Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: tools/gn/bin/compare_flags.sh

Issue 551923003: Add wrapper for compare script to run gyp and gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698