blob: 3c8fc7c608c40f57c399bf1a3766bc6ecbfa0909 [file] [log] [blame]
Ben Chan2e6543d2014-02-05 23:26:25 -08001{
2 'target_defaults': {
Ben Chan2e6543d2014-02-05 23:26:25 -08003 'variables': {
4 'deps': [
Alex Vakulenko26aef372015-10-27 11:46:37 -07005 'libbrillo-<(libbase_ver)',
Ben Chan2e6543d2014-02-05 23:26:25 -08006 'libchrome-<(libbase_ver)',
7 ]
8 },
9 'cflags_cc': [
10 '-fno-exceptions',
11 ],
12 },
13 'targets': [
14 {
15 'target_name': 'libmetrics-<(libbase_ver)',
16 'type': 'shared_library',
17 'cflags': [
18 '-fvisibility=default',
19 ],
Bertrand SIMONNET4764f522014-06-04 13:08:52 -070020 'libraries+': [
21 '-lpolicy-<(libbase_ver)',
22 ],
Ben Chan2e6543d2014-02-05 23:26:25 -080023 'sources': [
24 'c_metrics_library.cc',
25 'metrics_library.cc',
Alex Vakulenko788d3b62014-12-11 09:48:46 -080026 'serialization/metric_sample.cc',
27 'serialization/serialization_utils.cc',
Ben Chan2e6543d2014-02-05 23:26:25 -080028 'timer.cc',
29 ],
Bertrand SIMONNETd83ca802014-07-09 16:34:29 -070030 'include_dirs': ['.'],
Ben Chan2e6543d2014-02-05 23:26:25 -080031 },
32 ],
33}