Skip to content

Commit 5f14838

Browse files
committed
fix MD
1 parent ba8f5f7 commit 5f14838

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

README-CN.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
###欢迎在GitHub或者掘金上关注我
1+
### 欢迎在GitHub或者掘金上关注我
22

33
GitHub: https://github.com/JackyAndroid
44

55
掘金: https://gold.xitu.io/user/562dc7cc60b20fc9817962a2
66

77
---
88

9-
#AndroidChromium
9+
# AndroidChromium
1010
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/app/src/main/res/mipmap-xhdpi/app_icon.png)
1111

12-
###简介
12+
### 简介
1313
* 谷歌浏览器安卓版源码项目
1414
* 本项目是世界级的安卓架构
1515
* 理清本项目业务逻辑完全可以胜任国内一线公司工程师
@@ -18,34 +18,34 @@ GitHub: https://github.com/JackyAndroid
1818
###注意事项
1919
如果使用的是AndroidStudio 2.0以上版本且开启instant run功能,建议关闭后再进行调试(instant run会修改首先启动的Application导致chrome provider context 引用错误导致crash)
2020

21-
###效果图
21+
### 效果图
2222
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot1.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot2.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot3.jpg)
2323

2424
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot4.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot5.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot6.png)
2525

26-
###以下为升级Chromium内核步骤
26+
### 以下为升级Chromium内核步骤
2727
---
2828

29-
###准备
29+
### 准备
3030

3131
参考[官方](https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md)及其他教程编译通过chromium源码,并能生成chrome.apk
3232

33-
###目的
33+
### 目的
3434

3535
使用AndroidStudio开发环境调试Chromium Android UI层。
3636

37-
###构建思路
37+
### 构建思路
3838

3939
1. 采用Android Studio作为开发环境,从Chromium for Android抽取chrome模块的源码,加入Android project。
4040
2. native代码在chromium环境中build,作为so加入Android project
4141
3. 基础模块(base, content, net等)在chromium环境build为jar包,加入Android project
4242
4. content, chrome, ui等模块的资源文件加入Android library project
4343

44-
###资源文件为什么不能直接都添加到Android project呢?
44+
### 资源文件为什么不能直接都添加到Android project呢?
4545

4646
因为命名空间的原因,比如content模块的资源的命名空间为org.chromium.content, chrome模块的资源的命名空间为 org.chromium.chrome,所以需要建立不同的Android library project, 指定不同的包名。
4747

48-
###本项目和源码目录对应关系
48+
### 本项目和源码目录对应关系
4949

5050
app/libs ----------- chromium/src/out/gnbuild/lib.java
5151

@@ -69,18 +69,18 @@ libraries/datausagechart_res --------- chromium/src/third_party/android_data_cha
6969

7070
libraries/ui_res ---------- chromium/src/ui/android/java/res
7171

72-
###内核升级注意事项
72+
### 内核升级注意事项
7373

7474
2. pak和dat等文件需要加入到assets目录,而且不能压缩
7575
3. aidl文件加入到main/aidl下
7676
4. 目前构建的chromium版本是55.0.2883.99
7777
6. 因为某些java文件是通过C文件编译生成,只存在chromium/src/out 目录下或存在于out下jar包中。如果按以上对应关系升级版本缺失文件,请到out/目录下去搜索,根据命名空间添加相应文件。还有一些临时生成的xml资源文件也需要从out/目录下去拷贝到相应的资源模块。
7878

79-
###感谢
79+
### 感谢
8080

8181
本项目灵感来自于365browser
8282

83-
###License
83+
### License
8484

8585
Copyright 2016 Jacky Wang<jacky.android@foxmail.com>
8686

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
###Welcome to follow me on GitHub or Gold
1+
### Welcome to follow me on GitHub or Gold
22

33
GitHub: https://github.com/JackyAndroid
44

@@ -11,43 +11,43 @@ Gold: https://gold.xitu.io/user/562dc7cc60b20fc9817962a2
1111
#AndroidChromium
1212
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/app/src/main/res/mipmap-xhdpi/app_icon.png)
1313

14-
###Brief Introduction
14+
### Brief Introduction
1515
* Google browser android version of the source program
1616
* This project is a world-class android architecture
1717
* Clarify the project business logic can completely fit for domestic company engineer
1818
* This project will follow up and update Google browser kernel version for a long time, welcome to the star
1919

20-
###Notice
20+
### Notice
2121
If you are using AndroidStudio above 2.0 version and open instant run function, suggested to debug after closing (instant run will modify on the Application of the result in chrome provider context reference error)
2222

23-
###Screenshots
23+
### Screenshots
2424
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot1.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot2.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot3.jpg)
2525

2626
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot4.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot5.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/screenshot6.png)
2727

28-
###The upgrade Chromium kernel steps are as follows
28+
### The upgrade Chromium kernel steps are as follows
2929
---
3030

31-
###Preparation
31+
### Preparation
3232

3333
Refer to [official](https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md) and other tutorial compile chromium source code, and can generate chrome apk
3434

35-
###purpose
35+
### purpose
3636

3737
Using AndroidStudio debugging Chromium Android
3838

39-
###The build process
39+
### The build process
4040

4141
1. Android Studio as a development environment, from Chromium for Android from chrome module source code, to join the Android project.
4242
2. Native code in the chromium environment to build, as so file to join the Android project
4343
3. Basic module (base, the content, net, etc.) in the chromium environment to build into a jar package, then add to the Android project
4444
4. content, chrome, UI modules such as resource file to join an Android library project
4545

46-
###Why can't a resource file are directly added to the Android project?
46+
### Why can't a resource file are directly added to the Android project?
4747

4848
Because namespace problems, such as the content of the module resources namespace is org.chromium.content,the chrome module namespace is org.chromium.chrome, so need to build different Android library project, specify different package name.
4949

50-
###Directory corresponding relation
50+
### Directory corresponding relation
5151

5252
app/libs ----------- chromium/src/out/gnbuild/lib.java
5353

@@ -71,18 +71,18 @@ libraries/datausagechart_res --------- chromium/src/third_party/android_data_cha
7171

7272
libraries/ui_res ---------- chromium/src/ui/android/java/res
7373

74-
###The kernel upgrade matters needing attention
74+
### The kernel upgrade matters needing attention
7575

7676
1. Pak and dat files need to be added to the assets directory, and cannot be compressed
7777
2. Aidl files added to the main/aidl
7878
3. The current build chromium version is 55.0.2883.99
7979
4. Because some Java file is through the C compiler generated, there is the chromium/src/out directory or exist in the jars.If according to corresponding relation between the above updated version missing files, please go to the out/directory search, add corresponding files according to the namespace.There are some temporary generated XML resource file also need the out/directory on copy to the corresponding resource module.
8080

81-
###Thanks
81+
### Thanks
8282

8383
The project is inspiration from the 365 browser
8484

85-
###License
85+
### License
8686

8787
Copyright 2016 Jacky Wang<jacky.android@foxmail.com>
8888

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Dec 21 10:48:34 CST 2016
1+
#Mon Mar 06 11:36:18 CST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

0 commit comments

Comments
 (0)