blob: 74a4c95aba95c6ff272c009bc42f15868fc311a3 [file] [log] [blame]
#!/usr/bin/env vpython
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
from google.protobuf import json_format as jsonpb
ROOT = os.path.dirname(os.path.dirname(__file__))
sys.path.append(os.path.join(ROOT, '.recipe_deps', '_pb'))
from PB.go.chromium.org.luci.buildbucket.proto.build import Build
sys.stdout.write(jsonpb.Parse(sys.stdin.read(), Build()).SerializeToString())