2014-07-30 11:24:00 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
|
2016-03-22 21:46:10 +03:00
|
|
|
Library('firefox-webcontent')
|
2014-07-30 11:24:00 +04:00
|
|
|
if CONFIG['MOZ_B2G_LOADER']:
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
|
|
|
SOURCES += [
|
2016-03-22 21:46:10 +03:00
|
|
|
'firefox-webcontent.cpp',
|
2014-07-30 11:24:00 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/toolkit/xre',
|
|
|
|
'/xpcom/base',
|
|
|
|
]
|
|
|
|
|
2015-04-01 11:40:35 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_ARCH'] == 'WINNT':
|
2014-07-30 11:24:00 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/security/sandbox/chromium',
|
2015-04-01 11:40:35 +03:00
|
|
|
'/security/sandbox/chromium-shim',
|
2014-07-30 11:24:00 +04:00
|
|
|
]
|
2015-09-23 07:39:03 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wshadow']
|