Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3516073
D5861.id19320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
585 B
Referenced Files
None
Subscribers
None
D5861.id19320.diff
View Options
diff --git a/native/android/scripts/install_protobuf.sh b/native/android/scripts/install_protobuf.sh
new file mode 100755
--- /dev/null
+++ b/native/android/scripts/install_protobuf.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+git clone \
+ --recurse-submodules \
+ --single-branch \
+ -b v3.15.8 \
+ https://github.com/protocolbuffers/protobuf
+
+pushd protobuf || exit
+
+mkdir build
+pushd build || exit
+
+cmake ../cmake -Dprotobuf_BUILD_SHARED_LIBS=ON -Dprotobuf_ABSL_PROVIDER=package
+make install -j "$(nproc)" -l "$(nproc)"
+
+popd || exit # build
+popd || exit # protobuf
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 12:05 PM (16 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2694029
Default Alt Text
D5861.id19320.diff (585 B)
Attached To
Mode
D5861: [Android] Add script to install protoc for CI
Attached
Detach File
Event Timeline
Log In to Comment