summaryrefslogtreecommitdiffstats
path: root/b2g/gaia/moz.build
blob: ab98fd151e2dbda618c295b34cda33305c524d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- 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/.

Program(CONFIG['MOZ_APP_NAME'])

if CONFIG['OS_ARCH'] == 'WINNT':
    SOURCES += [
        'run-b2g.cpp',
    ]
    DEFINES['B2G_NAME'] = 'L"%s-bin%s"' % (PROGRAM, CONFIG['BIN_SUFFIX'])
    DEFINES['GAIA_PATH'] = 'L"gaia\\\\profile"'
else:
    SOURCES += [
        'run-b2g.c',
    ]
    DEFINES['B2G_NAME'] = '"%s-bin%s"' % (PROGRAM, CONFIG['BIN_SUFFIX'])
    DEFINES['GAIA_PATH'] = '"gaia/profile"'