Built GUI tools for macOS on Travis CI
With this CL, continuous build on Travis CI makes sure that GUI tools
can be built with Qt5 on mac.
BUG=#327
TEST=compile
REF_BUG=
REF_CL=
REF_TIME=2016-11-06T22:39:01-08:00
REF_TIME_RAW=1478500741 -0800
Yohei Yukawa
7 years ago
63 | 63 |
- if [ $TRAVIS_OS_NAME == linux ]; then unset CXX; fi
|
64 | 64 |
- if [ $TARGET_PLATFORM == Mac ]; then git -C src/third_party clone https://chromium.googlesource.com/chromium/tools/depot_tools.git; fi
|
65 | 65 |
- if [ $TARGET_PLATFORM == Mac ]; then export PATH="$PATH":`pwd`/src/third_party/depot_tools; fi
|
|
66 |
- if [ $TARGET_PLATFORM == Mac ]; then brew update && brew install qt5; fi
|
66 | 67 |
- if [ $TARGET_PLATFORM == NaCl ]; then cd src/third_party && curl -LO http://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip && unzip nacl_sdk.zip && rm nacl_sdk.zip && cd nacl_sdk && ./naclsdk install pepper_49 && cd ../../../; fi
|
67 | 68 |
- if [ ${TARGET_PLATFORM:0:7} == Android ]; then jdk_switcher use openjdk7; fi
|
68 | 69 |
- if [ ${TARGET_PLATFORM:0:7} == Android ]; then cd src/third_party && curl -LO http://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip && unzip -q android-ndk-r12b-linux-x86_64.zip && rm android-ndk-r12b-linux-x86_64.zip && curl -L http://dl.google.com/android/android-sdk_r24.1.2-linux.tgz | tar -zx && cd ../../; fi
|
|
83 | 84 |
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py runtests -c Release; fi
|
84 | 85 |
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py gyp --target_platform=NaCl --nacl_sdk_root=`pwd`/third_party/nacl_sdk/pepper_49; fi
|
85 | 86 |
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py build -c Release package; fi
|
86 | |
- if [ $TARGET_PLATFORM == Mac ]; then GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.9" python build_mozc.py gyp --noqt; fi
|
|
87 |
- if [ $TARGET_PLATFORM == Mac ]; then GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.9" python build_mozc.py gyp --qtdir=/usr/local/opt/qt5; fi
|
87 | 88 |
- if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py build -c Release mac/mac.gyp:GoogleJapaneseInput mac/mac.gyp:gen_launchd_confs; fi
|
88 | 89 |
- if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py runtests -c Release; fi
|
89 | 90 |
|
10 | 10 |
|
11 | 11 |
* Xcode
|
12 | 12 |
* [Ninja](https://github.com/ninja-build/ninja)
|
13 | |
* [Qt4](https://download.qt.io/official_releases/qt/4.8/)
|
|
13 |
* [Qt 5](https://download.qt.io/official_releases/qt/)
|
14 | 14 |
|
15 | 15 |
If you don't need to run gui tools like about dialog, config dialog, or dictionary tool, you can omit installing Qt. Candidate window still shows without Qt. See below for the detailed information.
|
16 | 16 |
|
29 | 29 |
|
30 | 30 |
MAJOR=2
|
31 | 31 |
MINOR=19
|
32 | |
BUILD=2661
|
|
32 |
BUILD=2662
|
33 | 33 |
REVISION=102
|
34 | 34 |
# This version represents the version of Mozc IME engine (converter, predictor,
|
35 | 35 |
# etc.). This version info is included both in the Mozc server and in the Mozc
|