日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > windows >内容正文

windows

Building Crosswalk For Windows

發布時間:2023/12/20 windows 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Building Crosswalk For Windows 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

原文訪問太慢,轉載到這里方便訪問。

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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。