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

Side by Side Diff: gypfiles/standalone.gypi

Issue 1848553003: [gn] Move build to gypfiles (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Preserve old state for the dance Created 4 years, 7 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 | « gypfiles/shim_headers.gypi ('k') | gypfiles/toolchain.gypi » ('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 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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 '-w', # http://crbug.com/162783 670 '-w', # http://crbug.com/162783
671 ], 671 ],
672 'OTHER_CFLAGS!': [ 672 'OTHER_CFLAGS!': [
673 '-fomit-frame-pointer', 673 '-fomit-frame-pointer',
674 ], 674 ],
675 'defines': [ 675 'defines': [
676 'ADDRESS_SANITIZER', 676 'ADDRESS_SANITIZER',
677 ], 677 ],
678 }, 678 },
679 'dependencies': [ 679 'dependencies': [
680 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', 680 '<(DEPTH)/gypfiles/mac/asan.gyp:asan_dynamic_runtime',
681 ], 681 ],
682 'target_conditions': [ 682 'target_conditions': [
683 ['_type!="static_library"', { 683 ['_type!="static_library"', {
684 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=address']}, 684 'xcode_settings': {'OTHER_LDFLAGS': ['-fsanitize=address']},
685 }], 685 }],
686 ], 686 ],
687 }], 687 }],
688 ['sanitizer_coverage!=0', { 688 ['sanitizer_coverage!=0', {
689 'target_conditions': [ 689 'target_conditions': [
690 ['_toolset=="target"', { 690 ['_toolset=="target"', {
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 ], 1320 ],
1321 }], 1321 }],
1322 # TODO(yyanagisawa): supports GENERATOR==make 1322 # TODO(yyanagisawa): supports GENERATOR==make
1323 # make generator doesn't support CC_wrapper without CC 1323 # make generator doesn't support CC_wrapper without CC
1324 # in make_global_settings yet. 1324 # in make_global_settings yet.
1325 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1325 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
1326 'conditions': [ 1326 'conditions': [
1327 ['coverage==1', { 1327 ['coverage==1', {
1328 # Wrap goma with coverage wrapper. 1328 # Wrap goma with coverage wrapper.
1329 'make_global_settings': [ 1329 'make_global_settings': [
1330 ['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gom acc'], 1330 ['CC_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir)/ gomacc'],
1331 ['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/go macc'], 1331 ['CXX_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir) /gomacc'],
1332 ['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir )/gomacc'], 1332 ['CC.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(goma dir)/gomacc'],
1333 ['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadi r)/gomacc'], 1333 ['CXX.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gom adir)/gomacc'],
1334 ], 1334 ],
1335 }, { 1335 }, {
1336 # Use only goma wrapper. 1336 # Use only goma wrapper.
1337 'make_global_settings': [ 1337 'make_global_settings': [
1338 ['CC_wrapper', '<(gomadir)/gomacc'], 1338 ['CC_wrapper', '<(gomadir)/gomacc'],
1339 ['CXX_wrapper', '<(gomadir)/gomacc'], 1339 ['CXX_wrapper', '<(gomadir)/gomacc'],
1340 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1340 ['CC.host_wrapper', '<(gomadir)/gomacc'],
1341 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1341 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
1342 ], 1342 ],
1343 }], 1343 }],
1344 ], 1344 ],
1345 }, { 1345 }, {
1346 'conditions': [ 1346 'conditions': [
1347 ['coverage==1', { 1347 ['coverage==1', {
1348 # Use only coverage wrapper. 1348 # Use only coverage wrapper.
1349 'make_global_settings': [ 1349 'make_global_settings': [
1350 ['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py'], 1350 ['CC_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
1351 ['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py'], 1351 ['CXX_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
1352 ['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'], 1352 ['CC.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
1353 ['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'], 1353 ['CXX.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
1354 ], 1354 ],
1355 }], 1355 }],
1356 ], 1356 ],
1357 }], 1357 }],
1358 ['use_lto==1', { 1358 ['use_lto==1', {
1359 'target_defaults': { 1359 'target_defaults': {
1360 'target_conditions': [ 1360 'target_conditions': [
1361 ['_toolset=="target"', { 1361 ['_toolset=="target"', {
1362 'cflags': [ 1362 'cflags': [
1363 '-flto', 1363 '-flto',
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 '-fsanitize=cfi-vcall', 1452 '-fsanitize=cfi-vcall',
1453 '-fsanitize=cfi-derived-cast', 1453 '-fsanitize=cfi-derived-cast',
1454 '-fsanitize=cfi-unrelated-cast', 1454 '-fsanitize=cfi-unrelated-cast',
1455 ], 1455 ],
1456 }], 1456 }],
1457 ], 1457 ],
1458 }, 1458 },
1459 }], 1459 }],
1460 ], 1460 ],
1461 } 1461 }
OLDNEW
« no previous file with comments | « gypfiles/shim_headers.gypi ('k') | gypfiles/toolchain.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698