Android.mk revision ebf3772d08779f136eef48c45e8b286b27b21132
1# 2# Copyright (C) 2012 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# This package provides the 'glue' layer between Chromium and WebView. 18 19LOCAL_PATH := $(call my-dir) 20CHROMIUM_PATH := external/chromium_org 21 22# Java glue layer JAR, calls directly into the chromium AwContents Java API. 23include $(CLEAR_VARS) 24 25LOCAL_MODULE := webviewchromium 26 27LOCAL_MODULE_TAGS := optional 28 29LOCAL_STATIC_JAVA_LIBRARIES += google-common \ 30 android_webview_java 31 32LOCAL_SRC_FILES := $(call all-java-files-under, java) 33 34LOCAL_REQUIRED_MODULES := \ 35 libwebviewchromium \ 36 libwebviewchromium_plat_support \ 37 webviewchromium_pak \ 38 webviewchromium_strings_pak 39 40LOCAL_PROGUARD_ENABLED := disabled 41 42include $(BUILD_JAVA_LIBRARY) 43 44# Native support library (libwebviewchromium_plat_support.so) - does NOT link 45# any native chromium code. 46include $(CLEAR_VARS) 47 48LOCAL_MODULE:= libwebviewchromium_plat_support 49 50LOCAL_SRC_FILES:= \ 51 plat_support/draw_gl_functor.cpp \ 52 plat_support/jni_entry_point.cpp 53 54LOCAL_C_INCLUDES:= \ 55 $(CHROMIUM_PATH) 56 57LOCAL_SHARED_LIBRARIES += \ 58 libutils \ 59 libcutils 60 61LOCAL_MODULE_TAGS := optional 62 63include $(BUILD_SHARED_LIBRARY) 64