metrics: Fix the import path of protobufs.
We are switching chromeos-base/metrics to use the metrics component
pulled as part of the checkout.
This components will be copied in $S and not in platform2/metrics. The
import path need to be fixed.
BUG=chromium:474811
TEST=trybots.
TEST=unittests.
CQ-DEPEND=CL:264544
Change-Id: I02a379eff0f97081dffd382bbee5028b3600f975
Reviewed-on: https://chromium-review.googlesource.com/264506
Tested-by: Bertrand Simonnet <bsimonnet@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Bertrand Simonnet <bsimonnet@chromium.org>
diff --git a/metrics/metrics.gyp b/metrics/metrics.gyp
index 3130509..7134e55 100644
--- a/metrics/metrics.gyp
+++ b/metrics/metrics.gyp
@@ -83,7 +83,7 @@
'target_name': 'metrics_proto',
'type': 'static_library',
'variables': {
- 'proto_in_dir': 'components/metrics/proto/',
+ 'proto_in_dir': '../../components/metrics/proto/',
'proto_out_dir': 'include/components/metrics/proto',
},
'sources': [