1*8975f5c5SAndroid Build Coastguard Worker# Copyright 2012 The Chromium Authors 2*8975f5c5SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*8975f5c5SAndroid Build Coastguard Worker# found in the LICENSE file. 4*8975f5c5SAndroid Build Coastguard Worker 5*8975f5c5SAndroid Build Coastguard Worker# Use this sed script to reduce a Mac build log into something readable. 6*8975f5c5SAndroid Build Coastguard Worker 7*8975f5c5SAndroid Build Coastguard Worker# Drop uninformative lines. 8*8975f5c5SAndroid Build Coastguard Worker/^distcc/d 9*8975f5c5SAndroid Build Coastguard Worker/^Check dependencies/d 10*8975f5c5SAndroid Build Coastguard Worker/^ setenv /d 11*8975f5c5SAndroid Build Coastguard Worker/^ cd /d 12*8975f5c5SAndroid Build Coastguard Worker/^make: Nothing to be done/d 13*8975f5c5SAndroid Build Coastguard Worker/^$/d 14*8975f5c5SAndroid Build Coastguard Worker 15*8975f5c5SAndroid Build Coastguard Worker# Xcode prints a short "compiling foobar.o" line followed by the lengthy 16*8975f5c5SAndroid Build Coastguard Worker# full command line. These deletions drop the command line. 17*8975f5c5SAndroid Build Coastguard Worker\|^ /Developer/usr/bin/|d 18*8975f5c5SAndroid Build Coastguard Worker\|^ /Developer/Library/PrivateFrameworks/DevToolsCore\.framework/|d 19*8975f5c5SAndroid Build Coastguard Worker\|^ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks\.xcplugin/|d 20*8975f5c5SAndroid Build Coastguard Worker 21*8975f5c5SAndroid Build Coastguard Worker# And, if you've overridden something from your own bin directory, remove those 22*8975f5c5SAndroid Build Coastguard Worker# full command lines, too. 23*8975f5c5SAndroid Build Coastguard Worker\|^ /Users/[^/]*/bin/|d 24*8975f5c5SAndroid Build Coastguard Worker 25*8975f5c5SAndroid Build Coastguard Worker# There's already a nice note for bindings, don't need the command line. 26*8975f5c5SAndroid Build Coastguard Worker\|^python scripts/rule_binding\.py|d 27*8975f5c5SAndroid Build Coastguard Worker 28*8975f5c5SAndroid Build Coastguard Worker# Shorten the "compiling foobar.o" line. 29*8975f5c5SAndroid Build Coastguard Workers|^Distributed-CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1| 30*8975f5c5SAndroid Build Coastguard Workers|^CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1| 31