首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

Chromium for android 二 源码编译

2013-02-19 
Chromium for android 2 源码编译运行结果:根据下面的指令可以把 browser shell 安装到手机上,这里用的是n

Chromium for android 2 源码编译

运行结果:根据下面的指令可以把 browser shell 安装到手机上,这里用的是nexus 7   android 4.2.1截图如下:界面还非常简单,只有一个 地址栏和历史前进后退,不支持 Menu;目前 HTML5 跑分421+11 比 chrome for android 390+11要高Chromium for android 二 源码编译

Install prerequisites

The Android SDK/NDK is checked into the chromium tree in $SRC/third_party/android_tools and does not need to be installed. The following script installs other tools needed by the Chrome on Android build.

/./---.///&&//~/Downloads/-6u38--.----///////.6.0//50000---///////.6.0//50000---///////.6.0//50000---///////.6.0//50000------------export=.//.-out/Debug-//.--ContentShell.////-out/Debug-//.--ChromiumTestShell.////-out/Release-# Run with --help to get arguments.# Most useful: use -e to run tests in an emulator; else it assumes you have a phone plugged in.//.# Running a particular test//.--PathUtilTest.BasicTest

Running Instrumentation Tests
-out/Release-//.--ContentShell.# Run with --help to get arguments.//.----ContentShellTest-vvv

Rebuilding libchromeview.so for a particular release

In the case where you want to modify the native code for an existing release of Chrome for Android (v25+) you can do the following steps. Note that in order to get your changes into the official release, you'll need to send your change for a codereview using the regular process for committing code to chromium.

  1. Open Chrome on your Android device and visit chrome://version
  2. Copy down the id listed next to "Build ID:"
  3. Go to http://storage.googleapis.com/chrome-browser-components/BUILD_ID_FROM_STEP_2/index.html
  4. Download the listed files and follow the steps in the readme.

热点排行