~mozillateam/firefox/firefox-trunk.head

« back to all changes in this revision

Viewing changes to debian/build/rules.mk

  • Committer: Rico Tzschichholz
  • Date: 2021-01-28 15:45:05 UTC
  • Revision ID: ricotz@ubuntu.com-20210128154505-uw3asmdx7a7j5fq3
* Vendor dump_syms v0.0.7 and its dependencies in the source tarball
  - debian/build/create-tarball.py
  - debian/build/rules.mk
  - debian/config/mozconfig.in
  - debian/config/tarball.conf
* Build-dep on libssl-dev as dump_syms dependency
  - debian/control{,.in}

Show diffs side-by-side

added added

removed removed

Lines of Context:
231
231
 
232
232
common-configure-arch common-configure-indep:: common-configure-impl
233
233
common-configure-impl:: debian/stamp-mach-configure
234
 
debian/stamp-mach-configure: cbindgen/bin/cbindgen
 
234
debian/stamp-mach-configure: cbindgen/bin/cbindgen dump_syms/bin/dump_syms
235
235
        $(CURDIR)/mach configure && $(CURDIR)/mach build-backend
236
236
        touch $@
237
237
clean::
246
246
        rm -rf $(CURDIR)/cbindgen
247
247
        rm -rf $(CURDIR)/third_party/cbindgen/target
248
248
 
 
249
dump_syms/bin/dump_syms: third_party/dump_syms/Cargo.toml
 
250
        cd $(CURDIR)/third_party/dump_syms; \
 
251
        cargo build --release; \
 
252
        export CARGO_HOME=$(CURDIR)/third_party/dump_syms/.cargo; \
 
253
        cargo install --path . --bin dump_syms --root ../../dump_syms
 
254
clean::
 
255
        rm -rf $(CURDIR)/dump_syms
 
256
        rm -rf $(CURDIR)/third_party/dump_syms/target
 
257
 
249
258
install/$(MOZ_PKG_NAME)::
250
259
        @echo "Adding suggests / recommends on support packages"
251
260
        echo "$(MOZ_PKG_SUPPORT_SUGGESTS)" | perl -0 -ne 's/[ \t\n]+/ /g; /\w/ and print "support:Suggests=$$_\n"' >> debian/$(MOZ_PKG_NAME).substvars