forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Make webview builds more convenient.
Allow the top level Android.mk to include GypAndroid.mk if the relevant environment variable is set, to avoid having to edit this file to build in the Android tree without breaking other Android builds. Also, provide a gyp wrapper for webview which passes the correct options. BUG= Review URL: https://codereview.chromium.org/11090069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161566 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
torne@chromium.org
committed
Oct 12, 2012
1 parent
1de77d5
commit 896b8a2
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# 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. | ||
|
||
# This script runs gyp with the configuration required to build WebView in the | ||
# Android build system. It is not necessary to source build/android/envsetup.sh | ||
# before running this script. | ||
|
||
set -e | ||
|
||
export CHROME_ANDROID_BUILD_WEBVIEW=1 | ||
export CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")" | ||
export PYTHONDONTWRITEBYTECODE=1 | ||
. build/android/envsetup.sh | ||
android_gyp |