Building Crosswalk For Windows
来源:互联网 发布:网络教育几月发毕业证 编辑:程序博客网 时间:2024/05/22 04:35
原文访问太慢,转载到这里方便访问。
Building Crosswalk For Windows
Download and install Microsoft Visual Studio 2013. We do not support Visual Studio 2015 at the moment.
Install Git For Windows from http://git-scm.com/download/win and make sure it’s added to your PATH. Edit environment variables for your account. In the Windows Start menu, search for “Environment variables”. Alternatively, click on the System icon in the Control Panel; then go to Advanced system settings and click the Environment Variables button. You should see this dialog box:
- Clone depot_tools from Google by running:
> git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Make sure you add the depot_tools directory in your PATH using the documented procedure above.
In the Environment Variables dialog create new variables (using the “New…” button) and add:
- GYP_GENERATORS set to ninja,msvs-ninja (this will create Visual Studio solutions if you want to run Crosswalk for Windows inside the IDE)
- DEPOT_TOOLS_WIN_TOOLCHAIN set to 0 (which will tell Crosswalk for Windows to use your installation of Visual Studio 2013)
Navigate where you want to checkout Crosswalk for Windows, create a directory, navigate into it, and pull the source:
> mkdir crosswalk-src > cd crosswalk-src > gclient config --name=src/xwalk git://github.com/crosswalk-project/crosswalk.git > gclient sync
It may take a while. Download size is >3GB.
Build Crosswalk
At this point you have two alternatives :
- Building from the command line
- Building from Visual Studio
Command line build
To build from the command line, navigate into crosswalk-src/src and invoke:
> ninja -C out/Release xwalk or ninja -C out/Debug xwalk
Visual Studio build
To generate solution and project files, navigate into crosswalk-src/src and invoke:
> python xwalk\gyp_xwalk
To build in Visual Studio, open xwalk.sln from crosswalk-src/src/xwalk and you’re ready to go. Select a target and click Build (for example xwalk, or xwalk_builder). Please note that xwalk.sln actually has all the Chromium code as a dependency therefore xwalk.sln has something like 600 subprojects which requires a pretty powerful machine with a lot of RAM to be able to handle that correctly. We suggest using the Funnel extension which allows you to select which subproject you want to load.
- Building Crosswalk For Windows
- Crosswalk Project for Windows
- Building a Crosswalk application
- Building FFplay for Windows
- Crosswalk Project for Linux
- Crosswalk Project for Android
- Crosswalk Project for iOS
- Building QTWekit for Windows CE From trunk
- Building MySQLdb for Python on Windows
- CMake for Building KDE under Windows
- The 2 ways of building for Windows
- MinGW: Building Iconv 1.13.1 for Windows
- Building OpenCV_contrib for OpenCV 3, Windows GUI
- Building PortAudioV19 for Windows using VS2013
- Checking out and Building Chromium for Windows
- Building qt3d for qt5.1.1 for android under windows
- CrossWalk
- Building GTK apps for MS Windows on Linux
- 4linux操作系统基础
- [81gNose]你不知道的那些tableViewCell中的那些坑
- CAS 4.0.x 自定义登录页面
- 如何让ViewPager+Fragment来回切换时数据不重复加载
- Android中EventBus详解
- Building Crosswalk For Windows
- 第十六周阅读程序4(3)
- 第六章 注解式控制器详解—请求映射规则详解
- 02_01_Linux操作系统及常用命令
- 单链表的有关算法
- 谈谈java的Collections.synchronized()
- iOS 使用Mansory 进行键盘和输入框的适配
- 曲里电站出现开关机不动作的问题之解决过程
- C/C++——vector的基本操作总结