Bug 1369028 - Add build infrastructure for follow-on search telemetry system add-on. r=Mossop
authorMark Banner <standard8@mozilla.com>
Wed, 31 May 2017 16:40:52 +0100
changeset 362976 d1272c6ebb3f5cfe2e9bd19cf5d0fee8255d8383
parent 362975 479b56b160d835e6d78055d4b05d50a883b69e41
child 362977 6e0d544cc5cadbdb3090c60b532ba1b95fbb32cc
push id31992
push userkwierso@gmail.com
push dateFri, 09 Jun 2017 01:11:44 +0000
treeherdermozilla-central@b42d50cafb15 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMossop
bugs1369028
milestone55.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 1369028 - Add build infrastructure for follow-on search telemetry system add-on. r=Mossop MozReview-Commit-ID: E3R57DXa57l
.eslintignore
browser/extensions/followonsearch/jar.mn
browser/extensions/followonsearch/moz.build
browser/extensions/moz.build
--- a/.eslintignore
+++ b/.eslintignore
@@ -59,17 +59,19 @@ browser/base/content/test/general/gZipOf
 browser/base/content/test/urlbar/file_blank_but_not_blank.html
 browser/base/content/newtab/**
 # Test files that are really json not js, and don't need to be linted.
 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
 browser/components/tabview/**
 # generated & special files in cld2
 browser/components/translation/cld2/**
-# Screenshots is imported as a system add-on and has its own lint rules currently.
+# Screenshots and Follow-on search are imported as a system add-on and have
+# their own lint rules currently.
+browser/extensions/followonsearch/**
 browser/extensions/screenshots/**
 browser/extensions/pdfjs/content/build**
 browser/extensions/pdfjs/content/web**
 # generated or library files in pocket
 browser/extensions/pocket/content/panels/js/tmpl.js
 browser/extensions/pocket/content/panels/js/vendor/**
 browser/locales/**
 # generated or library files in activity-stream
new file mode 100644
--- /dev/null
+++ b/browser/extensions/followonsearch/jar.mn
@@ -0,0 +1,7 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+[features/followonsearch@mozilla.com] chrome.jar:
+% content followonsearch %content/
+  content/  (content/*)
new file mode 100644
--- /dev/null
+++ b/browser/extensions/followonsearch/moz.build
@@ -0,0 +1,15 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+with Files("**"):
+    BUG_COMPONENT = ("Firefox", "Search")
+
+FINAL_TARGET_FILES.features['followonsearch@mozilla.com'] += [
+  'bootstrap.js',
+  'install.rdf',
+]
+
+JAR_MANIFESTS += ['jar.mn']
--- a/browser/extensions/moz.build
+++ b/browser/extensions/moz.build
@@ -2,16 +2,17 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
     'aushelper',
     'e10srollout',
+    'followonsearch',
     'pdfjs',
     'pocket',
     'screenshots',
     'webcompat',
 ]
 
 # Only include the following system add-ons if building Aurora or Nightly
 if not CONFIG['RELEASE_OR_BETA']: