Commit 528d1e50 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Added Example of JS frame script to embedComponents

parent 0fd1b4f8
content embedlite embedlite/content/embedlite
EXTRA_DIST = \
autogen.sh
SUBDIRS = history chromehelper prompt jscomps touchhelper
SUBDIRS = history chromehelper prompt jscomps touchhelper jsscripts
INCLUDES = $(DEPS_CFLAGS)
......@@ -10,3 +10,8 @@ manifests_manifest_DATA = \
EmbedLiteBinComponents.manifest \
EmbedLiteJSComponents.manifest \
$(NULL)
manifestsscript_manifestdir=$(libdir)/mozembedlite/chrome
manifestsscript_manifest_DATA = \
EmbedLiteJSScripts.manifest \
$(NULL)
......@@ -75,4 +75,5 @@ AC_OUTPUT([
prompt/Makefile
jscomps/Makefile
touchhelper/Makefile
jsscripts/Makefile
])
jsscripts_manifestdir=$(libdir)/mozembedlite/chrome/embedlite/content
jsscripts_manifest_DATA = \
embedhelper.js \
$(NULL)
INCLUDES = $(DEPS_CFLAGS)
This diff is collapsed.
......@@ -2,8 +2,8 @@
TARGET_DIR=$1
if [ "$TARGET_DIR" = "" ]; then
echo "TARGET_DIR ex: /usr/lib/mozembedlite/components"
TARGET_DIR=/usr/lib/mozembedlite/components
echo "TARGET_DIR ex: /usr/lib/mozembedlite"
TARGET_DIR=/usr/lib/mozembedlite
fi
BARCH=`uname -m`
......@@ -22,8 +22,16 @@ jscomps/AboutRedirector.js
jscomps/AlertsService.js
jscomps/LoginManagerPrompter.js
"
for str in $FILES_LIST; do
fname="${str##*/}"
rm -f $TARGET_DIR/$fname;
ln -s $(pwd)/$str $TARGET_DIR/$fname;
ln -s $(pwd)/$str $TARGET_DIR/components/$fname;
done
rm -f $TARGET_DIR/chrome/EmbedLiteJSScripts.manifest;
ln -s $(pwd)/EmbedLiteJSScripts.manifest $TARGET_DIR/chrome/EmbedLiteJSScripts.manifest;
rm -rf $TARGET_DIR/chrome/embedlite;
mkdir -p $TARGET_DIR/chrome/embedlite/content;
ln -s $(pwd)/jsscripts/embedhelper.js $TARGET_DIR/chrome/embedlite/content/embedhelper.js;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment