Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 4a6161b

Browse files
HistogramBase compile fix
Signed-off-by: Tavi <[email protected]>
1 parent d42ed22 commit 4a6161b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

prebuild.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,12 @@ popd
155155
#
156156

157157
pushd "$glean_as"
158+
echo "typealias HistogramMetricBase = mozilla.telemetry.glean.private.HistogramBase" >> glean-core/android/src/main/java/mozilla/telemetry/glean/private/HistogramBase.kt
158159
echo "rust.targets=$rusttarget" >> local.properties
159160
localize_maven
160161
popd
161162
pushd "$glean"
163+
echo "typealias HistogramMetricBase = mozilla.telemetry.glean.private.HistogramBase" >> glean-core/android/src/main/java/mozilla/telemetry/glean/private/HistogramBase.kt
162164
echo "rust.targets=linux-x86-64,$rusttarget" >> local.properties
163165
localize_maven
164166
popd
@@ -178,6 +180,7 @@ sed -i \
178180
# Hack to prevent too long string from breaking build
179181
sed -i '/val statusCmd/,+3d' plugins/config/src/main/java/ConfigPlugin.kt
180182
sed -i '/\/\/ Append "+"/a \ val statusSuffix = "+"' plugins/config/src/main/java/ConfigPlugin.kt
183+
echo "typealias HistogramBase = mozilla.telemetry.glean.private.HistogramBase" >> components/service/glean/src/main/java/mozilla/components/service/glean/private/MetricAliases.kt
181184
popd
182185

183186
#

0 commit comments

Comments
 (0)