| OLD | NEW |
| 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 '-fdata-sections', | 896 '-fdata-sections', |
| 897 '-ffunction-sections', | 897 '-ffunction-sections', |
| 898 ], | 898 ], |
| 899 }], | 899 }], |
| 900 ['OS=="mac"', { | 900 ['OS=="mac"', { |
| 901 'xcode_settings': { | 901 'xcode_settings': { |
| 902 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 | 902 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 |
| 903 }, | 903 }, |
| 904 }], | 904 }], |
| 905 ], | 905 ], |
| 906 'defines': [ |
| 907 'ENABLE_SLOW_DCHECKS', |
| 908 ], |
| 906 }, # DebugBase0 | 909 }, # DebugBase0 |
| 907 # Abstract configuration for v8_optimized_debug == 1. | 910 # Abstract configuration for v8_optimized_debug == 1. |
| 908 'DebugBase1': { | 911 'DebugBase1': { |
| 909 'abstract': 1, | 912 'abstract': 1, |
| 910 'msvs_settings': { | 913 'msvs_settings': { |
| 911 'VCCLCompilerTool': { | 914 'VCCLCompilerTool': { |
| 912 'Optimization': '1', | 915 'Optimization': '1', |
| 913 'InlineFunctionExpansion': '2', | 916 'InlineFunctionExpansion': '2', |
| 914 'EnableIntrinsicFunctions': 'true', | 917 'EnableIntrinsicFunctions': 'true', |
| 915 'FavorSizeOrSpeed': '0', | 918 'FavorSizeOrSpeed': '0', |
| 916 'StringPooling': 'true', | 919 'StringPooling': 'true', |
| 917 'BasicRuntimeChecks': '0', | 920 'BasicRuntimeChecks': '0', |
| 918 'conditions': [ | 921 'conditions': [ |
| 919 ['component=="shared_library"', { | 922 ['component=="shared_library"', { |
| 920 'RuntimeLibrary': '3', # /MDd | 923 'RuntimeLibrary': '3', # /MDd |
| 921 }, { | 924 }, { |
| 922 'RuntimeLibrary': '1', # /MTd | 925 'RuntimeLibrary': '1', # /MTd |
| 923 }], | 926 }], |
| 924 ], | 927 ], |
| 925 }, | 928 }, |
| 926 'VCLinkerTool': { | 929 'VCLinkerTool': { |
| 927 'LinkIncremental': '2', | 930 'LinkIncremental': '2', |
| 928 }, | 931 }, |
| 929 }, | 932 }, |
| 933 'defines': [ |
| 934 'ENABLE_SLOW_DCHECKS', |
| 935 ], |
| 930 'conditions': [ | 936 'conditions': [ |
| 931 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ | 937 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" or \ |
| 932 OS=="qnx"', { | 938 OS=="qnx"', { |
| 933 'cflags!': [ | 939 'cflags!': [ |
| 934 '-O0', | 940 '-O0', |
| 935 '-O3', # TODO(2807) should be -O1. | 941 '-O3', # TODO(2807) should be -O1. |
| 936 '-O2', | 942 '-O2', |
| 937 '-Os', | 943 '-Os', |
| 938 ], | 944 ], |
| 939 'cflags': [ | 945 'cflags': [ |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 OS=="qnx"', { | 986 OS=="qnx"', { |
| 981 'cflags!': [ | 987 'cflags!': [ |
| 982 '-O0', | 988 '-O0', |
| 983 '-O1', | 989 '-O1', |
| 984 '-Os', | 990 '-Os', |
| 985 ], | 991 ], |
| 986 'cflags': [ | 992 'cflags': [ |
| 987 '-fdata-sections', | 993 '-fdata-sections', |
| 988 '-ffunction-sections', | 994 '-ffunction-sections', |
| 989 ], | 995 ], |
| 990 'defines': [ | |
| 991 'OPTIMIZED_DEBUG' | |
| 992 ], | |
| 993 'conditions': [ | 996 'conditions': [ |
| 994 # TODO(crbug.com/272548): Avoid -O3 in NaCl | 997 # TODO(crbug.com/272548): Avoid -O3 in NaCl |
| 995 ['nacl_target_arch=="none"', { | 998 ['nacl_target_arch=="none"', { |
| 996 'cflags': ['-O3'], | 999 'cflags': ['-O3'], |
| 997 'cflags!': ['-O2'], | 1000 'cflags!': ['-O2'], |
| 998 }, { | 1001 }, { |
| 999 'cflags': ['-O2'], | 1002 'cflags': ['-O2'], |
| 1000 'cflags!': ['-O3'], | 1003 'cflags!': ['-O3'], |
| 1001 }], | 1004 }], |
| 1002 ], | 1005 ], |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1124 'OptimizeReferences': '2', | 1127 'OptimizeReferences': '2', |
| 1125 'EnableCOMDATFolding': '2', | 1128 'EnableCOMDATFolding': '2', |
| 1126 }, | 1129 }, |
| 1127 }, | 1130 }, |
| 1128 }], # OS=="win" | 1131 }], # OS=="win" |
| 1129 ], # conditions | 1132 ], # conditions |
| 1130 }, # Release | 1133 }, # Release |
| 1131 }, # configurations | 1134 }, # configurations |
| 1132 }, # target_defaults | 1135 }, # target_defaults |
| 1133 } | 1136 } |
| OLD | NEW |