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

Side by Side Diff: build/android/envsetup.sh

Issue 11564019: Make it harder to accidentally run envsetup.sh in a subshell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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
2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 3 # found in the LICENSE file.
6 4
7 # Sets up environment for building Chromium on Android. It can either be 5 # Sets up environment for building Chromium on Android. It can either be
8 # compiled with the Android tree or using the Android SDK/NDK. To build with 6 # compiled with the Android tree or using the Android SDK/NDK. To build with
9 # NDK/SDK: ". build/android/envsetup.sh". Environment variable 7 # NDK/SDK: ". build/android/envsetup.sh". Environment variable
10 # ANDROID_SDK_BUILD=1 will then be defined and used in the rest of the setup to 8 # ANDROID_SDK_BUILD=1 will then be defined and used in the rest of the setup to
11 # specifiy build type. 9 # specifiy build type.
12 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 # This is just a simple wrapper of gyp_chromium, please don't add anything 129 # This is just a simple wrapper of gyp_chromium, please don't add anything
132 # in this function. 130 # in this function.
133 echo "GYP_GENERATORS set to '$GYP_GENERATORS'" 131 echo "GYP_GENERATORS set to '$GYP_GENERATORS'"
134 ( 132 (
135 "${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@" 133 "${CHROME_SRC}/build/gyp_chromium" --depth="${CHROME_SRC}" --check "$@"
136 ) 134 )
137 } 135 }
138 136
139 # FLOCK needs to be null on system that has no flock 137 # FLOCK needs to be null on system that has no flock
140 which flock > /dev/null || export FLOCK= 138 which flock > /dev/null || export FLOCK=
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698