mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1345328 - modify moz.build to build pdfium as a build-in addon. r=rhelmer
--HG-- rename : browser/extensions/mortar/host/pdf/install.rdf => browser/extensions/mortar/host/pdf/install.rdf.in
This commit is contained in:
parent
5c4aa724fa
commit
200dc0cdc7
@ -1,25 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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/. -->
|
||||
|
||||
#filter substitution
|
||||
|
||||
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
|
||||
|
||||
<Description about="urn:mozilla:install-manifest">
|
||||
<em:id>ppapipdf.js@mozilla.org</em:id>
|
||||
<em:name>ppapipdf.js</em:name>
|
||||
<em:description>ppapipdf.js</em:description>
|
||||
<em:version>0.1</em:version>
|
||||
<em:description>ppapi pdf</em:description>
|
||||
<em:version>1.0</em:version>
|
||||
<em:type>2</em:type>
|
||||
<em:bootstrap>true</em:bootstrap>
|
||||
<em:multiprocessCompatible>true</em:multiprocessCompatible>
|
||||
|
||||
<!-- Target Application this extension can install into,
|
||||
with minimum and maximum supported versions. -->
|
||||
<em:targetApplication>
|
||||
<Description>
|
||||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!--Firefox-->
|
||||
<em:minVersion>37.0</em:minVersion>
|
||||
<em:maxVersion>45.*</em:maxVersion>
|
||||
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
|
||||
<em:minVersion>@MOZ_APP_VERSION@</em:minVersion>
|
||||
<em:maxVersion>@MOZ_APP_MAXVERSION@</em:maxVersion>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
<em:strictCompatibility>false</em:strictCompatibility>
|
||||
|
||||
</Description>
|
||||
</RDF>
|
14
browser/extensions/mortar/jar.mn
Normal file
14
browser/extensions/mortar/jar.mn
Normal file
@ -0,0 +1,14 @@
|
||||
# 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/ppapipdf.js@mozilla.org] chrome.jar:
|
||||
|
||||
% content ppapipdf.js %content/
|
||||
content/ (./host/pdf/chrome/*)
|
||||
|
||||
% resource ppapipdf.js %res/
|
||||
res/ (./host/pdf/ppapi*.js)
|
||||
|
||||
% resource ppapi.js %res/
|
||||
res/ (./host/common/*)
|
@ -6,6 +6,20 @@
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
|
||||
|
||||
DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
|
||||
DEFINES['MOZ_APP_MAXVERSION'] = CONFIG['MOZ_APP_MAXVERSION']
|
||||
|
||||
|
||||
FINAL_TARGET_FILES.features['ppapipdf.js@mozilla.org'] += [
|
||||
'host/pdf/bootstrap.js'
|
||||
]
|
||||
|
||||
FINAL_TARGET_PP_FILES.features['ppapipdf.js@mozilla.org'] += [
|
||||
'host/pdf/install.rdf.in'
|
||||
]
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
||||
SOURCES += [
|
||||
'host/rpc.cc',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user