summaryrefslogtreecommitdiffstats
path: root/build/sanitize-mac-build-log.sed
diff options
context:
space:
mode:
authornbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 04:21:14 +0000
committernbarth@chromium.org <nbarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-31 04:21:14 +0000
commit2dff117085cdfa2b7254f763d95badc80d4a693f (patch)
tree5852da4ee917110c3681886a2151ba73276e3276 /build/sanitize-mac-build-log.sed
parent51a9b8ce230a736bcb85776cfff951e4a0cc70a3 (diff)
downloadchromium_src-2dff117085cdfa2b7254f763d95badc80d4a693f.zip
chromium_src-2dff117085cdfa2b7254f763d95badc80d4a693f.tar.gz
chromium_src-2dff117085cdfa2b7254f763d95badc80d4a693f.tar.bz2
Cleanup sanitize build sed and sh scripts.
Minor cleanup: * switch regexes to extended regexes, which remove a few gratuitous backslashes (and makes them less confusing, since basic regexes are so rarely used) * fix . -> \. (which *does* need escaping in either case) * make sed files non-executable, since if executed they just say "don't execute this" * delete blank line (Just noticed these scripts when working on Blink IDL bindings, and made necessary fixes for my changes, but cleaning up while I'm here.) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211564 R=scottbyer@chromium.org Review URL: https://codereview.chromium.org/19052002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/sanitize-mac-build-log.sed')
-rw-r--r--[-rwxr-xr-x]build/sanitize-mac-build-log.sed12
1 files changed, 5 insertions, 7 deletions
diff --git a/build/sanitize-mac-build-log.sed b/build/sanitize-mac-build-log.sed
index 3312eac..b4111c7 100755..100644
--- a/build/sanitize-mac-build-log.sed
+++ b/build/sanitize-mac-build-log.sed
@@ -1,5 +1,3 @@
-#!/bin/echo Use sanitize-mac-build-log.sh or sed -f
-
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -17,8 +15,8 @@
# Xcode prints a short "compiling foobar.o" line followed by the lengthy
# full command line. These deletions drop the command line.
\|^ /Developer/usr/bin/|d
-\|^ /Developer/Library/PrivateFrameworks/DevToolsCore.framework/|d
-\|^ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/|d
+\|^ /Developer/Library/PrivateFrameworks/DevToolsCore\.framework/|d
+\|^ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks\.xcplugin/|d
# Drop any goma command lines as well.
\|^ .*/gomacc |d
@@ -28,8 +26,8 @@
\|^ /Users/[^/]*/bin/|d
# There's already a nice note for bindings, don't need the command line.
-\|^python scripts/rule_binding.py|d
+\|^python scripts/rule_binding\.py|d
# Shorten the "compiling foobar.o" line.
-s|^Distributed-CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| CC \1|
-s|^CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| CC \1|
+s|^Distributed-CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1|
+s|^CompileC (.*) normal i386 c\+\+ com\.apple\.compilers\.gcc\.4_2| CC \1|