зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1565757 - Don't run networking binary checks on PGO instrumented builds. r=mshal
We don't need to run binary checks on the instrumentation builds, only the final optimized build. Differential Revision: https://phabricator.services.mozilla.com/D38382 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
6eda849f2d
Коммит
a2d6b2398d
|
@ -244,6 +244,7 @@ $(RUST_LIBRARY_FILE): force-cargo-library-build
|
||||||
# When we are building in --enable-release mode; we add an additional check to confirm
|
# When we are building in --enable-release mode; we add an additional check to confirm
|
||||||
# that we are not importing any networking-related functions in rust code. This reduces
|
# that we are not importing any networking-related functions in rust code. This reduces
|
||||||
# the chance of proxy bypasses originating from rust code.
|
# the chance of proxy bypasses originating from rust code.
|
||||||
|
ifndef MOZ_PROFILE_GENERATE
|
||||||
ifndef DEVELOPER_OPTIONS
|
ifndef DEVELOPER_OPTIONS
|
||||||
ifndef MOZ_DEBUG_RUST
|
ifndef MOZ_DEBUG_RUST
|
||||||
ifeq ($(OS_ARCH), Linux)
|
ifeq ($(OS_ARCH), Linux)
|
||||||
|
@ -251,6 +252,7 @@ ifeq ($(OS_ARCH), Linux)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
force-cargo-library-check:
|
force-cargo-library-check:
|
||||||
$(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)
|
$(call CARGO_CHECK) --lib $(cargo_target_flag) $(rust_features_flag)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче