Bug 1776254 - Install ProfilingCategoryList.h (r=arai)
authorPhilip Chimento <pchimento@igalia.com>
Sat, 23 Jul 2022 01:26:08 +0000
changeset 624991 eb2b21f037a5ec7213ebcb3ea7690c7ced2ce368
parent 624990 25e4cbaaa04bc875ff25648b871ad6ff3bc6d942
child 624994 5576e4dccafbfdcf1e4011e775613be1cd671463
push id166715
push userarai_a@mac.com
push dateSat, 23 Jul 2022 01:28:33 +0000
treeherderautoland@eb2b21f037a5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1776254
milestone104.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1776254 - Install ProfilingCategoryList.h (r=arai) When installing embedded SpiderMonkey, we need to install the generated header ProfilingCategoryList.h into /usr/include/mozjs-___/js/ because that's where the rest of the SpiderMonkey code expects to find it. It's not automatically installed already, because it's generated. Thanks to Arai for the suggestion of where to look. Differential Revision: https://phabricator.services.mozilla.com/D152549
js/src/build/Makefile.in
--- a/js/src/build/Makefile.in
+++ b/js/src/build/Makefile.in
@@ -26,16 +26,19 @@ endif
 # Install versioned file, for parallel installability in Linux distributions
 install:: $(LIBRARY_NAME).pc
 	cp $^ $(JS_LIBRARY_NAME).pc
 	$(SYSINSTALL) $(JS_LIBRARY_NAME).pc $(DESTDIR)$(libdir)/pkgconfig
 
 install:: ../js-config.h
 	$(SYSINSTALL) $^ $(DESTDIR)$(includedir)/$(JS_LIBRARY_NAME)
 
+install:: ../../../mozglue/baseprofiler/public/ProfilingCategoryList.h
+	$(SYSINSTALL) $^ $(DESTDIR)$(includedir)/$(JS_LIBRARY_NAME)/js
+
 ######################################################
 # BEGIN SpiderMonkey header installation
 #
 # Mozilla/Gecko/Firefox mostly doesn't concern itself with defining a sensible
 # install target, because it's shipping primarily packaged builds.  And even if
 # it did, those builds wouldn't really have reason to include header files.  So
 # we have to install public headers ourselves, rather than using something from
 # config/rules.mk or similar.