docshell/moz.build
author Gregory Szorc <gps@mozilla.com>
Tue, 07 Nov 2017 16:38:39 -0800
changeset 441455 b5f79b0f2a3586faf692c715b443264478e921c3
parent 400168 0dbe18767bbf6fa8594aaba16df8472062a4e5c9
child 494783 d0d9cd85f3dba3ba7bd08dc54e2279fae2316570
permissions -rw-r--r--
Bug 1412932 - Switch to PGO build in Makefile.in; r=ted Previously, client.mk made the decision of whether to perform a PGO build. This required passing around MOZ_PGO and invoking a separate make target if this variable was set. In this commit, we move this logic to Makefile.in. We employ a special mechanism in rules.mk to override the default make target so `make` evaluates "profiledbuild" if MOZ_PGO is set. This also required using an explicit target for $(MAKE) invocations inside the "profiledbuild" rule to avoid infinite recursion. MozReview-Commit-ID: 8sHiVspMisM

# -*- 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 = ('Core', 'Document Navigation')

DIRS += [
    'base',
    'shistory',
    'build',
    'resources/content',
]

XPCSHELL_TESTS_MANIFESTS += [
    'test/unit/xpcshell.ini',
    'test/unit_ipc/xpcshell.ini',
]

MOCHITEST_MANIFESTS += [
    'test/iframesandbox/mochitest.ini',
    'test/mochitest.ini',
    'test/navigation/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += [
    'test/chrome/chrome.ini',
]

BROWSER_CHROME_MANIFESTS += [
    'test/browser/browser.ini',
    'test/navigation/browser.ini',
]

TEST_HARNESS_FILES.testing.mochitest.tests.docshell.test.chrome += [
    'test/chrome/112564_nocache.html',
    'test/chrome/112564_nocache.html^headers^',
    'test/chrome/215405_nocache.html',
    'test/chrome/215405_nocache.html^headers^',
    'test/chrome/215405_nostore.html',
    'test/chrome/215405_nostore.html^headers^',
    'test/chrome/582176_dummy.html',
    'test/chrome/582176_xml.xml',
    'test/chrome/582176_xslt.xsl',
    'test/chrome/92598_nostore.html',
    'test/chrome/92598_nostore.html^headers^',
    'test/chrome/allowContentRetargeting.sjs',
    'test/chrome/blue.png',
    'test/chrome/bug89419.sjs',
    'test/chrome/red.png',
]