Bug 1591538 - Don't include taskcluster stuff in SM tarball; r=sfink
authorAnthony Ramine <nox@nox.paris>
Mon, 18 Nov 2019 08:47:00 +0000
changeset 502384 cbf72b9e705a1b748500ab445d9fd3d6103af5e9
parent 502383 a475978e4f2f35b5148205a69d6f54919b1d1462
child 502385 3f447c49dc77cbd3623898cadb1f91001dd1dcbc
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1591538
milestone72.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 1591538 - Don't include taskcluster stuff in SM tarball; r=sfink We can just not add the directory to DIRS if JS_STANDALONE is true. Differential Revision: https://phabricator.services.mozilla.com/D50739
js/src/make-source-package.sh
moz.build
--- a/js/src/make-source-package.sh
+++ b/js/src/make-source-package.sh
@@ -123,19 +123,16 @@ case $cmd in
 + /third_party/python/**
 + /third_party/rust/**
 
 + /layout/tools/reftest/reftest/**
 
 + /testing/mozbase/**
 + /testing/web-platform/tests/streams/**
 
-+ /taskcluster/moz.build
-+ /taskcluster/taskgraph/test/**
-
 + /toolkit/crashreporter/tools/symbolstore.py
 + /toolkit/mozapps/installer/package-name.mk
 + /toolkit/mozapps/installer/upload-files.mk
 
 # SpiderMonkey itself
 
 + /js/src/**
 + /js/app.mozbuild
--- a/moz.build
+++ b/moz.build
@@ -121,21 +121,23 @@ CONFIGURE_SUBST_FILES += [
 ]
 
 if CONFIG['ENABLE_CLANG_PLUGIN']:
     DIRS += ['build/clang-plugin']
 
 DIRS += [
     'config',
     'python',
-    'taskcluster',
     'testing/mozbase',
     'third_party/python',
 ]
 
+if not CONFIG['JS_STANDALONE']:
+    DIRS += ['taskcluster']
+
 if not CONFIG['JS_STANDALONE'] or not CONFIG['MOZ_BUILD_APP']:
     CONFIGURE_DEFINE_FILES += [
         'mozilla-config.h',
     ]
     EXPORTS += [
         '!buildid.h',
         '!mozilla-config.h',
         '!source-repo.h',