Bug 912121 - Create shims for popular DevTools themes in add-ons. rs=devtools

For popular themes used by many DevTools add-ons, add shim files which wrap the
themes and make them available at their previous location.
This commit is contained in:
J. Ryan Stinnett 2015-09-10 23:34:42 -05:00
parent beb6277e33
commit f4fcee6074
4 changed files with 28 additions and 0 deletions

View File

@ -38,6 +38,10 @@ DIRS += [
'webide',
]
# Shim old theme paths used by DevTools add-ons
if CONFIG['MOZ_BUILD_APP'] == 'browser':
DIRS += ['themes/shims']
EXTRA_COMPONENTS += [
'devtools-clhandler.js',
'devtools-clhandler.manifest',

View File

@ -0,0 +1,10 @@
/* 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/. */
/**
* This file only exists to support add-ons which import this style sheet at a
* specific path.
*/
@import url("chrome://devtools/skin/themes/common.css");

View File

@ -0,0 +1,6 @@
# 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/.
browser.jar:
skin/classic/browser/devtools/common.css (common.css)

View File

@ -0,0 +1,8 @@
# -*- Mode: python; c-basic-offset: 4; 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/.
# Shim old theme paths used by DevTools add-ons
JAR_MANIFESTS += ['jar.mn']