Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: testing/gtest_nacl.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « testing/gtest.gypi ('k') | testing/iossim/iossim.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'includes': [
10 '../build/common_untrusted.gypi',
11 'gtest.gypi',
12 ],
13 'conditions': [
14 ['disable_nacl==0 and disable_nacl_untrusted==0', {
15 'targets': [
16 {
17 'target_name': 'gtest_nacl',
18 'type': 'none',
19 'variables': {
20 'nlib_target': 'libgtest_nacl.a',
21 'build_glibc': 0,
22 'build_newlib': 0,
23 'build_irt': 0,
24 'build_pnacl_newlib': 1,
25 'build_nonsfi_helper': 1,
26 },
27 'sources': [
28 '<@(gtest_sources)',
29 ],
30 'include_dirs': [
31 'gtest',
32 'gtest/include',
33 ],
34 'defines': [
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
37 # internal engine.
38 'GTEST_HAS_POSIX_RE=0',
39 ],
40 'all_dependent_settings': {
41 'defines': [
42 'GTEST_HAS_POSIX_RE=0',
43 ],
44 'link_flags': [
45 '-lgtest_nacl',
46 ],
47 },
48 'direct_dependent_settings': {
49 'defines': [
50 'UNIT_TEST',
51 ],
52 'include_dirs': [
53 'gtest/include', # So that gtest headers can find themselves.
54 ],
55 },
56 },
57 {
58 'target_name': 'gtest_main_nacl',
59 'type': 'none',
60 'variables': {
61 'nlib_target': 'libgtest_main_nacl.a',
62 'build_glibc': 0,
63 'build_newlib': 0,
64 'build_irt': 0,
65 'build_pnacl_newlib': 1,
66 'build_nonsfi_helper': 1,
67 },
68 'dependencies': [
69 'gtest_nacl',
70 ],
71 'sources': [
72 'gtest/src/gtest_main.cc',
73 ],
74 'all_dependent_settings': {
75 'link_flags': [
76 '-lgtest_main_nacl',
77 ],
78 },
79 },
80 ],
81 }],
82 ],
83 }
OLDNEW
« no previous file with comments | « testing/gtest.gypi ('k') | testing/iossim/iossim.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698