This repository has been archived by the owner on Jan 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 437
/
update.sh
executable file
·59 lines (47 loc) · 2.54 KB
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Updates this project with the Chrome build files.
# This script assumes the Chrome build VM is up at crbuild.local
# Clean up.
rm -r assets/*
rm -r libs/*
rm -r src/com/googlecode
rm -r src/org/chromium
# ContentShell core -- use this if android_webview doesn't work out.
#scp [email protected]:chromium/src/out/Release/content_shell/assets/* \
# assets/
#scp -r [email protected]:chromium/src/out/Release/content_shell_apk/libs/* \
# libs
#scp -r [email protected]:chromium/src/content/shell/android/java/res/* res
#scp -r [email protected]:chromium/src/content/shell/android/java/src/* src
#scp -r [email protected]:chromium/src/content/shell_apk/android/java/res/* res
# android_webview
scp [email protected]:chromium/src/out/Release/android_webview_apk/assets/*.pak \
assets
scp -r [email protected]:chromium/src/out/Release/android_webview_apk/libs/* \
libs
rm libs/**/gdbserver
scp -r [email protected]:chromium/src/android_webview/java/src/* src/
## Dependencies inferred from android_webview/Android.mk
# Resources.
scp -r [email protected]:chromium/src/content/public/android/java/resource_map/* src/
scp -r [email protected]:chromium/src/ui/android/java/resource_map/* src/
# ContentView dependencies.
scp -r [email protected]:chromium/src/base/android/java/src/* src/
scp -r [email protected]:chromium/src/content/public/android/java/src/* src/
scp -r [email protected]:chromium/src/media/base/android/java/src/* src/
scp -r [email protected]:chromium/src/net/android/java/src/* src/
scp -r [email protected]:chromium/src/ui/android/java/src/* src/
scp -r [email protected]:chromium/src/third_party/eyesfree/src/android/java/src/* src/
# Strip a ContentView file that's not supposed to be here.
rm src/org/chromium/content/common/common.aidl
# Get rid of the .svn directory in eyesfree.
rm -r src/com/googlecode/eyesfree/braille/.svn
# Browser components.
scp -r [email protected]:chromium/src/components/web_contents_delegate_android/android/java/src/* src/
scp -r [email protected]:chromium/src/components/navigation_interception/android/java/src/* src/
# Generated files.
scp -r [email protected]:chromium/src/out/Release/gen/templates/* src/
# JARs.
scp -r [email protected]:chromium/src/out/Release/lib.java/guava_javalib.jar libs/
scp -r [email protected]:chromium/src/out/Release/lib.java/jsr_305_javalib.jar libs/
# android_webview generated sources. Must come after all the other sources.
scp -r [email protected]:chromium/src/android_webview/java/generated_src/* src/