Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | #!/bin/echo Use sanitize-mac-build-log.sh or sed -f |
michael@0 | 2 | |
michael@0 | 3 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
michael@0 | 4 | # Use of this source code is governed by a BSD-style license that can be |
michael@0 | 5 | # found in the LICENSE file. |
michael@0 | 6 | |
michael@0 | 7 | # Use this sed script to reduce a Mac build log into something readable. |
michael@0 | 8 | |
michael@0 | 9 | # Drop uninformative lines. |
michael@0 | 10 | /^distcc/d |
michael@0 | 11 | /^Check dependencies/d |
michael@0 | 12 | /^ setenv /d |
michael@0 | 13 | /^ cd /d |
michael@0 | 14 | /^make: Nothing to be done/d |
michael@0 | 15 | /^$/d |
michael@0 | 16 | |
michael@0 | 17 | # Xcode prints a short "compiling foobar.o" line followed by the lengthy |
michael@0 | 18 | # full command line. These deletions drop the command line. |
michael@0 | 19 | \|^ /Developer/usr/bin/|d |
michael@0 | 20 | \|^ /Developer/Library/PrivateFrameworks/DevToolsCore.framework/|d |
michael@0 | 21 | \|^ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/|d |
michael@0 | 22 | |
michael@0 | 23 | # Drop any goma command lines as well. |
michael@0 | 24 | \|^ .*/gomacc |d |
michael@0 | 25 | |
michael@0 | 26 | # And, if you've overridden something from your own bin directory, remove those |
michael@0 | 27 | # full command lines, too. |
michael@0 | 28 | \|^ /Users/[^/]*/bin/|d |
michael@0 | 29 | |
michael@0 | 30 | # There's already a nice note for bindings, don't need the command line. |
michael@0 | 31 | \|^python scripts/rule_binding.py|d |
michael@0 | 32 | |
michael@0 | 33 | # Shorten the "compiling foobar.o" line. |
michael@0 | 34 | s|^Distributed-CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| CC \1| |
michael@0 | 35 | s|^CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| CC \1| |