Rollup merge of #70054 - rojamd:android-pgo, r=michaelwoerister
Build dist-android with --enable-profiler This will make the runtime available to enable PGO for Rust code in Firefox on Android. r? @michaelwoerister
This commit is contained in:
commit
bbd1ca3b69
@ -23,6 +23,7 @@ ENV TARGETS=$TARGETS,x86_64-linux-android
|
|||||||
|
|
||||||
ENV RUST_CONFIGURE_ARGS \
|
ENV RUST_CONFIGURE_ARGS \
|
||||||
--enable-extended \
|
--enable-extended \
|
||||||
|
--enable-profiler \
|
||||||
--arm-linux-androideabi-ndk=/android/ndk/arm-14 \
|
--arm-linux-androideabi-ndk=/android/ndk/arm-14 \
|
||||||
--armv7-linux-androideabi-ndk=/android/ndk/arm-14 \
|
--armv7-linux-androideabi-ndk=/android/ndk/arm-14 \
|
||||||
--thumbv7neon-linux-androideabi-ndk=/android/ndk/arm-14 \
|
--thumbv7neon-linux-androideabi-ndk=/android/ndk/arm-14 \
|
||||||
|
@ -41,7 +41,6 @@ fn main() {
|
|||||||
cfg.flag("-fno-builtin");
|
cfg.flag("-fno-builtin");
|
||||||
cfg.flag("-fvisibility=hidden");
|
cfg.flag("-fvisibility=hidden");
|
||||||
cfg.flag("-fomit-frame-pointer");
|
cfg.flag("-fomit-frame-pointer");
|
||||||
cfg.flag("-ffreestanding");
|
|
||||||
cfg.define("VISIBILITY_HIDDEN", None);
|
cfg.define("VISIBILITY_HIDDEN", None);
|
||||||
if !target.contains("windows") {
|
if !target.contains("windows") {
|
||||||
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
|
cfg.define("COMPILER_RT_HAS_UNAME", Some("1"));
|
||||||
|
Loading…
Reference in New Issue
Block a user