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

Side by Side Diff: build/standalone.gypi

Issue 988893003: Implement tracing interface for v8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years 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
« BUILD.gn ('K') | « DEPS ('k') | include/v8-platform.h » ('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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 'target_defaults': { 668 'target_defaults': {
669 'cflags': [ 669 'cflags': [
670 '-Wall', 670 '-Wall',
671 '<(werror)', 671 '<(werror)',
672 '-Wno-unused-parameter', 672 '-Wno-unused-parameter',
673 '-Wno-long-long', 673 '-Wno-long-long',
674 '-pthread', 674 '-pthread',
675 '-pedantic', 675 '-pedantic',
676 # Don't warn about the "struct foo f = {0};" initialization pattern. 676 # Don't warn about the "struct foo f = {0};" initialization pattern.
677 '-Wno-missing-field-initializers', 677 '-Wno-missing-field-initializers',
678 '-Wno-gnu-zero-variadic-macro-arguments',
678 ], 679 ],
679 'cflags_cc': [ 680 'cflags_cc': [
680 '-Wnon-virtual-dtor', 681 '-Wnon-virtual-dtor',
681 '-fno-exceptions', 682 '-fno-exceptions',
682 '-fno-rtti', 683 '-fno-rtti',
683 '-std=gnu++0x', 684 '-std=gnu++0x',
684 ], 685 ],
685 'ldflags': [ '-pthread', ], 686 'ldflags': [ '-pthread', ],
686 'conditions': [ 687 'conditions': [
688 # Don't warn about TRACE_EVENT_* macros with zero arguments passed to
689 # ##__VA_ARGS__. C99 strict mode prohibits having zero variadic macro
690 # arguments in gcc.
691 [ 'clang==0', {
692 'cflags!' : [
693 '-pedantic' ,
694 # Don't warn about unrecognized command line option.
695 '-Wno-gnu-zero-variadic-macro-arguments',
696 ],
697 }],
687 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \ 698 [ 'clang==1 and (v8_target_arch=="x64" or v8_target_arch=="arm64" \
688 or v8_target_arch=="mips64el")', { 699 or v8_target_arch=="mips64el")', {
689 'cflags': [ '-Wshorten-64-to-32' ], 700 'cflags': [ '-Wshorten-64-to-32' ],
690 }], 701 }],
691 [ 'host_arch=="ppc64" and OS!="aix"', { 702 [ 'host_arch=="ppc64" and OS!="aix"', {
692 'cflags': [ '-mminimal-toc' ], 703 'cflags': [ '-mminimal-toc' ],
693 }], 704 }],
694 [ 'visibility=="hidden" and v8_enable_backtrace==0', { 705 [ 'visibility=="hidden" and v8_enable_backtrace==0', {
695 'cflags': [ '-fvisibility=hidden' ], 706 'cflags': [ '-fvisibility=hidden' ],
696 }], 707 }],
697 [ 'component=="shared_library"', { 708 [ 'component=="shared_library"', {
698 'cflags': [ '-fPIC', ], 709 'cflags': [ '-fPIC', ],
699 }], 710 }],
700 ], 711 ],
701 }, 712 },
702 }], 713 }],
703 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" 714 # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
704 # or OS=="netbsd"' 715 # or OS=="netbsd"'
705 ['OS=="qnx"', { 716 ['OS=="qnx"', {
706 'target_defaults': { 717 'target_defaults': {
707 'cflags': [ 718 'cflags': [
708 '-Wall', 719 '-Wall',
709 '<(werror)', 720 '<(werror)',
710 '-Wno-unused-parameter', 721 '-Wno-unused-parameter',
711 # Don't warn about the "struct foo f = {0};" initialization pattern. 722 # Don't warn about the "struct foo f = {0};" initialization pattern.
712 '-Wno-missing-field-initializers', 723 '-Wno-missing-field-initializers',
724 '-Wno-gnu-zero-variadic-macro-arguments',
713 ], 725 ],
714 'cflags_cc': [ 726 'cflags_cc': [
715 '-Wnon-virtual-dtor', 727 '-Wnon-virtual-dtor',
716 '-fno-exceptions', 728 '-fno-exceptions',
717 '-fno-rtti', 729 '-fno-rtti',
718 '-std=gnu++0x', 730 '-std=gnu++0x',
719 ], 731 ],
720 'conditions': [ 732 'conditions': [
721 [ 'visibility=="hidden"', { 733 [ 'visibility=="hidden"', {
722 'cflags': [ '-fvisibility=hidden' ], 734 'cflags': [ '-fvisibility=hidden' ],
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 'USE_HEADERMAP': 'NO', 939 'USE_HEADERMAP': 'NO',
928 'OTHER_CFLAGS': [ 940 'OTHER_CFLAGS': [
929 '-fno-strict-aliasing', 941 '-fno-strict-aliasing',
930 ], 942 ],
931 'WARNING_CFLAGS': [ 943 'WARNING_CFLAGS': [
932 '-Wall', 944 '-Wall',
933 '-Wendif-labels', 945 '-Wendif-labels',
934 '-Wno-unused-parameter', 946 '-Wno-unused-parameter',
935 # Don't warn about the "struct foo f = {0};" initialization pattern. 947 # Don't warn about the "struct foo f = {0};" initialization pattern.
936 '-Wno-missing-field-initializers', 948 '-Wno-missing-field-initializers',
949 '-Wno-gnu-zero-variadic-macro-arguments',
937 ], 950 ],
938 }, 951 },
939 'conditions': [ 952 'conditions': [
940 ['werror==""', { 953 ['werror==""', {
941 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, 954 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'},
942 }, { 955 }, {
943 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, 956 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
944 }], 957 }],
945 ['clang==1', { 958 ['clang==1', {
946 'xcode_settings': { 959 'xcode_settings': {
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 '-fsanitize=cfi-vcall', 1346 '-fsanitize=cfi-vcall',
1334 '-fsanitize=cfi-derived-cast', 1347 '-fsanitize=cfi-derived-cast',
1335 '-fsanitize=cfi-unrelated-cast', 1348 '-fsanitize=cfi-unrelated-cast',
1336 ], 1349 ],
1337 }], 1350 }],
1338 ], 1351 ],
1339 }, 1352 },
1340 }], 1353 }],
1341 ], 1354 ],
1342 } 1355 }
OLDNEW
« BUILD.gn ('K') | « DEPS ('k') | include/v8-platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698