Codebase list mozc / debian/2.26.4220.100+dfsg-3 src / gyp / tests.gyp
debian/2.26.4220.100+dfsg-3

Tree @debian/2.26.4220.100+dfsg-3 (Download .tar.gz)

tests.gyp @debian/2.26.4220.100+dfsg-3raw · history · blame

# Copyright 2010-2020, 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.

{
  'targets': [
    {
      'target_name': 'unittests',
      'type': 'none',
      'dependencies': [
        '../base/base_test.gyp:base_all_test',
        '../client/client_test.gyp:client_all_test',
        '../config/config_test.gyp:config_all_test',
        '../composer/composer_test.gyp:composer_all_test',
        '../converter/converter_test.gyp:converter_all_test',
        '../dictionary/dictionary_test.gyp:dictionary_all_test',
        '../dictionary/file/dictionary_file_test.gyp:dictionary_file_all_test',
        '../dictionary/system/system_dictionary_test.gyp:system_dictionary_all_test',
        '../engine/engine_test.gyp:engine_all_test',
        '../gui/gui.gyp:gui_all_test',
        '../ipc/ipc.gyp:ipc_all_test',
        '../net/net_test.gyp:net_all_test',
        '../prediction/prediction_test.gyp:prediction_all_test',
        '../renderer/renderer.gyp:renderer_all_test',
        '../rewriter/rewriter_test.gyp:rewriter_all_test',
        # Currently 'server_all_test' does not exist.
        # '../server/server.gyp:server_all_test',
        '../session/session_test.gyp:session_all_test',
        '../storage/louds/louds_test.gyp:storage_louds_all_test',
        '../storage/storage_test.gyp:storage_all_test',
        '../transliteration/transliteration_test.gyp:transliteration_all_test',
        '../usage_stats/usage_stats_test.gyp:usage_stats_all_test',
      ],
      'conditions': [
        ['target_platform=="Windows"', {
          'dependencies': [
            '../win32/base/win32_base.gyp:win32_base_all_test',
            '../win32/ime/ime.gyp:ime_all_test',
            '../win32/tip/tip.gyp:tip_all_test',
          ],
        }],
        ['target_platform=="Mac"', {
          'dependencies': [
            '../mac/mac.gyp:mac_all_test',
          ],
        }],
        ['target_platform=="iOS"', {
          'dependencies!': [
            '../client/client_test.gyp:client_all_test',
            '../gui/gui.gyp:gui_all_test',
            '../ipc/ipc.gyp:ipc_all_test',
            '../renderer/renderer.gyp:renderer_all_test',
          ],
        }],
        ['target_platform=="Linux"', {
          'dependencies': [
            '../unix/emacs/emacs.gyp:emacs_all_test',
          ],
        }],
        ['target_platform=="Linux" and use_libibus==1', {
          'dependencies': [
            '../unix/ibus/ibus.gyp:ibus_all_test',
          ],
        }],
      ],
    },
  ],
}