Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['JS_SHELL_NAME']:
8 PROGRAM = CONFIG['JS_SHELL_NAME']
10 UNIFIED_SOURCES += [
11 'js.cpp',
12 'jsheaptools.cpp',
13 'jsoptparse.cpp',
14 ]
16 # Building against js_static requires that we declare mfbt sybols "exported"
17 # on its behalf.
18 for var in ('EXPORT_JS_API', 'IMPL_MFBT'):
19 DEFINES[var] = True
21 if CONFIG['_MSC_VER']:
22 # unnecessary PGO for js shell. But gcc cannot turn off pgo because it is
23 # necessary to link PGO lib on gcc when a object/static lib are compiled
24 # for PGO.
25 NO_PGO = True
27 LOCAL_INCLUDES += ['..']
28 GENERATED_INCLUDES += ['..']