1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 '../build/common_untrusted.gypi',
14 ['disable_nacl==0 and disable_nacl_untrusted==0', {
17 'target_name': 'gtest_nacl',
20 'nlib_target': 'libgtest_nacl.a',
23 'build_pnacl_newlib': 0,
33 # In order to allow regex matches in gtest to be shared between
34 # Windows and other systems, we tell gtest to always use it's
36 'GTEST_HAS_POSIX_RE=0',
38 # gtest isn't able to figure out when RTTI is disabled for gcc
39 # versions older than 4.3.2, and assumes it's enabled. Our Mac
40 # and Linux builds disable RTTI, and cannot guarantee that the
41 # compiler will be 4.3.2. or newer. The Mac, for example, uses
42 # 4.2.1 as that is the latest available on that platform. gtest
43 # must be instructed that RTTI is disabled here, and for any
44 # direct dependents that might include gtest headers.
47 'all_dependent_settings': {
49 'GTEST_HAS_POSIX_RE=0',
56 'direct_dependent_settings': {
62 'gtest/include', # So that gtest headers can find themselves.
67 'target_name': 'gtest_main_nacl',
70 'nlib_target': 'libgtest_main_nacl.a',
73 'build_pnacl_newlib': 0,
79 'gtest/src/gtest_main.cc',
81 'all_dependent_settings': {