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',
24 'build_pnacl_newlib': 1,
25 'build_nonsfi_helper': 1,
35 # In order to allow regex matches in gtest to be shared between
36 # Windows and other systems, we tell gtest to always use it's
38 'GTEST_HAS_POSIX_RE=0',
40 # gtest isn't able to figure out when RTTI is disabled for gcc
41 # versions older than 4.3.2, and assumes it's enabled. Our Mac
42 # and Linux builds disable RTTI, and cannot guarantee that the
43 # compiler will be 4.3.2. or newer. The Mac, for example, uses
44 # 4.2.1 as that is the latest available on that platform. gtest
45 # must be instructed that RTTI is disabled here, and for any
46 # direct dependents that might include gtest headers.
49 'all_dependent_settings': {
51 'GTEST_HAS_POSIX_RE=0',
58 'direct_dependent_settings': {
64 'gtest/include', # So that gtest headers can find themselves.
69 'target_name': 'gtest_main_nacl',
72 'nlib_target': 'libgtest_main_nacl.a',
76 'build_pnacl_newlib': 1,
77 'build_nonsfi_helper': 1,
83 'gtest/src/gtest_main.cc',
85 'all_dependent_settings': {