blob: b4111c7b828afe2a6c371a6baf2438348ff35237 [file] [log] [blame]
[email protected]b5b99a92012-04-23 03:24:121# Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]2d7c6482010-12-13 18:57:262# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Use this sed script to reduce a Mac build log into something readable.
6
7# Drop uninformative lines.
8/^distcc/d
9/^Check dependencies/d
10/^ setenv /d
11/^ cd /d
[email protected]8ccdb142010-12-13 23:03:2412/^make: Nothing to be done/d
[email protected]20e4e242011-02-22 17:25:4213/^$/d
[email protected]2d7c6482010-12-13 18:57:2614
15# Xcode prints a short "compiling foobar.o" line followed by the lengthy
16# full command line. These deletions drop the command line.
17\|^ /Developer/usr/bin/|d
[email protected]2dff11702013-10-31 04:21:1418\|^ /Developer/Library/PrivateFrameworks/DevToolsCore\.framework/|d
19\|^ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks\.xcplugin/|d
[email protected]20e4e242011-02-22 17:25:4220
[email protected]472e9472011-06-10 17:13:4421# Drop any goma command lines as well.
22\|^ .*/gomacc |d
23
[email protected]20e4e242011-02-22 17:25:4224# And, if you've overridden something from your own bin directory, remove those
25# full command lines, too.
26\|^ /Users/[^/]*/bin/|d
27
28# There's already a nice note for bindings, don't need the command line.
[email protected]2dff11702013-10-31 04:21:1429\|^python scripts/rule_binding\.py|d
[email protected]2d7c6482010-12-13 18:57:2630
31# Shorten the "compiling foobar.o" line.
[email protected]2dff11702013-10-31 04:21:1432s|^Distributed-CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1|
33s|^CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1|