There are 2 libraries in Plugins:
  • mozjswrap. This is JSBinding library, it links C# and SpiderMonkey together and adds some supports specially for Unity.
 
For mozjs-31, if you need to rebuild it, go to url above to get more information, or go to Mozilla website, or just email me: answerwinner@gmail.com.
 
For mozjswrap, JSBinding already contains libraries for all supported platforms, so normally you don't need to rebuild this library. 
Steps are written here in case you need them.
 
Download source code
 
for Android (use NDK)
  • 1. rename the folder to jni, after rename,
jni/
    mozjswrap.cpp
    mozjswrap.h
    Android.mk
  • 2. inside the folder jni/, execute command
        sh gen-android.sh
  • 3. output: ../libs/armeabi-v7a/libmozjswrap.so
 
for Windows, Mac, iOS (use gyp, python, VisualStudio, XCode)
  • 1. Download google gyp. Put the gyp folder here. Like this:
mozjswrap.h
mozjswrap.cpp
gyp/
   gyp_main.py
   LICENSE
 
  • 2. install python 2.7.x. (Mine is 2.7.6)
  • 3. For iOS: open moz.gyp, change js_debug to false. (line 9)
  • 4. build!
Windows: double click gen-msvs2012.bat      output: ./build/Release/bin/mozjswrap.dll
iOS:     bash gen-ios.sh                               output: ./build/Release-iphoneos/libmozjswrap.a
Mac:     bash gen-mac.sh                             output: ./build/Default/mozjswrap.bundle
 
 

JSBinding / Plugins & Build Mozjswrap Library的更多相关文章

  1. Build Assimp library for Android

    Build Assimp library for Android 首先各路教程中有推荐使用 NDK 或者 STANDALONE TOOLCHAIN 编译的,根据我的理解,这两种方式都是可以的,如果能直 ...

  2. JSBinding / Home

    Description JSBinding is a tool enabling you to run actual javascript in Unity3D. It contains Mozill ...

  3. How to build the Robotics Library from source code on Windows

    The Robotics Library is an open source C++ library for robot kinematics, motion planning and control ...

  4. The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path(Myeclipse添加Server Library)

    网上找练习的项目导入到myeclipse项目发现每个JSP 出现错误The superclass "javax.servlet.http.HttpServlet" was not ...

  5. 如何编译和使用自定义Qt动态链接库 | how to build and use user-defined qt library

    本文首发于个人博客https://kezunlin.me/post/cf628dd8/,欢迎阅读! guide to build qt library and use in another proje ...

  6. maven warnning 'build.plugins.plugin.version' is missing

    裝完maven后,package或clean时出错:[WARN] [WARN] Some problems were encountered while building the effective ...

  7. Maven项目Update Project后JRE System Library自动变回1.5解决办法

    最近在搭建Spring Boot项目<一步步搭建 Spring Boot maven 框架的工程>的时候,虽然设置JRE System Library为1.8,但是,当我 用 Maven ...

  8. Maven build lifecycle

    Clean Lifecycle 运行mvn clean执行clean生命周期,包含三个生命周期阶段: pre-clean clean post-clean clean:clean会删除一次构建后的输出 ...

  9. Maven Plugins常用配置

    官方文档:http://maven.apache.org/plugins/index.html# 这里主要介绍compiler插件的配置.http://maven.apache.org/plugins ...

随机推荐

  1. 堆糖瀑布流完整解决方案(jQuery)

    2010年堆糖创办以来,网站界面经历过3-5次重大改版,logo也曾更换过两次,早期蓝红相间三个圈的logo恐怕很少有人记得了.与此同时,前端 js 框架也在默默的更新换代.最早堆糖上线时,js 采用 ...

  2. t4 加载文件到解决方案

    Use EnvDTE add/remove multiple files to project By admin | décembre 17, 2013 Un commentaire Project ...

  3. Python的平凡之路(18)

    一.JS 正则部分 test   - 判断字符串是否符合规定的正则rep = /\d+/;rep.test("asdfoiklfasdf89asdfasdf")# truerep ...

  4. Scrum领取任务

    这次主要讨论了产品的构造流程,怎么将任务分配到个人,讨论什么功能具体怎么实现,然后各自选取了任务. 在团队项目“广商百货”的SCRUM项目中我认领的任务是对登录功能的实现.现在还没正式开始,还在看书和 ...

  5. GridView不能添加头布局,并且scrollView与GridView冲突导致一些页面无法融合

    此贴为标记贴 方便下次使用 在项目需求中原本是用ScrollView来进行整个页面的滑动,ScrollView里面包含的有图片轮播,文字轮播,与2列GridView的item 问题 使用原生的Grid ...

  6. mongo 导入json数据

    删除库以及导入库

  7. java的数据类型转换

    java中有八种基本数据类型分别是字节型byte.整型int.短整型short.长整型long.单精度浮点型float.双精度浮点型double.字符型char.布尔型boolean.这些基本数据类型 ...

  8. Alpha版使用说明书

     游戏规则:             玩家是黑色的小煤球哦!             通过方向键或者ASDW,来控制小球移动(上.下.左.右).             累计时间,直到碰到了红色的小球 ...

  9. Java 验证码工具类

    package com.wuyu.util; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import ...

  10. ubuntu下avd创建和文件传输

    进入安卓官网下载安卓sdk并解压到指定路径 在命令行模式下进入安卓文件的toos文件夹下 android avd #在弹出的对话框中新建虚拟机 adb install ~/targetPath/hel ...