This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
- language : dart
1
+ language : cpp
2
2
sudo : required
3
3
before_install :
4
4
- ./travis/before_install.sh
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def to_gn_args(args):
29
29
gn_args = {}
30
30
31
31
gn_args ["is_debug" ] = args .debug
32
- gn_args ["is_clang" ] = args .target_os not in ['android' ]
32
+ gn_args ["is_clang" ] = args .clang and args . target_os not in ['android' ]
33
33
34
34
if args .target_os == 'android' :
35
35
gn_args ["target_os" ] = "android"
@@ -79,6 +79,9 @@ def main():
79
79
parser .add_argument ('--goma' , default = True , action = 'store_true' )
80
80
parser .add_argument ('--no-goma' , dest = 'goma' , action = 'store_false' )
81
81
82
+ parser .add_argument ('--clang' , default = True , action = 'store_true' )
83
+ parser .add_argument ('--no-clang' , dest = 'clang' , action = 'store_false' )
84
+
82
85
args = parser .parse_args ()
83
86
84
87
command = ['gn' , 'gen' , '--check' ]
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ex
3
3
4
+ # Linux Debug
5
+ ./sky/tools/gn --debug --no-clang
6
+ ninja -j 8 -C out/Debug
7
+
4
8
./tools/android/download_android_tools.py
5
9
6
10
# Android Debug
Original file line number Diff line number Diff line change 5
5
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
6
6
export PATH=" $( pwd) /depot_tools:${PATH} "
7
7
8
+ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
9
+ sudo apt-get update -qq
10
+
8
11
# Get dependencies.
9
- sudo apt-get install libdbus-1-dev libgconf2-dev bison gperf wdiff python-openssl libxtst-dev
12
+ sudo apt-get install libdbus-1-dev libgconf2-dev bison gperf wdiff python-openssl libxtst-dev gcc-4.8 g++-4.8
10
13
sudo easy_install pip
11
14
sudo pip install requests
12
15
You can’t perform that action at this time.
0 commit comments