| # Copyright 2010-2015, Google Inc. |
| # All rights reserved. |
| # |
| # Redistribution and use in source and binary forms, with or without |
| # modification, are permitted provided that the following conditions are |
| # met: |
| # |
| # * Redistributions of source code must retain the above copyright |
| # notice, this list of conditions and the following disclaimer. |
| # * Redistributions in binary form must reproduce the above |
| # copyright notice, this list of conditions and the following disclaimer |
| # in the documentation and/or other materials provided with the |
| # distribution. |
| # * Neither the name of Google Inc. nor the names of its |
| # contributors may be used to endorse or promote products derived from |
| # this software without specific prior written permission. |
| # |
| # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| |
| os: |
| - osx |
| |
| language: objective-c |
| |
| install: |
| - git submodule add https://github.com/open-source-parsers/jsoncpp.git src/third_party/jsoncpp |
| - git -C src/third_party/jsoncpp checkout 11086dd6a7eba04289944367ca82cea71299ed70 |
| - git submodule add https://chromium.googlesource.com/external/gmock src/third_party/gmock |
| - git -C src/third_party/gmock checkout 29763965ab52f24565299976b936d1265cb6a271 |
| - git submodule add https://chromium.googlesource.com/external/gtest src/third_party/gtest |
| - git -C src/third_party/gtest checkout 8245545b6dc9c4703e6496d1efd19e975ad2b038 |
| - git submodule add https://chromium.googlesource.com/external/gyp src/third_party/gyp |
| - git -C src/third_party/gyp checkout cdf037c1edc0ba3b5d25f8e3973661efe00980cc |
| - git submodule add https://github.com/google/protobuf.git src/third_party/protobuf |
| - git -C src/third_party/protobuf checkout 172019c40bf548908ab09bfd276074c929d48415 |
| - git submodule add https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git src/third_party/japanese_usage_dictionary |
| - git -C src/third_party/japanese_usage_dictionary checkout e5b3425575734c323e1d947009dd74709437b684 |
| - git submodule add https://github.com/googlei18n/fonttools.git src/third_party/fontTools |
| - git -C src/third_party/fontTools checkout 5ba7d98a4153fad57258fca23b0bcb238717aec3 |
| - git submodule add https://chromium.googlesource.com/chromium/tools/depot_tools.git src/third_party/depot_tools |
| - export PATH="$PATH":`pwd`/src/third_party/depot_tools |
| |
| script: |
| - cd ./src |
| - GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.8" python build_mozc.py gyp --noqt |
| - python build_mozc.py build -c Release mac/mac.gyp:GoogleJapaneseInput mac/mac.gyp:gen_launchd_confs |