Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted

--HG--
extra : rebase_source : fac35b1ee0995d0e5a848a572ff236084da853b2
This commit is contained in:
Benjamin Smedberg 2012-05-18 12:42:01 -04:00
parent 247accb836
commit 04cf7159de
3 changed files with 34 additions and 0 deletions

View File

@ -49,6 +49,7 @@ PARALLEL_DIRS = \
locales \
modules \
themes \
extensions \
$(NULL)
DIRS = \

View File

@ -0,0 +1,32 @@
# 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/.
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
CHROMEDIR = $(call core_abspath,$(DIST))/bin/chrome
include $(DEPTH)/config/autoconf.mk
TEST_DIRS += pdfjs/test
include $(topsrcdir)/config/rules.mk
exclude_files = \
test \
install.rdf \
bootstrap.js \
icon.png \
icon64.png \
$(NULL)
libs::
$(PYTHON) $(topsrcdir)/config/nsinstall.py \
$(srcdir)/pdfjs \
$(foreach exclude,$(exclude_files), -X $(srcdir)/pdfjs/$(exclude)) \
$(DIST)/bin/chrome/pdfjs
$(PYTHON) $(MOZILLA_DIR)/config/buildlist.py \
$(DIST)/bin/chrome.manifest "manifest chrome/pdfjs/chrome.manifest"

View File

@ -80,6 +80,7 @@ browser/devtools/styleeditor/Makefile
browser/devtools/styleinspector/Makefile
browser/devtools/tilt/Makefile
browser/devtools/webconsole/Makefile
browser/extensions/Makefile
browser/fuel/Makefile
browser/fuel/public/Makefile
browser/fuel/src/Makefile