This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ before_script:
6
6
- ./travis/setup.sh
7
7
- export PATH=$PWD/depot_tools:$PATH
8
8
- export BOTO_CONFIG=$PWD/boto
9
+ - cd src
9
10
script : ./travis/build.sh
Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ hooks = [
187
187
{
188
188
# This downloads android_tools according to tools/android/VERSION_*.
189
189
'name' : 'android_tools' ,
190
- 'pattern' : '.' ,
190
+ # This pattern limits this hook to working copies that are trying to build for android.
191
+ 'pattern' : 'third_party/freetype-android/src' ,
191
192
'action' : ['python' , 'src/tools/android/download_android_tools.py' ],
192
193
},
193
194
{
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ use_openssl_certs = is_android
26
26
# True if NSS is used for certificate verification. Note that this is
27
27
# independent from use_openssl. It is possible to use OpenSSL for the crypto
28
28
# library, but NSS for the platform certificate library.
29
- use_nss_certs = is_linux
29
+ use_nss_certs = false
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ solutions = [{
5
5
"managed" : False,
6
6
"safesync_url": "",
7
7
}]
8
- target_os = ['android', ' linux']
8
+ target_os = ['linux']
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ex
3
3
4
+ # Create an src/ directory to work with.
5
+ # TODO(alhaad): This is a temporary hack. Find a better way to do this.
6
+ mkdir ../src
7
+ mv * ../src
8
+ mv .??* ../src
9
+ mv ../src .
10
+
4
11
# Get depot_tools.
5
12
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
6
13
export PATH=" $( pwd) /depot_tools:${PATH} "
7
14
15
+ # Get dependencies.
16
+ sudo apt-get install libdbus-1-dev libgconf2-dev bison gperf wdiff python-openssl
17
+ sudo easy_install pip
18
+ sudo pip install requests
19
+
8
20
# Get gsutil
9
21
rm -f gsutil.tar.gz
10
22
wget https://storage.googleapis.com/pub/gsutil.tar.gz
11
23
tar xzf gsutil.tar.gz
12
24
13
- # Get dependencies.
14
- sudo apt-get install libdbus-1-dev
15
- sudo apt-get install libgconf2-dev
16
- sudo apt-get install python-openssl
17
- sudo easy_install pip
18
- sudo pip install requests
25
+ # Setup .gclient file.
26
+ cp src/travis/gclient .gclient
19
27
20
- gclient sync --gclientfile=travis/gclient
28
+ cd src
29
+ gclient sync
You can’t perform that action at this time.
0 commit comments