Bug 1389829 - Part 2 - Make files needed for View Source available for Fennec. r=esawin

viewPartialSource.js/xul and viewSource.css/js/xul are only required for opening
the source in a new, special window. On Android we'll always use a new tab
instead, so we don't have to include them there.

MozReview-Commit-ID: LjX1WKELjqz

--HG--
extra : rebase_source : e1fefc10bb11c933f4d8dff7a74c2c516933534d
This commit is contained in:
Jan Henning 2018-01-13 17:46:29 +01:00
Родитель 1f2597dca1
Коммит 91e8259ff4
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -70,6 +70,7 @@ DIRS += [
'url-classifier',
'urlformatter',
'viewconfig',
'viewsource',
'windowcreator',
'windowwatcher',
'workerloader',
@ -77,7 +78,7 @@ DIRS += [
]
if CONFIG['MOZ_BUILD_APP'] != 'mobile/android':
DIRS += ['narrate', 'viewsource'];
DIRS += ['narrate'];
if CONFIG['NS_PRINTING']:
DIRS += ['printing']

Просмотреть файл

@ -3,10 +3,12 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
toolkit.jar:
#ifndef ANDROID
content/global/viewSource.css (content/viewSource.css)
content/global/viewSource.js (content/viewSource.js)
* content/global/viewSource.xul (content/viewSource.xul)
content/global/viewPartialSource.js (content/viewPartialSource.js)
* content/global/viewPartialSource.xul (content/viewPartialSource.xul)
#endif
content/global/viewSourceUtils.js (content/viewSourceUtils.js)
content/global/viewSource-content.js (content/viewSource-content.js)