blob: 84c87311f77e9fe555bbee0d211b03fac2af2c87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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 --target-arch=arm --host-os=linux && \
android_gyp --suffix .linux-arm )
( . build/android/envsetup.sh --target-arch=x86 --host-os=linux && \
android_gyp --suffix .linux-x86 )
#( . build/android/envsetup.sh --target-arch=arm --host-os=mac && \
# android_gyp --suffix .darwin-arm )
#( . build/android/envsetup.sh --target-arch=x86 --host-os=mac && \
# android_gyp --suffix .darwin-x86 )
|