2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:17 +04:00
|
|
|
# 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/.
|
|
|
|
|
2014-09-03 09:10:54 +04:00
|
|
|
Program(CONFIG['MOZ_APP_NAME'])
|
2013-05-01 22:05:40 +04:00
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'run-b2g.cpp',
|
|
|
|
]
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES['B2G_NAME'] = 'L"%s-bin%s"' % (PROGRAM, CONFIG['BIN_SUFFIX'])
|
|
|
|
DEFINES['GAIA_PATH'] = 'L"gaia\\\\profile"'
|
2013-11-01 05:30:45 +04:00
|
|
|
else:
|
|
|
|
SOURCES += [
|
|
|
|
'run-b2g.c',
|
|
|
|
]
|
2013-11-27 17:55:07 +04:00
|
|
|
DEFINES['B2G_NAME'] = '"%s-bin%s"' % (PROGRAM, CONFIG['BIN_SUFFIX'])
|
|
|
|
DEFINES['GAIA_PATH'] = '"gaia/profile"'
|
2014-12-11 09:56:31 +03:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|