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

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: 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 ], 355 ],
356 'android_libcpp_library': 'c++_static', 356 'android_libcpp_library': 'c++_static',
357 }], # OS=="android" 357 }], # OS=="android"
358 ['host_clang==1', { 358 ['host_clang==1', {
359 'host_cc': '<(clang_dir)/bin/clang', 359 'host_cc': '<(clang_dir)/bin/clang',
360 'host_cxx': '<(clang_dir)/bin/clang++', 360 'host_cxx': '<(clang_dir)/bin/clang++',
361 }, { 361 }, {
362 'host_cc': '<!(which gcc)', 362 'host_cc': '<!(which gcc)',
363 'host_cxx': '<!(which g++)', 363 'host_cxx': '<!(which g++)',
364 }], 364 }],
365 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
Michael Achenbach 2016/02/23 15:51:01 Unfortunately gyp doesn't support clever chaining
366 'conditions': [
367 ['coverage==1', {
368 'cc_wrapper': '<(base_dir)/build/coverage_wrapper.py <(gomadir)/goma cc',
369 }, {
370 'cc_wrapper': '<(gomadir)/gomacc',
371 }],
372 ],
373 }, {
374 'conditions': [
375 ['coverage==1', {
376 'cc_wrapper': '<(base_dir)/build/coverage_wrapper.py',
377 }, {
378 'cc_wrapper': 0,
379 }],
380 ],
381 }],
365 ], 382 ],
366 # Default ARM variable settings. 383 # Default ARM variable settings.
367 'arm_version%': 'default', 384 'arm_version%': 'default',
368 'arm_fpu%': 'vfpv3', 385 'arm_fpu%': 'vfpv3',
369 'arm_float_abi%': 'default', 386 'arm_float_abi%': 'default',
370 'arm_thumb': 'default', 387 'arm_thumb': 'default',
371 388
372 # Default MIPS variable settings. 389 # Default MIPS variable settings.
373 'mips_arch_variant%': 'r2', 390 'mips_arch_variant%': 'r2',
374 # Possible values fp32, fp64, fpxx. 391 # Possible values fp32, fp64, fpxx.
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 'make_global_settings': [ 1271 'make_global_settings': [
1255 ['CC', '<!(which arm-linux-gnueabihf-gcc)'], 1272 ['CC', '<!(which arm-linux-gnueabihf-gcc)'],
1256 ['CXX', '<!(which arm-linux-gnueabihf-g++)'], 1273 ['CXX', '<!(which arm-linux-gnueabihf-g++)'],
1257 ['CC.host', '<(host_cc)'], 1274 ['CC.host', '<(host_cc)'],
1258 ['CXX.host', '<(host_cxx)'], 1275 ['CXX.host', '<(host_cxx)'],
1259 ], 1276 ],
1260 }], 1277 }],
1261 # TODO(yyanagisawa): supports GENERATOR==make 1278 # TODO(yyanagisawa): supports GENERATOR==make
1262 # make generator doesn't support CC_wrapper without CC 1279 # make generator doesn't support CC_wrapper without CC
1263 # in make_global_settings yet. 1280 # in make_global_settings yet.
1264 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1281 ['cc_wrapper!=0', {
1265 'make_global_settings': [ 1282 'make_global_settings': [
1266 ['CC_wrapper', '<(gomadir)/gomacc'], 1283 ['CC_wrapper', '<(cc_wrapper)'],
1267 ['CXX_wrapper', '<(gomadir)/gomacc'], 1284 ['CXX_wrapper', '<(cc_wrapper)'],
1268 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1285 ['CC.host_wrapper', '<(cc_wrapper)'],
1269 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1286 ['CXX.host_wrapper', '<(cc_wrapper)'],
1270 ], 1287 ],
1271 }], 1288 }],
1272 ['use_lto==1', { 1289 ['use_lto==1', {
1273 'target_defaults': { 1290 'target_defaults': {
1274 'target_conditions': [ 1291 'target_conditions': [
1275 ['_toolset=="target"', { 1292 ['_toolset=="target"', {
1276 'cflags': [ 1293 'cflags': [
1277 '-flto', 1294 '-flto',
1278 ], 1295 ],
1279 }], 1296 }],
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 '-fsanitize=cfi-vcall', 1383 '-fsanitize=cfi-vcall',
1367 '-fsanitize=cfi-derived-cast', 1384 '-fsanitize=cfi-derived-cast',
1368 '-fsanitize=cfi-unrelated-cast', 1385 '-fsanitize=cfi-unrelated-cast',
1369 ], 1386 ],
1370 }], 1387 }],
1371 ], 1388 ],
1372 }, 1389 },
1373 }], 1390 }],
1374 ], 1391 ],
1375 } 1392 }
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