d83ca801ad
Convert libmetrics to the new serialization mechanism living in //components/metrics in the chrome repo. BUG=chromium:374368 TEST=FEATURES=test emerge-amd64-generic metrics Change-Id: Ia8cf128d04fedd9672fb47096dc6fd87d6a9043d Reviewed-on: https://chromium-review.googlesource.com/207237 Reviewed-by: Luigi Semenzato <semenzato@chromium.org> Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org> Tested-by: Bertrand Simonnet <bsimonnet@chromium.org>
33 lines
704 B
Python
33 lines
704 B
Python
{
|
|
'target_defaults': {
|
|
'variables': {
|
|
'deps': [
|
|
'libchrome-<(libbase_ver)',
|
|
'libchromeos-<(libbase_ver)',
|
|
]
|
|
},
|
|
'cflags_cc': [
|
|
'-fno-exceptions',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'libmetrics-<(libbase_ver)',
|
|
'type': 'shared_library',
|
|
'cflags': [
|
|
'-fvisibility=default',
|
|
],
|
|
'libraries+': [
|
|
'-lpolicy-<(libbase_ver)',
|
|
],
|
|
'sources': [
|
|
'c_metrics_library.cc',
|
|
'metrics_library.cc',
|
|
'timer.cc',
|
|
'components/metrics/chromeos/metric_sample.cc',
|
|
'components/metrics/chromeos/serialization_utils.cc',
|
|
],
|
|
'include_dirs': ['.'],
|
|
},
|
|
],
|
|
}
|