Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # 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 | 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 # This script runs gyp with the configuration required to build WebView in the | 7 # This script runs gyp with the configuration required to build WebView in the |
| 8 # Android build system. It is not necessary to source build/android/envsetup.sh | 8 # Android build system. It is not necessary to source build/android/envsetup.sh |
| 9 # before running this script. | 9 # before running this script. |
| 10 | 10 |
| 11 set -e | 11 set -e |
| 12 | 12 |
| 13 export CHROME_ANDROID_BUILD_WEBVIEW=1 | 13 export CHROME_ANDROID_BUILD_WEBVIEW=1 |
| 14 export CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")" | 14 export CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")" |
| 15 export PYTHONDONTWRITEBYTECODE=1 | 15 export PYTHONDONTWRITEBYTECODE=1 |
| 16 . build/android/envsetup.sh | 16 . build/android/envsetup.sh --target-arch=arm |
|
benm (inactive)
2012/11/16 14:24:05
#TODO: set target-arch and suffix based on $(TARGE
| |
| 17 android_gyp | 17 android_gyp --suffix .arm |
| OLD | NEW |