1# -*- Mode: python; 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/.
6
7if CONFIG['OS_TARGET'] != 'Android':
8    MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
9    XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
10    BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
11
12# Compute where to put transpiled files into omni.ja package
13# All DevTools modules are used via resource://devtools/ URI
14# See devtools/shared/jar.mn for how this resource is mapped into jar package.
15base = FINAL_TARGET_FILES.chrome.devtools.modules
16
17# Now, navigate to the right sub-directory into devtools root modules folder
18for dir in RELATIVEDIR.split('/'):
19    base = base[dir]
20base += ["!reserved-js-words.js"]
21
22GeneratedFile('reserved-js-words.js', script='GenerateReservedWordsJS.py',
23              inputs = ['/js/src/frontend/ReservedWords.h'])
24
25DevToolsModules(
26    'js-property-provider.js',
27    'network-helper.js',
28    'parser-helper.js',
29    'throttle.js',
30)
31