metrics: Update gyp file to use src/platform2/common-mk
We are moving the packages built by platform2's ebuild into src/platform2.
We need packages to use src/platform2/common-mk instead of
src/platform/common-mk.
BUG=chromium:378554
TEST=emerge-daisy platform2
TEST=trybot run on daisy, link, mario and duck
CQ-DEPEND=CL:201938
Change-Id: Ibe02d33d7d17a830f0d72cdb2597b8e97b1864da
Reviewed-on: https://chromium-review.googlesource.com/201982
Tested-by: Bertrand Simonnet <bsimonnet@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org>
diff --git a/metrics.gyp b/metrics.gyp
index 3d7c2d5..4a0b11a 100644
--- a/metrics.gyp
+++ b/metrics.gyp
@@ -65,7 +65,7 @@
{
'target_name': 'persistent_integer_test',
'type': 'executable',
- 'includes': ['../common-mk/common_test.gypi'],
+ 'includes': ['../../platform2/common-mk/common_test.gypi'],
'sources': [
'persistent_integer.cc',
'persistent_integer_test.cc',
@@ -77,7 +77,7 @@
'dependencies': [
'../metrics/libmetrics-<(libbase_ver).gyp:libmetrics-<(libbase_ver)',
],
- 'includes': ['../common-mk/common_test.gypi'],
+ 'includes': ['../../platform2/common-mk/common_test.gypi'],
'sources': [
'metrics_library_test.cc',
]
@@ -85,7 +85,7 @@
{
'target_name': 'timer_test',
'type': 'executable',
- 'includes': ['../common-mk/common_test.gypi'],
+ 'includes': ['../../platform2/common-mk/common_test.gypi'],
'sources': [
'timer.cc',
'timer_test.cc',
@@ -101,7 +101,7 @@
'dependencies': [
'libmetrics_daemon',
],
- 'includes': ['../common-mk/common_test.gypi'],
+ 'includes': ['../../platform2/common-mk/common_test.gypi'],
'sources': [
'metrics_daemon_test.cc',
]