Skip to content

Commit

Permalink
Android WebView: makefiles are host_os-specific.
Browse files Browse the repository at this point in the history
The generated makefiles are specific to the host OS they were generated
for. For now, just name them appropriately so that mac hosts don't try
to include linux-specific makefiles.

BUG=

Review URL: https://codereview.chromium.org/11416127

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169025 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
torne@chromium.org committed Nov 21, 2012
1 parent 1f0d041 commit e906dbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CHROMIUM_DIR := $(call my-dir)

# Assume that if the gyp autogenerated makefile exists, we are doing the
# WebView build using the Android build system.
ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(TARGET_ARCH).mk))
include $(CHROMIUM_DIR)/GypAndroid.$(TARGET_ARCH).mk
ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk))
include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk
include $(CHROMIUM_DIR)/android_webview/Android.mk
endif
2 changes: 1 addition & 1 deletion android_webview/tools/gyp_webview
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ export CHROME_ANDROID_BUILD_WEBVIEW=1
export CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")"
export PYTHONDONTWRITEBYTECODE=1
. build/android/envsetup.sh --target-arch=arm
android_gyp --suffix .arm
android_gyp --suffix .linux-arm

0 comments on commit e906dbe

Please sign in to comment.