Move elevation icon fetching to a background thread.
[chromium-blink-merge.git] / Android.mk
bloba4ce7299f287bd9037bd8c3c030498bbbb4b4468
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 include below.
8 # Don't do anything if the product is using a prebuilt webviewchromium, to avoid
9 # duplicate target definitions between this directory and the prebuilts.
10 ifneq ($(PRODUCT_PREBUILT_WEBVIEWCHROMIUM),yes)
12 CHROMIUM_DIR := $(call my-dir)
14 # We default to release for the Android build system. Developers working on
15 # WebView code can build with "make GYP_CONFIGURATION=Debug".
16 GYP_CONFIGURATION := Release
18 # Include the manually-written makefile that builds all the WebView java code.
19 include $(CHROMIUM_DIR)/android_webview/Android.mk
21 # If the gyp-generated makefile exists for the current host OS and primary
22 # target architecture, we need to include it. If it doesn't exist then just do
23 # nothing, since we may not have finished bringing up this architecture yet.
24 # We set GYP_VAR_PREFIX to the empty string to indicate that we are building for
25 # the primary target architecture.
26 ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk))
27 GYP_VAR_PREFIX :=
28 include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_ARCH).mk
29 endif
31 # Do the same check for the secondary architecture; if this doesn't exist then
32 # the current target platform probably doesn't have a secondary architecture and
33 # we can just do nothing.
34 # We set GYP_VAR_PREFIX to $(TARGET_2ND_ARCH_VAR_PREFIX) to indicate that we are
35 # building for the secondary target architecture.
36 ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_2ND_ARCH).mk))
37 GYP_VAR_PREFIX := $(TARGET_2ND_ARCH_VAR_PREFIX)
38 include $(CHROMIUM_DIR)/GypAndroid.$(HOST_OS)-$(TARGET_2ND_ARCH).mk
39 endif
41 endif