# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

EXPORTS += [
    'android_npapi.h',
    'ANPKeyCodes.h',
]

SOURCES += [
    'ANPAudio.cpp',
    'ANPEvent.cpp',
    'ANPLog.cpp',
    'ANPNativeWindow.cpp',
    'ANPSurface.cpp',
    'ANPSystem.cpp',
    'ANPVideo.cpp',
    'ANPWindow.cpp',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '/dom/plugins/base',
    '/gfx/gl',
    '/widget',
    '/widget/android',
]

DEFINES['MOZ_APP_NAME'] = '"%s"' % CONFIG['MOZ_APP_NAME']

CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']