| 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 19 matching lines...) Expand all Loading... |
| 30 include_dirs = [ "." ] | 30 include_dirs = [ "." ] |
| 31 | 31 |
| 32 if (component_mode == "shared_library") { | 32 if (component_mode == "shared_library") { |
| 33 defines = [ | 33 defines = [ |
| 34 "V8_SHARED", | 34 "V8_SHARED", |
| 35 "BUILDING_V8_SHARED", | 35 "BUILDING_V8_SHARED", |
| 36 ] | 36 ] |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 config("internal_config_base") { |
| 41 visibility = ":*" # Only targets in this file can depend on this. |
| 42 |
| 43 include_dirs = [ "." ] |
| 44 } |
| 45 |
| 40 # This config should only be applied to code using V8 and not any V8 code | 46 # This config should only be applied to code using V8 and not any V8 code |
| 41 # itself. | 47 # itself. |
| 42 config("external_config") { | 48 config("external_config") { |
| 43 if (is_component_build) { | 49 if (is_component_build) { |
| 44 defines = [ | 50 defines = [ |
| 45 "V8_SHARED", | 51 "V8_SHARED", |
| 46 "USING_V8_SHARED", | 52 "USING_V8_SHARED", |
| 47 ] | 53 ] |
| 48 } | 54 } |
| 49 include_dirs = [ "include" ] | 55 include_dirs = [ "include" ] |
| (...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 "src/base/safe_conversions.h", | 1013 "src/base/safe_conversions.h", |
| 1008 "src/base/safe_conversions_impl.h", | 1014 "src/base/safe_conversions_impl.h", |
| 1009 "src/base/safe_math.h", | 1015 "src/base/safe_math.h", |
| 1010 "src/base/safe_math_impl.h", | 1016 "src/base/safe_math_impl.h", |
| 1011 "src/base/utils/random-number-generator.cc", | 1017 "src/base/utils/random-number-generator.cc", |
| 1012 "src/base/utils/random-number-generator.h", | 1018 "src/base/utils/random-number-generator.h", |
| 1013 ] | 1019 ] |
| 1014 | 1020 |
| 1015 configs -= [ "//build/config/compiler:chromium_code" ] | 1021 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1016 configs += [ "//build/config/compiler:no_chromium_code" ] | 1022 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1017 configs += [ ":internal_config", ":features", ":toolchain" ] | 1023 configs += [ ":internal_config_base", ":features", ":toolchain" ] |
| 1018 | 1024 |
| 1019 defines = [] | 1025 defines = [] |
| 1020 | 1026 |
| 1021 if (is_posix) { | 1027 if (is_posix) { |
| 1022 sources += [ | 1028 sources += [ |
| 1023 "src/base/platform/platform-posix.cc" | 1029 "src/base/platform/platform-posix.cc" |
| 1024 ] | 1030 ] |
| 1025 } | 1031 } |
| 1026 | 1032 |
| 1027 if (is_linux) { | 1033 if (is_linux) { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1070 "src/libplatform/default-platform.cc", | 1076 "src/libplatform/default-platform.cc", |
| 1071 "src/libplatform/default-platform.h", | 1077 "src/libplatform/default-platform.h", |
| 1072 "src/libplatform/task-queue.cc", | 1078 "src/libplatform/task-queue.cc", |
| 1073 "src/libplatform/task-queue.h", | 1079 "src/libplatform/task-queue.h", |
| 1074 "src/libplatform/worker-thread.cc", | 1080 "src/libplatform/worker-thread.cc", |
| 1075 "src/libplatform/worker-thread.h", | 1081 "src/libplatform/worker-thread.h", |
| 1076 ] | 1082 ] |
| 1077 | 1083 |
| 1078 configs -= [ "//build/config/compiler:chromium_code" ] | 1084 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1079 configs += [ "//build/config/compiler:no_chromium_code" ] | 1085 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 1080 configs += [ ":internal_config", ":features", ":toolchain" ] | 1086 configs += [ ":internal_config_base", ":features", ":toolchain" ] |
| 1081 | 1087 |
| 1082 deps = [ | 1088 deps = [ |
| 1083 ":v8_libbase", | 1089 ":v8_libbase", |
| 1084 ] | 1090 ] |
| 1085 } | 1091 } |
| 1086 | 1092 |
| 1087 ############################################################################### | 1093 ############################################################################### |
| 1088 # Executables | 1094 # Executables |
| 1089 # | 1095 # |
| 1090 | 1096 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 deps = [ | 1174 deps = [ |
| 1169 ":v8_base", | 1175 ":v8_base", |
| 1170 ":v8_nosnapshot", | 1176 ":v8_nosnapshot", |
| 1171 ] | 1177 ] |
| 1172 } | 1178 } |
| 1173 | 1179 |
| 1174 direct_dependent_configs = [ ":external_config" ] | 1180 direct_dependent_configs = [ ":external_config" ] |
| 1175 } | 1181 } |
| 1176 | 1182 |
| 1177 } | 1183 } |
| OLD | NEW |