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

Side by Side Diff: components/nacl_nonsfi.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: Small clean up for code review. 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 '../build/common_untrusted.gypi', 10 '../build/common_untrusted.gypi',
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 '../content/content_nacl_nonsfi.gyp:content_common_nacl_nonsfi', 171 '../content/content_nacl_nonsfi.gyp:content_common_nacl_nonsfi',
172 '../sandbox/linux/sandbox_linux_nacl_nonsfi.gyp:sandbox_linux_nacl_n onsfi', 172 '../sandbox/linux/sandbox_linux_nacl_nonsfi.gyp:sandbox_linux_nacl_n onsfi',
173 ], 173 ],
174 }, 174 },
175 ], 175 ],
176 }], 176 }],
177 177
178 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test= =1', { 178 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test= =1', {
179 'targets': [ 179 'targets': [
180 { 180 {
181 'target_name': 'nacl_helper_nonsfi_unittests', 181 'target_name': 'nacl_helper_nonsfi_unittests_main',
182 'type': 'none', 182 'type': 'none',
183 'variables': { 183 'variables': {
184 'nacl_untrusted_build': 1, 184 'nacl_untrusted_build': 1,
185 'nexe_target': 'nacl_helper_nonsfi_unittests', 185 'nexe_target': 'nacl_helper_nonsfi_unittests',
186 # Rename the output binary file to nacl_helper_nonsfi_unittests 186 # Rename the output binary file to nacl_helper_nonsfi_unittests
187 # and put it directly under out/{Debug,Release}/, so that this is 187 # and put it directly under out/{Debug,Release}/, so that this is
188 # in the standard location, for running on the buildbots. 188 # in the standard location, for running on the buildbots.
189 'out_newlib32_nonsfi': '<(PRODUCT_DIR)/nacl_helper_nonsfi_unittests' , 189 'out_newlib32_nonsfi': '<(PRODUCT_DIR)/nacl_helper_nonsfi_unittests_ main',
190 'out_newlib_arm_nonsfi': '<(PRODUCT_DIR)/nacl_helper_nonsfi_unitttes ts', 190 'out_newlib_arm_nonsfi': '<(PRODUCT_DIR)/nacl_helper_nonsfi_unitttes ts_main',
191 191
192 'build_glibc': 0, 192 'build_glibc': 0,
193 'build_newlib': 0, 193 'build_newlib': 0,
194 'build_irt': 0, 194 'build_irt': 0,
195 'build_pnacl_newlib': 0, 195 'build_pnacl_newlib': 0,
196 'build_nonsfi_helper': 1, 196 'build_nonsfi_helper': 1,
197 197
198 'sources': [ 198 'sources': [
199 'nacl/loader/nonsfi/nonsfi_sandbox_sigsys_unittest.cc', 199 'nacl/loader/nonsfi/nonsfi_sandbox_sigsys_unittest.cc',
200 'nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc', 200 'nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 }, 259 },
260 ], 260 ],
261 }], 261 }],
262 262
263 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test= =1 and test_isolation_mode!="noop"', { 263 ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test= =1 and test_isolation_mode!="noop"', {
264 'targets': [ 264 'targets': [
265 { 265 {
266 'target_name': 'nacl_helper_nonsfi_unittests_run', 266 'target_name': 'nacl_helper_nonsfi_unittests_run',
267 'type': 'none', 267 'type': 'none',
268 'dependencies': [ 268 'dependencies': [
269 'nacl_helper_nonsfi_unittests', 269 'nacl.gyp:nacl_helper_nonsfi_unittests',
270 ], 270 ],
271 'includes': [ 271 'includes': [
272 '../build/isolate.gypi', 272 '../build/isolate.gypi',
273 ], 273 ],
274 'sources': [ 274 'sources': [
275 'nacl_helper_nonsfi_unittests.isolate', 275 'nacl_helper_nonsfi_unittests.isolate',
276 ], 276 ],
277 }, 277 },
278 ], 278 ],
279 }], 279 }],
280 ], 280 ],
281 } 281 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698