steveblock@chromium.org | c110158 | 2012-06-25 17:07:18 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
torne@chromium.org | 896b8a23 | 2012-10-12 13:01:44 | [diff] [blame] | 5 | # This Android makefile is used to build WebView in the Android build system. |
torne@chromium.org | 979f7a8e | 2012-10-17 14:27:51 | [diff] [blame] | 6 | # gyp autogenerates most of the real makefiles, which we just include here if |
| 7 | # we are doing a WebView build. For other builds, this makefile does nothing, |
| 8 | # which prevents the Android build system from mistakenly loading any other |
torne@chromium.org | 896b8a23 | 2012-10-12 13:01:44 | [diff] [blame] | 9 | # Android.mk that may exist in the Chromium tree. |
| 10 | |
torne@chromium.org | 53cdffa | 2012-10-26 08:27:24 | [diff] [blame] | 11 | CHROMIUM_DIR := $(call my-dir) |
| 12 | |
| 13 | # Assume that if the gyp autogenerated makefile exists, we are doing the |
| 14 | # WebView build using the Android build system. |
torne@chromium.org | e906dbe | 2012-11-21 12:34:17 | [diff] [blame] | 15 | ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk)) |
| 16 | include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk |
torne@chromium.org | 53cdffa | 2012-10-26 08:27:24 | [diff] [blame] | 17 | include $(CHROMIUM_DIR)/android_webview/Android.mk |
torne@chromium.org | 896b8a23 | 2012-10-12 13:01:44 | [diff] [blame] | 18 | endif |