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