1 { 2 'target_defaults': { 3 'variables': { 4 'deps': [ 5 'libbrillo-<(libbase_ver)', 6 '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 ], 20 'libraries+': [ 21 '-lpolicy-<(libbase_ver)', 22 ], 23 'sources': [ 24 'c_metrics_library.cc', 25 'metrics_library.cc', 26 'serialization/metric_sample.cc', 27 'serialization/serialization_utils.cc', 28 'timer.cc', 29 ], 30 'include_dirs': ['.'], 31 }, 32 ], 33 } 34