Skip to content

Commit 2f554ac

Browse files
committed
Update README
1 parent f8e8eb9 commit 2f554ac

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README-CN.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CSDN: http://blog.csdn.net/rain_butterfly
2323

2424
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-172403.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-172456.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-173225.jpg)
2525

26-
###以下为升级chrome内核详解,非相关人员可以忽略
26+
###以下为升级Chromium内核步骤
2727
---
2828

2929
###准备
@@ -47,21 +47,21 @@ CSDN: http://blog.csdn.net/rain_butterfly
4747

4848
###本项目和源码目录对应关系
4949

50-
app/libs ----------- chromium/src/out/Release/lib.java
50+
app/libs ----------- chromium/src/out/gnbuild/lib.java
5151

5252
app/src/main/aidl ----------- chromium/src/chrome/android/java/src/android/support/customtabs/*.aidl
5353

54-
app/src/main/assets ----------- chromium/src/out/Release/assets/chrome_public_apk
54+
app/src/main/assets ----------- chromium/src/out/gnbuild/
5555

5656
app/src/main/java ------------ chromium/src/chrome/android/java/src
5757

58-
app/src/main/jniLibs ----------- chromium/src/out/Release/chrome_public_apk/libs
58+
app/src/main/jniLibs ----------- chromium/src/out/gnbuild/
5959

6060
app/src/main/res(app module 初始化资源)
6161

6262
libraries/androidmedia_res ----------- chromium/src/third_party/android_media/java/res
6363

64-
libraries/chrome_res ----------- chromium/src/chrome/android/java/res & chromium/src/chrome/android/java/res_chromium
64+
libraries/chrome_res ----------- chromium/src/chrome/android/java/res && chromium/src/chrome/android/java/res_chromium
6565

6666
libraries/content_res ----------- chromium/src/content/public/android/java/res
6767

@@ -72,9 +72,9 @@ libraries/ui_res ---------- chromium/src/ui/android/java/res
7272
###内核升级注意事项
7373

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

7979
###感谢
8080

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you are using AndroidStudio above 2.0 version and open instant run function,
2525

2626
![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-172403.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-172456.jpg) ![](https://github.com/JackyAndroid/AndroidChromium/blob/master/screenshots/S60709-173225.jpg)
2727

28-
###The following to upgrade the chrome kernel explanation, not relevant personnel can be ignored
28+
###The upgrade Chromium kernel steps are as follows
2929
---
3030

3131
###Preparation
@@ -49,15 +49,15 @@ Because namespace problems, such as the content of the module resources namespac
4949

5050
###Directory corresponding relation
5151

52-
app/libs ----------- chromium/src/out/Release/lib.java
52+
app/libs ----------- chromium/src/out/gnbuild/lib.java
5353

5454
app/src/main/aidl ----------- chromium/src/chrome/android/java/src/android/support/customtabs/*.aidl
5555

56-
app/src/main/assets ----------- chromium/src/out/Release/assets/chrome_public_apk
56+
app/src/main/assets ----------- chromium/src/out/gnbuild/
5757

5858
app/src/main/java ------------ chromium/src/chrome/android/java/src
5959

60-
app/src/main/jniLibs ----------- chromium/src/out/Release/chrome_public_apk/libs
60+
app/src/main/jniLibs ----------- chromium/src/out/gnbuild/
6161

6262
app/src/main/res(app module init res)
6363

@@ -75,8 +75,8 @@ libraries/ui_res ---------- chromium/src/ui/android/java/res
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
78-
3. The current build chromium version is 48.0.2554.0, the kernel is the official version
79-
4. Because some Java file is through the C compiler generated, there is only the chromium/SRC/out directory.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.
78+
3. The current build chromium version is 55.0.2883.99
79+
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

8181
###Thanks
8282

0 commit comments

Comments
 (0)