Revert 228969 "NaCl: Update revision in DEPS, r12241 -> r12267"
[chromium-blink-merge.git] / Android.mk
blob4513ef50883f7615b2e97a1afc59d5e264c5b477
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.
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.
11 CHROMIUM_DIR := $(call my-dir)
13 # Assume that if the gyp autogenerated makefile exists, we are doing the
14 # WebView build using the Android build system.
15 ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk))
17 # We default to release for the Android build system. Developers working on
18 # WebView code can build with "make GYP_CONFIGURATION=Debug".
19 GYP_CONFIGURATION := Release
21 include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk
22 include $(CHROMIUM_DIR)/android_webview/Android.mk
24 endif