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

Side by Side Diff: base/base_nacl.gyp

Issue 1154313003: Non-SFI mode: Implement test launcher for nacl_helper_nonsfi_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « base/base.gyp ('k') | base/files/file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 # base.gypi must be included before common_untrusted.gypi. 10 # base.gypi must be included before common_untrusted.gypi.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 'build_newlib': 0, 76 'build_newlib': 0,
77 'build_irt': 0, 77 'build_irt': 0,
78 'build_pnacl_newlib': 0, 78 'build_pnacl_newlib': 0,
79 'build_nonsfi_helper': 1, 79 'build_nonsfi_helper': 1,
80 80
81 'sources': [ 81 'sources': [
82 'base_switches.cc', 82 'base_switches.cc',
83 'base_switches.h', 83 'base_switches.h',
84 84
85 # For PathExists and ReadFromFD. 85 # For PathExists and ReadFromFD.
86 'files/file_util.cc',
86 'files/file_util_posix.cc', 87 'files/file_util_posix.cc',
87 88
88 # For MessageLoopForIO based on libevent. 89 # For MessageLoopForIO based on libevent.
89 'message_loop/message_pump_libevent.cc', 90 'message_loop/message_pump_libevent.cc',
90 'message_loop/message_pump_libevent.h', 91 'message_loop/message_pump_libevent.h',
91 92
92 # For UnixDomainSocket::SendMsg and RecvMsg. 93 # For UnixDomainSocket::SendMsg and RecvMsg.
93 'posix/unix_domain_socket_linux.cc', 94 'posix/unix_domain_socket_linux.cc',
94 95
95 # For GetKnownDeadTerminationStatus and GetTerminationStatus. 96 # For GetKnownDeadTerminationStatus and GetTerminationStatus.
96 'process/kill_posix.cc', 97 'process/kill_posix.cc',
97 98
98 # Unlike libbase_nacl, for Non-SFI build, we need to use 99 # Unlike libbase_nacl, for Non-SFI build, we need to use
99 # rand_util_posix for random implementation, instead of 100 # rand_util_posix for random implementation, instead of
100 # rand_util_nacl.cc, which is based on IRT. rand_util_nacl.cc is 101 # rand_util_nacl.cc, which is based on IRT. rand_util_nacl.cc is
101 # excluded below. 102 # excluded below.
102 'rand_util_posix.cc', 103 'rand_util_posix.cc',
103 104
104 # For CancelableSyncSocket. 105 # For CancelableSyncSocket.
105 'sync_socket_nacl.cc', 106 'sync_socket_nacl.cc',
106 ], 107 ],
107 }, 108 },
108 'sources!': [ 109 'sources!': [
109 'rand_util_nacl.cc', 110 'rand_util_nacl.cc',
110 ], 111 ],
111 'dependencies': [ 112 'dependencies': [
112 '../third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_nonsfi' , 113 '../third_party/libevent/libevent_nacl_nonsfi.gyp:event_nacl_nonsfi' ,
113 ], 114 ],
114 }, 115 },
116 {
117 'target_name': 'test_support_base_nacl_nonsfi',
118 'type': 'none',
119 'variables': {
120 'nacl_untrusted_build': 1,
121 'nlib_target': 'libtest_support_base_nacl_nonsfi.a',
122 'build_glibc': 0,
123 'build_newlib': 0,
124 'build_irt': 0,
125 'build_pnacl_newlib': 0,
126 'build_nonsfi_helper': 1,
127
128 'sources': [
129 'test/gtest_util.cc',
130 'test/launcher/unit_test_launcher_nacl_nonsfi.cc',
131 'test/gtest_xml_unittest_result_printer.cc',
132 'test/test_switches.cc',
133 ],
134 },
135 'dependencies': [
136 'base_nacl_nonsfi',
137 '../testing/gtest_nacl.gyp:gtest_nacl',
138 ],
139 },
115 ], 140 ],
116 }], 141 }],
117 ], 142 ],
118 } 143 }
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/files/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698