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

Side by Side Diff: build/standalone.gypi

Issue 1730543002: [coverage] Filter some files from instrumentation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Surrender Created 4 years, 10 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 | « build/coverage_wrapper.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 ['CC', '<!(which arm-linux-gnueabihf-gcc)'], 1255 ['CC', '<!(which arm-linux-gnueabihf-gcc)'],
1256 ['CXX', '<!(which arm-linux-gnueabihf-g++)'], 1256 ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
1257 ['CC.host', '<(host_cc)'], 1257 ['CC.host', '<(host_cc)'],
1258 ['CXX.host', '<(host_cxx)'], 1258 ['CXX.host', '<(host_cxx)'],
1259 ], 1259 ],
1260 }], 1260 }],
1261 # TODO(yyanagisawa): supports GENERATOR==make 1261 # TODO(yyanagisawa): supports GENERATOR==make
1262 # make generator doesn't support CC_wrapper without CC 1262 # make generator doesn't support CC_wrapper without CC
1263 # in make_global_settings yet. 1263 # in make_global_settings yet.
1264 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1264 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
1265 'make_global_settings': [ 1265 'conditions': [
1266 ['CC_wrapper', '<(gomadir)/gomacc'], 1266 ['coverage==1', {
1267 ['CXX_wrapper', '<(gomadir)/gomacc'], 1267 # Wrap goma with coverage wrapper.
1268 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1268 'make_global_settings': [
1269 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1269 ['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gom acc'],
1270 ['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/go macc'],
1271 ['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir )/gomacc'],
1272 ['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadi r)/gomacc'],
1273 ],
1274 }, {
1275 # Use only goma wrapper.
1276 'make_global_settings': [
1277 ['CC_wrapper', '<(gomadir)/gomacc'],
1278 ['CXX_wrapper', '<(gomadir)/gomacc'],
1279 ['CC.host_wrapper', '<(gomadir)/gomacc'],
1280 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
1281 ],
1282 }],
1283 ],
1284 }, {
1285 'conditions': [
1286 ['coverage==1', {
1287 # Use only coverage wrapper.
1288 'make_global_settings': [
1289 ['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py'],
1290 ['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py'],
1291 ['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'],
1292 ['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'],
1293 ],
1294 }],
1270 ], 1295 ],
1271 }], 1296 }],
1272 ['use_lto==1', { 1297 ['use_lto==1', {
1273 'target_defaults': { 1298 'target_defaults': {
1274 'target_conditions': [ 1299 'target_conditions': [
1275 ['_toolset=="target"', { 1300 ['_toolset=="target"', {
1276 'cflags': [ 1301 'cflags': [
1277 '-flto', 1302 '-flto',
1278 ], 1303 ],
1279 }], 1304 }],
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 '-fsanitize=cfi-vcall', 1391 '-fsanitize=cfi-vcall',
1367 '-fsanitize=cfi-derived-cast', 1392 '-fsanitize=cfi-derived-cast',
1368 '-fsanitize=cfi-unrelated-cast', 1393 '-fsanitize=cfi-unrelated-cast',
1369 ], 1394 ],
1370 }], 1395 }],
1371 ], 1396 ],
1372 }, 1397 },
1373 }], 1398 }],
1374 ], 1399 ],
1375 } 1400 }
OLDNEW
« no previous file with comments | « build/coverage_wrapper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698