widget/gonk/libdisplay/moz.build

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # Copyright 2013 Mozilla Foundation and Mozilla contributors
michael@0 4 #
michael@0 5 # Licensed under the Apache License, Version 2.0 (the "License");
michael@0 6 # you may not use this file except in compliance with the License.
michael@0 7 # You may obtain a copy of the License at
michael@0 8 #
michael@0 9 # http://www.apache.org/licenses/LICENSE-2.0
michael@0 10 #
michael@0 11 # Unless required by applicable law or agreed to in writing, software
michael@0 12 # distributed under the License is distributed on an "AS IS" BASIS,
michael@0 13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
michael@0 14 # See the License for the specific language governing permissions and
michael@0 15 # limitations under the License.
michael@0 16
michael@0 17 SOURCES += [
michael@0 18 'BootAnimation.cpp',
michael@0 19 ]
michael@0 20
michael@0 21 if CONFIG['ANDROID_VERSION'] >= '18':
michael@0 22 SOURCES += [
michael@0 23 'FramebufferSurface.cpp',
michael@0 24 'GonkDisplayJB.cpp',
michael@0 25 ]
michael@0 26 elif CONFIG['ANDROID_VERSION'] == '17':
michael@0 27 SOURCES += [
michael@0 28 'FramebufferSurface.cpp',
michael@0 29 'GonkDisplayJB.cpp',
michael@0 30 'GraphicBufferAlloc.cpp',
michael@0 31 ]
michael@0 32 elif CONFIG['ANDROID_VERSION'] == '15':
michael@0 33 SOURCES += [
michael@0 34 'GonkDisplayICS.cpp'
michael@0 35 ]
michael@0 36 elif CONFIG['ANDROID_VERSION'] and CONFIG['COMPILE_ENVIRONMENT']:
michael@0 37 error('Unsupported platform version: %s' % (CONFIG['ANDROID_VERSION']))
michael@0 38
michael@0 39 LIBRARY_NAME = 'display'
michael@0 40
michael@0 41 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 42
michael@0 43 FORCE_STATIC_LIB = True
michael@0 44
michael@0 45 DEFINES['XPCOM_GLUE'] = True
michael@0 46
michael@0 47 DISABLE_STL_WRAPPING = True
michael@0 48
michael@0 49 CXXFLAGS += [
michael@0 50 '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
michael@0 51 'frameworks/native/include/gui',
michael@0 52 'frameworks/native/opengl/include',
michael@0 53 'hardware/libhardware/include',
michael@0 54 'hardware/libhardware_legacy/include',
michael@0 55 'system/core/libsuspend/include',
michael@0 56 ]
michael@0 57 ]

mercurial