summaryrefslogtreecommitdiffstats
path: root/python/mozbuild/mozbuild/action/download_wpt_manifest.py
blob: 84f4a15d142db05124491f74d99f76de157fd532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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/.

# This action is used to generate the wpt manifest

import sys

import buildconfig


def main():
    print("Downloading wpt manifest")
    sys.path.insert(0, buildconfig.topsrcdir)
    import manifestupdate

    return 0 if manifestupdate.run(buildconfig.topsrcdir, buildconfig.topobjdir) else 1


if __name__ == "__main__":
    sys.exit(main())