下载google app 浏览器源码

前提:

请先升级git1.7.10

sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
如果本地已经安装过Git,可以使用升级命令:
sudo apt-get dist-upgrade



Please follow below instructions to use SWE browser.

1 SWE Browser
1.1 CAF
CAF link:
https://www.codeaurora.org/xwiki/bin/Chromium+for+Snapdragon/Build
1.2 To build SWE from GAF
1.2.1 Building Machine Requirements
n Need to have at least 8GB swap space to successfully link the code.
n Need to be connected to the Internet.
1.2.2 Preparing the Machine to build SWE
1. Install Ubuntu 12.04. Select release appropriate to the hardware from
http://releases.ubuntu.com/12.04/
1. Install Git on the machine.
sudo apt-get install git-core
2. Install depot_tools

a. git clone git:// codeaurora.org/quic/chrome4sdp/chromium/
tools/depot_tools.git
b. $ export PATH="$PATH":`pwd`/depot_tools

You may want to add this to your .bashrc file or your shell's
equivalent, so that you don’t need to reset your $PATH manually each
time you open a new shell.
3. Install build dependencies.

a. git clone git:// codeaurora.org/quic/chrome4sdp/chromium/src.git
b. cd src
c. sudo build/install-build-deps.sh
d. sudo build/install-build-deps-android.sh

4. Install Java.
1.2.3 Building the code
1. Select a directory where you desire to make a build. We will call
this directory <swe-root>
2. Create a file named .gclient in <swe-root> directory.
3. Open the file and add the following contents to it.
solutions = [
{ "name" : "src",
"url" :
"git:// codeaurora.org/quic/chrome4sdp/chromium/src.git@refs/remotes/origin/1599-qrd",
"deps_file" : ".DEPS.git",
"managed" : True,
"safesync_url": "",
},
]
target_os = ["android"]
4.备份src,移除备份到另外一个文件夹,然后执行 gclient sync –v –n --no-nag-max(最好手动敲)
5. cd src
6. . build/android/envsetup.sh
7. GYP_DEFINES="$GYP_DEFINES clang=0" gclient runhooks -v
8. ninja –C out/Release swe_system_package
9. Find the built package at:
<swe-root>/src/out/Release/swe_system_package.zip
1.2.4 Integrating the swe_system_package in Android Build with binary
format
1. Remove existing Android Browser if already present in the Android
Build Tree. We will call the root of Android Build <android-build-root>
rm –rf <android-build-root>/packages/apps/Browser
2. Copy the swe_system_package.zip which is created to
<android-build-root>.
3. Extract the swe-system-package as follows:
cd <android-build-root>
unzip swe_system_package.zip –d packages/apps/Browser/
Follow normal Android Build Process to make the build. Browser will be
part of the system image.


This email (including its attachments, if any) may be confidential and proprietary information of ACTION, and intended only for the use of the named recipient(s) above. Any unauthorized use or disclosure of this email is strictly prohibited. If you are not the intended recipient(s), please notify the sender immediately and delete this email from your computer.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值