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

Side by Side Diff: build/build-ctags.sh

Issue 787803004: Update from https://crrev.com/307664 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase. Created 6 years 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 | « build/android/test_runner.py ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 if [[ a"`ctags --version | head -1 | grep \"^Exuberant Ctags\"`" == "a" ]]; then 7 if [[ a"`ctags --version | head -1 | grep \"^Exuberant Ctags\"`" == "a" ]]; then
8 cat <<EOF 8 cat <<EOF
9 You must be using Exuberant Ctags, not just standard GNU ctags. If you are on 9 You must be using Exuberant Ctags, not just standard GNU ctags. If you are on
10 Debian or a related flavor of Linux, you may want to try running 10 Debian or a related flavor of Linux, you may want to try running
(...skipping 18 matching lines...) Expand all
29 if [[ a"$1" == "a--extra-excludes" ]]; then 29 if [[ a"$1" == "a--extra-excludes" ]]; then
30 extraexcludes="--exclude=third_party --exclude=build --exclude=out" 30 extraexcludes="--exclude=third_party --exclude=build --exclude=out"
31 shift 31 shift
32 fi 32 fi
33 33
34 cd "$CHROME_SRC_DIR/$1" || fail $1 34 cd "$CHROME_SRC_DIR/$1" || fail $1
35 # Redirect error messages so they aren't seen because they are almost always 35 # Redirect error messages so they aren't seen because they are almost always
36 # errors about components that you just happen to have not built (NaCl, for 36 # errors about components that you just happen to have not built (NaCl, for
37 # example). 37 # example).
38 $(ctags_cmd "$extraexcludes") 2> /dev/null || fail $1 38 $(ctags_cmd "$extraexcludes") 2> /dev/null || fail $1
39 mv -f .tmp_tags .tags 39 mv -f .tmp_tags tags
40 } 40 }
41 41
42 # We always build the top level but leave all submodules as optional. 42 # We always build the top level but leave all submodules as optional.
43 build_dir --extra-excludes "" "top level" 43 build_dir --extra-excludes "" "top level"
44 44
45 # Build any other directies that are listed on the command line. 45 # Build any other directies that are listed on the command line.
46 for dir in $@; do 46 for dir in $@; do
47 build_dir "$1" 47 build_dir "$1"
48 shift 48 shift
49 done 49 done
OLDNEW
« no previous file with comments | « build/android/test_runner.py ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698