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

Side by Side Diff: build/toolchain.gypi

Issue 847753002: Merge v8_optimized_debug 1 and 2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 11 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/standalone.gypi ('k') | src/list.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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 'ENABLE_SLOW_DCHECKS', 910 'ENABLE_SLOW_DCHECKS',
911 ], 911 ],
912 }], 912 }],
913 ], 913 ],
914 }, # DebugBase0 914 }, # DebugBase0
915 # Abstract configuration for v8_optimized_debug == 1. 915 # Abstract configuration for v8_optimized_debug == 1.
916 'DebugBase1': { 916 'DebugBase1': {
917 'abstract': 1, 917 'abstract': 1,
918 'msvs_settings': { 918 'msvs_settings': {
919 'VCCLCompilerTool': { 919 'VCCLCompilerTool': {
920 'Optimization': '1',
921 'InlineFunctionExpansion': '2',
922 'EnableIntrinsicFunctions': 'true',
923 'FavorSizeOrSpeed': '0',
924 'StringPooling': 'true',
925 'BasicRuntimeChecks': '0',
926 'conditions': [
927 ['component=="shared_library"', {
928 'RuntimeLibrary': '3', # /MDd
929 }, {
930 'RuntimeLibrary': '1', # /MTd
931 }],
932 ],
933 },
934 'VCLinkerTool': {
935 'LinkIncremental': '2',
936 },
937 },
938 'variables': {
939 'v8_enable_slow_dchecks%': 1,
940 },
941 'conditions': [
942 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \
943 OS=="qnx"', {
944 'cflags!': [
945 '-O0',
946 '-O3', # TODO(2807) should be -O1.
947 '-O2',
948 '-Os',
949 ],
950 'cflags': [
951 '-fdata-sections',
952 '-ffunction-sections',
953 '-O1', # TODO(2807) should be -O3.
954 ],
955 }],
956 ['OS=="mac"', {
957 'xcode_settings': {
958 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
959 'GCC_STRICT_ALIASING': 'YES',
960 },
961 }],
962 ['v8_enable_slow_dchecks==1', {
963 'defines': [
964 'ENABLE_SLOW_DCHECKS',
965 ],
966 }],
967 ],
968 }, # DebugBase1
969 # Abstract configuration for v8_optimized_debug == 2.
970 'DebugBase2': {
971 'abstract': 1,
972 'msvs_settings': {
973 'VCCLCompilerTool': {
974 'Optimization': '2', 920 'Optimization': '2',
975 'InlineFunctionExpansion': '2', 921 'InlineFunctionExpansion': '2',
976 'EnableIntrinsicFunctions': 'true', 922 'EnableIntrinsicFunctions': 'true',
977 'FavorSizeOrSpeed': '0', 923 'FavorSizeOrSpeed': '0',
978 'StringPooling': 'true', 924 'StringPooling': 'true',
979 'BasicRuntimeChecks': '0', 925 'BasicRuntimeChecks': '0',
980 'conditions': [ 926 'conditions': [
981 ['component=="shared_library"', { 927 ['component=="shared_library"', {
982 'RuntimeLibrary': '3', #/MDd 928 'RuntimeLibrary': '3', #/MDd
983 }, { 929 }, {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 968 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
1023 'GCC_STRICT_ALIASING': 'YES', 969 'GCC_STRICT_ALIASING': 'YES',
1024 }, 970 },
1025 }], 971 }],
1026 ['v8_enable_slow_dchecks==1', { 972 ['v8_enable_slow_dchecks==1', {
1027 'defines': [ 973 'defines': [
1028 'ENABLE_SLOW_DCHECKS', 974 'ENABLE_SLOW_DCHECKS',
1029 ], 975 ],
1030 }], 976 }],
1031 ], 977 ],
1032 }, # DebugBase2 978 }, # DebugBase1
1033 # Common settings for the Debug configuration. 979 # Common settings for the Debug configuration.
1034 'DebugBaseCommon': { 980 'DebugBaseCommon': {
1035 'abstract': 1, 981 'abstract': 1,
1036 'defines': [ 982 'defines': [
1037 'ENABLE_DISASSEMBLER', 983 'ENABLE_DISASSEMBLER',
1038 'V8_ENABLE_CHECKS', 984 'V8_ENABLE_CHECKS',
1039 'OBJECT_PRINT', 985 'OBJECT_PRINT',
1040 'VERIFY_HEAP', 986 'VERIFY_HEAP',
1041 'DEBUG', 987 'DEBUG',
1042 'TRACE_MAPS' 988 'TRACE_MAPS'
(...skipping 22 matching lines...) Expand all
1065 }], 1011 }],
1066 ], 1012 ],
1067 }], 1013 }],
1068 ], 1014 ],
1069 }, # DebugBaseCommon 1015 }, # DebugBaseCommon
1070 'Debug': { 1016 'Debug': {
1071 'inherit_from': ['DebugBaseCommon'], 1017 'inherit_from': ['DebugBaseCommon'],
1072 'conditions': [ 1018 'conditions': [
1073 ['v8_optimized_debug==0', { 1019 ['v8_optimized_debug==0', {
1074 'inherit_from': ['DebugBase0'], 1020 'inherit_from': ['DebugBase0'],
1075 }], 1021 }, {
1076 ['v8_optimized_debug==1', {
1077 'inherit_from': ['DebugBase1'], 1022 'inherit_from': ['DebugBase1'],
1078 }], 1023 }],
1079 ['v8_optimized_debug==2', {
1080 'inherit_from': ['DebugBase2'],
1081 }],
1082 ], 1024 ],
1083 }, # Debug 1025 }, # Debug
1084 'Release': { 1026 'Release': {
1085 'variables': { 1027 'variables': {
1086 'v8_enable_slow_dchecks%': 0, 1028 'v8_enable_slow_dchecks%': 0,
1087 }, 1029 },
1088 'conditions': [ 1030 'conditions': [
1089 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 1031 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
1090 'cflags!': [ 1032 'cflags!': [
1091 '-Os', 1033 '-Os',
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1154 ['v8_enable_slow_dchecks==1', { 1096 ['v8_enable_slow_dchecks==1', {
1155 'defines': [ 1097 'defines': [
1156 'ENABLE_SLOW_DCHECKS', 1098 'ENABLE_SLOW_DCHECKS',
1157 ], 1099 ],
1158 }], 1100 }],
1159 ], # conditions 1101 ], # conditions
1160 }, # Release 1102 }, # Release
1161 }, # configurations 1103 }, # configurations
1162 }, # target_defaults 1104 }, # target_defaults
1163 } 1105 }
OLDNEW
« no previous file with comments | « build/standalone.gypi ('k') | src/list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698