OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # TODO(jochen): These will need to be user-settable to support standalone V8 | 5 # TODO(jochen): These will need to be user-settable to support standalone V8 |
6 # builds. | 6 # builds. |
7 v8_compress_startup_data = "off" | 7 v8_compress_startup_data = "off" |
8 v8_deprecation_warnings = false | 8 v8_deprecation_warnings = false |
9 v8_enable_disassembler = false | 9 v8_enable_disassembler = false |
10 v8_enable_gdbjit = false | 10 v8_enable_gdbjit = false |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
891 sources += [ | 891 sources += [ |
892 "src/platform-linux.cc" | 892 "src/platform-linux.cc" |
893 ] | 893 ] |
894 | 894 |
895 libs = [ "rt" ] | 895 libs = [ "rt" ] |
896 if (v8_compress_startup_data == "bz2") { | 896 if (v8_compress_startup_data == "bz2") { |
897 libs += [ "bz2" ] | 897 libs += [ "bz2" ] |
898 } | 898 } |
899 } else if (is_android) { | 899 } else if (is_android) { |
900 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] | 900 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] |
901 sources += [ "src/platform-posix,cc" ] | 901 sources += [ "src/platform-posix.cc" ] |
902 | 902 |
903 if (build_os == "mac") { | 903 if (build_os == "mac") { |
904 if (current_toolchain == host_toolchain) { | 904 if (current_toolchain == host_toolchain) { |
905 sources += [ "src/platform-macos.cc" ] | 905 sources += [ "src/platform-macos.cc" ] |
906 } else { | 906 } else { |
907 sources += [ "src/platform-linux.cc" ] | 907 sources += [ "src/platform-linux.cc" ] |
908 } | 908 } |
909 } else { | 909 } else { |
910 sources += [ "src/platform-linux.cc" ] | 910 sources += [ "src/platform-linux.cc" ] |
911 if (current_toolchain == host_toolchain) { | 911 if (current_toolchain == host_toolchain) { |
912 defines += [ "V8_LIBRT_NOT_AVAILABLE" ] | 912 defines += [ "V8_LIBRT_NOT_AVAILABLE" ] |
913 } | 913 } |
914 } | 914 } |
915 } else if (is_mac) { | 915 } else if (is_mac) { |
916 sources += [ "src/platform-macos,cc" ] | 916 sources += [ "src/platform-macos.cc" ] |
917 } else if (is_win) { | 917 } else if (is_win) { |
918 # TODO(jochen): Add support for cygwin. | 918 # TODO(jochen): Add support for cygwin. |
919 sources += [ | 919 sources += [ |
920 "src/platform-win32.cc", | 920 "src/platform-win32.cc", |
921 "src/win32-math.cc", | 921 "src/win32-math.cc", |
922 "src/win32-math.h", | 922 "src/win32-math.h", |
923 ] | 923 ] |
924 | 924 |
925 defines += [ "_CRT_RAND_S" ] # for rand_s() | 925 defines += [ "_CRT_RAND_S" ] # for rand_s() |
926 | 926 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 deps = [ | 1050 deps = [ |
1051 ":v8_base", | 1051 ":v8_base", |
1052 ":v8_nosnapshot", | 1052 ":v8_nosnapshot", |
1053 ] | 1053 ] |
1054 } | 1054 } |
1055 | 1055 |
1056 direct_dependent_configs = [ ":external_config" ] | 1056 direct_dependent_configs = [ ":external_config" ] |
1057 } | 1057 } |
1058 | 1058 |
1059 } | 1059 } |
OLD | NEW |