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