blob: 4d9391a91f58fd2657687efe591d08dc2e9c7000 [file] [log] [blame]
Craig Tillerd3cd0172016-10-25 17:02:20 -07001#!/usr/bin/env python2.7
2
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2015 gRPC authors.
Craig Tillerd3cd0172016-10-25 17:02:20 -07004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
Craig Tillerd3cd0172016-10-25 17:02:20 -07008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
Craig Tillerd3cd0172016-10-25 17:02:20 -070010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Craig Tillerd3cd0172016-10-25 17:02:20 -070016
17import os
18import sys
19import glob
20import yaml
21
22os.chdir(os.path.dirname(sys.argv[0])+'/../..')
23
24out = {}
25
26out['libs'] = [{
David Garcia Quintasff311212016-12-06 16:03:18 -080027 'name': 'benchmark',
Craig Tillerd3cd0172016-10-25 17:02:20 -070028 'build': 'private',
29 'language': 'c++',
30 'secure': 'no',
David Garcia Quintasff311212016-12-06 16:03:18 -080031 'defaults': 'benchmark',
32 'src': sorted(glob.glob('third_party/benchmark/src/*.cc')),
Craig Tiller8ef26b62016-11-04 15:20:51 -070033 'headers': sorted(
David Garcia Quintasff311212016-12-06 16:03:18 -080034 glob.glob('third_party/benchmark/src/*.h') +
35 glob.glob('third_party/benchmark/include/benchmark/*.h')),
Craig Tillerd3cd0172016-10-25 17:02:20 -070036}]
37
38print yaml.dump(out)