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 system interfaces allowing WebView to render.
18
19LOCAL_PATH := $(call my-dir)
20
21# Native support library (libwebviewchromium_plat_support.so) - does NOT link
22# any native chromium code.
23include $(CLEAR_VARS)
24
25LOCAL_MODULE:= libwebviewchromium_plat_support
26
27LOCAL_SRC_FILES:= \
28        plat_support/draw_gl_functor.cpp \
29        plat_support/jni_entry_point.cpp \
30        plat_support/graphics_utils.cpp \
31        plat_support/graphic_buffer_impl.cpp \
32
33LOCAL_C_INCLUDES:= \
34        external/skia/include/core \
35        frameworks/base/core/jni/android/graphics \
36        frameworks/native/include/ui \
37
38LOCAL_SHARED_LIBRARIES += \
39        libandroid_runtime \
40        liblog \
41        libcutils \
42        libskia \
43        libui \
44        libutils \
45        libhwui \
46        libandroidfw
47
48LOCAL_MODULE_TAGS := optional
49
50# To remove warnings from skia header files
51LOCAL_CFLAGS := -Wno-unused-parameter
52
53include $(BUILD_SHARED_LIBRARY)
54