diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 09:44:21 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 09:44:21 +0200 |
commit | a1a007a4856fa50d6d811c2268f881e3666f4c67 (patch) | |
tree | 24b082c1bfb5777f1770c82a534bf765160bc1b8 /config/rules.mk | |
parent | eddd0de2ae80e176011f41a5400e81522d53f4f3 (diff) | |
parent | 59bf4204a84f7638d3f89a29bc7c04e5dc401369 (diff) | |
download | UXP-a1a007a4856fa50d6d811c2268f881e3666f4c67.tar UXP-a1a007a4856fa50d6d811c2268f881e3666f4c67.tar.gz UXP-a1a007a4856fa50d6d811c2268f881e3666f4c67.tar.lz UXP-a1a007a4856fa50d6d811c2268f881e3666f4c67.tar.xz UXP-a1a007a4856fa50d6d811c2268f881e3666f4c67.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into html_input_datetime_1
Diffstat (limited to 'config/rules.mk')
-rw-r--r-- | config/rules.mk | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/config/rules.mk b/config/rules.mk index a21128cf1..122bd8a77 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -905,44 +905,6 @@ $(ASOBJS): $(AS) $(ASOUTOPTION)$@ $(ASFLAGS) $($(notdir $<)_FLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS) endif -ifdef MOZ_RUST -ifdef RUST_LIBRARY_FILE - -# Permit users to pass flags to cargo from their mozconfigs (e.g. --color=always). -cargo_build_flags = $(CARGOFLAGS) -ifndef MOZ_DEBUG -cargo_build_flags = --release -endif -ifdef MOZ_CARGO_SUPPORTS_FROZEN -cargo_build_flags += --frozen -endif - -cargo_build_flags += --manifest-path $(CARGO_FILE) -cargo_build_flags += --target=$(RUST_TARGET) -cargo_build_flags += --verbose - -# Enable color output if original stdout was a TTY and color settings -# aren't already present. This essentially restores the default behavior -# of cargo when running via `mach`. -ifdef MACH_STDOUT_ISATTY -ifeq (,$(findstring --color,$(cargo_build_flags))) -cargo_build_flags += --color=always -endif -endif - -# Assume any system libraries rustc links against are already in the target's LIBS. -# -# We need to run cargo unconditionally, because cargo is the only thing that -# has full visibility into how changes in Rust sources might affect the final -# build. -force-cargo-build: - $(REPORT_BUILD) - env CARGO_TARGET_DIR=. RUSTC=$(RUSTC) $(CARGO) build $(cargo_build_flags) -- - -$(RUST_LIBRARY_FILE): force-cargo-build -endif # CARGO_FILE -endif # MOZ_RUST - $(SOBJS): $(REPORT_BUILD) $(AS) -o $@ $(DEFINES) $(ASFLAGS) $($(notdir $<)_FLAGS) $(LOCAL_INCLUDES) -c $< |