Bug 1324998 - Set MOZ_AUTOMATION on rooting hazards builds. r?mshal draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 22 Dec 2016 15:02:45 +0900
changeset 452815 3243da874b46e576c92ec9222ee47bc836b7148e
parent 452718 f179934df0c1bab590c558485d419c7910e41325
child 452816 69d633fac3eecb42ea31f83626b4ecafe652000c
push id39508
push userbmo:mh+mozilla@glandium.org
push dateThu, 22 Dec 2016 10:07:47 +0000
reviewersmshal
bugs1324998
milestone53.0a1
Bug 1324998 - Set MOZ_AUTOMATION on rooting hazards builds. r?mshal
browser/config/mozconfigs/linux64/hazards
taskcluster/ci/hazard/kind.yml
--- a/browser/config/mozconfigs/linux64/hazards
+++ b/browser/config/mozconfigs/linux64/hazards
@@ -2,16 +2,22 @@
 # analysis build (labeled H on treeherder). See
 # https://wiki.mozilla.org/Javascript:SpiderMonkey:ExactStackRooting
 
 # Do NOT include build/unix/mozconfig.linux because it points directly at the
 # tooltool-installed gcc, and the analysis works by wrapping the gcc invocation
 # with a script that invokes the real gcc with -fplugin and its configuration
 # directives. Instead, duplicate the contents of that mozconfig here:
 
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_L10N_CHECK=0
+MOZ_AUTOMATION_PACKAGE=0
+MOZ_AUTOMATION_PACKAGE_TESTS=0
+MOZ_AUTOMATION_UPLOAD=0
+
 . "$topsrcdir/build/mozconfig.common"
 ac_add_options --enable-elf-hack
 
 . "$topsrcdir/build/unix/mozconfig.stdcxx"
 
 # The objdir must be at a known location so its path can be stripped from the
 # filenames stored by the analysis
 mk_add_options MOZ_OBJDIR=obj-analyzed
--- a/taskcluster/ci/hazard/kind.yml
+++ b/taskcluster/ci/hazard/kind.yml
@@ -13,16 +13,18 @@ job-defaults:
     treeherder:
         kind: build
         tier: 1
     worker-type: aws-provisioner-v1/gecko-{level}-b-linux
     worker:
         implementation: docker-worker
         max-run-time: 36000
         docker-image: {in-tree: desktop-build}
+        env:
+            MOZ_AUTOMATION: "1"
 
 jobs:
     linux64-shell-haz/debug:
         description: "JS Shell Hazard Analysis Linux"
         index:
             product: firefox
             job-name: shell-haz-debug
         treeherder: