Backed out changeset 8445f247021a (bug 1280846)
authorTim Taubert <ttaubert@mozilla.com>
Mon, 12 Jun 2017 12:05:45 +0200
changeset 13436 c87a857c4f8033680c74967a6a177b410fb504bb
parent 13435 8445f247021a7cb13c08046698730aec77069b9f
child 13437 ea7097106da78852117bfdc2e6a5bdf64ddca0cf
push id2250
push userttaubert@mozilla.com
push dateMon, 12 Jun 2017 11:12:46 +0000
bugs1280846
backs out8445f247021a7cb13c08046698730aec77069b9f
Backed out changeset 8445f247021a (bug 1280846)
automation/taskcluster/scripts/split.sh
--- a/automation/taskcluster/scripts/split.sh
+++ b/automation/taskcluster/scripts/split.sh
@@ -18,20 +18,25 @@ split_util() {
   #   nss/coreconf                full directory
   #   nss                         top files only
   #   nss/lib                     top files only
   #   nss/lib/util                full directory
 
   # Copy everything.
   cp -R $nssdir $dstdir
 
+  # Skip gtests when building.
+  sed '/^DIRS = /s/ gtests$//' $nssdir/manifest.mn > $dstdir/manifest.mn-t && mv $dstdir/manifest.mn-t $dstdir/manifest.mn
+
   # Remove subdirectories that we don't want.
   rm -rf $dstdir/cmd
+  rm -rf $dstdir/tests
   rm -rf $dstdir/lib
   rm -rf $dstdir/automation
+  rm -rf $dstdir/gtests
   rm -rf $dstdir/doc
 
   # Start with an empty cmd lib directories to be filled selectively.
   mkdir $dstdir/cmd
   cp $nssdir/cmd/Makefile $dstdir/cmd
   cp $nssdir/cmd/manifest.mn $dstdir/cmd
   cp $nssdir/cmd/platlibs.mk $dstdir/cmd
   cp $nssdir/cmd/platrules.mk $dstdir/cmd