blob: bf2e99916c38166ffb1d0be857dc1366d31a5431 [file] [log] [blame]
Torne (Richard Coles)58218062012-11-14 11:43:16 +00001# 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
5# This Android makefile is used to build WebView in the Android build system.
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
9# Android.mk that may exist in the Chromium tree.
10
11CHROMIUM_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 (Richard Coles)2a99a7e2013-03-28 15:31:22 +000015ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk))
16include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk
Torne (Richard Coles)58218062012-11-14 11:43:16 +000017include $(CHROMIUM_DIR)/android_webview/Android.mk
18endif