| OLD | NEW |
| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime | 382 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime |
| 383 # detection | 383 # detection |
| 384 'mips_fpu_mode%': 'fp32', | 384 'mips_fpu_mode%': 'fp32', |
| 385 | 385 |
| 386 # Indicates if gcmole tools are downloaded by a hook. | 386 # Indicates if gcmole tools are downloaded by a hook. |
| 387 'gcmole%': 0, | 387 'gcmole%': 0, |
| 388 }, | 388 }, |
| 389 'target_defaults': { | 389 'target_defaults': { |
| 390 'variables': { | 390 'variables': { |
| 391 'v8_code%': '<(v8_code)', | 391 'v8_code%': '<(v8_code)', |
| 392 'clang_warning_flags': [], |
| 392 'conditions':[ | 393 'conditions':[ |
| 393 ['OS=="android"', { | 394 ['OS=="android"', { |
| 394 'host_os%': '<(host_os)', | 395 'host_os%': '<(host_os)', |
| 395 }], | 396 }], |
| 396 ], | 397 ], |
| 397 }, | 398 }, |
| 399 'includes': [ 'set_clang_warning_flags.gypi', ], |
| 398 'default_configuration': 'Debug', | 400 'default_configuration': 'Debug', |
| 399 'configurations': { | 401 'configurations': { |
| 400 'DebugBaseCommon': { | 402 'DebugBaseCommon': { |
| 401 'conditions': [ | 403 'conditions': [ |
| 402 ['OS=="aix"', { | 404 ['OS=="aix"', { |
| 403 'cflags': [ '-g', '-Og', '-gxcoff' ], | 405 'cflags': [ '-g', '-Og', '-gxcoff' ], |
| 404 }, { | 406 }, { |
| 405 'cflags': [ '-g', '-O0' ], | 407 'cflags': [ '-g', '-O0' ], |
| 406 }], | 408 }], |
| 407 ], | 409 ], |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 950 '-Wno-unused-parameter', | 952 '-Wno-unused-parameter', |
| 951 # Don't warn about the "struct foo f = {0};" initialization | 953 # Don't warn about the "struct foo f = {0};" initialization |
| 952 # pattern. | 954 # pattern. |
| 953 '-Wno-missing-field-initializers', | 955 '-Wno-missing-field-initializers', |
| 954 | 956 |
| 955 # Many files use intrinsics without including this header. | 957 # Many files use intrinsics without including this header. |
| 956 # TODO(hans): Fix those files, or move this to sub-GYPs. | 958 # TODO(hans): Fix those files, or move this to sub-GYPs. |
| 957 '/FIIntrin.h', | 959 '/FIIntrin.h', |
| 958 | 960 |
| 959 # TODO(hans): Make this list shorter eventually, http://crbug.
com/504657 | 961 # TODO(hans): Make this list shorter eventually, http://crbug.
com/504657 |
| 962 '-Qunused-arguments', # http://crbug.com/504658 |
| 960 '-Wno-microsoft-enum-value', # http://crbug.com/505296 | 963 '-Wno-microsoft-enum-value', # http://crbug.com/505296 |
| 961 '-Wno-unknown-pragmas', # http://crbug.com/505314 | 964 '-Wno-unknown-pragmas', # http://crbug.com/505314 |
| 962 '-Wno-microsoft-cast', # http://crbug.com/550065 | 965 '-Wno-microsoft-cast', # http://crbug.com/550065 |
| 963 | 966 ], |
| 967 }, |
| 968 }], |
| 969 ['clang==1 and MSVS_VERSION == "2013"', { |
| 970 'VCCLCompilerTool': { |
| 971 'AdditionalOptions': [ |
| 972 '-fmsc-version=1800', |
| 973 ], |
| 974 }, |
| 975 }], |
| 976 ['clang==1 and MSVS_VERSION == "2015"', { |
| 977 'VCCLCompilerTool': { |
| 978 'AdditionalOptions': [ |
| 964 '-fmsc-version=1900', | 979 '-fmsc-version=1900', |
| 965 ], | 980 ], |
| 966 }, | 981 }, |
| 967 }], | 982 }], |
| 968 ], | 983 ], |
| 969 }, | 984 }, |
| 970 }, | 985 }, |
| 971 }], # OS=="win" | 986 }], # OS=="win" |
| 972 ['OS=="mac"', { | 987 ['OS=="mac"', { |
| 973 'xcode_settings': { | 988 'xcode_settings': { |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1424 '-fsanitize=cfi-vcall', | 1439 '-fsanitize=cfi-vcall', |
| 1425 '-fsanitize=cfi-derived-cast', | 1440 '-fsanitize=cfi-derived-cast', |
| 1426 '-fsanitize=cfi-unrelated-cast', | 1441 '-fsanitize=cfi-unrelated-cast', |
| 1427 ], | 1442 ], |
| 1428 }], | 1443 }], |
| 1429 ], | 1444 ], |
| 1430 }, | 1445 }, |
| 1431 }], | 1446 }], |
| 1432 ], | 1447 ], |
| 1433 } | 1448 } |
| OLD | NEW |