build/merge_profdata.py
author moz-wptsync-bot <wptsync@mozilla.com>
Thu, 21 Feb 2019 22:54:16 +0000
changeset 464611 10b5bdcadca6afd3231c64c82a7133e60bc8868a
parent 452462 3b1c7ad601ba81805e5de271f91c6892e42c2091
child 475307 99dfff71a4ca4e7cec211404f9efde80b3b7a693
permissions -rw-r--r--
Bug 1526863 [wpt PR 15301] - Update wpt metadata, a=testonly wpt-pr: 15301 wpt-type: metadata

# 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/.

import subprocess
import buildconfig


def main(_, profile_file):
    subprocess.check_call([buildconfig.substs['LLVM_PROFDATA'], 'merge',
                           '-o', 'merged.profdata', profile_file])