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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
7 import("//build/config/mips.gni") | 7 import("//build/config/mips.gni") |
8 | 8 |
9 # Because standalone V8 builds are not supported, assume this is part of a | 9 # Because standalone V8 builds are not supported, assume this is part of a |
10 # Chromium build. | 10 # Chromium build. |
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 | 1385 |
1386 defines = [] | 1386 defines = [] |
1387 | 1387 |
1388 if (is_posix) { | 1388 if (is_posix) { |
1389 sources += [ "src/base/platform/platform-posix.cc" ] | 1389 sources += [ "src/base/platform/platform-posix.cc" ] |
1390 } | 1390 } |
1391 | 1391 |
1392 if (is_linux) { | 1392 if (is_linux) { |
1393 sources += [ "src/base/platform/platform-linux.cc" ] | 1393 sources += [ "src/base/platform/platform-linux.cc" ] |
1394 | 1394 |
1395 libs = [ "rt" ] | 1395 libs = [ "dl", "rt" ] |
1396 } else if (is_android) { | 1396 } else if (is_android) { |
1397 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] | 1397 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] |
1398 | 1398 |
1399 if (host_os == "mac") { | 1399 if (host_os == "mac") { |
1400 if (current_toolchain == host_toolchain) { | 1400 if (current_toolchain == host_toolchain) { |
1401 sources += [ "src/base/platform/platform-macos.cc" ] | 1401 sources += [ "src/base/platform/platform-macos.cc" ] |
1402 } else { | 1402 } else { |
1403 sources += [ "src/base/platform/platform-linux.cc" ] | 1403 sources += [ "src/base/platform/platform-linux.cc" ] |
1404 } | 1404 } |
1405 } else { | 1405 } else { |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 sources += [ | 1590 sources += [ |
1591 "src/d8-debug.cc", | 1591 "src/d8-debug.cc", |
1592 "$target_gen_dir/d8-js.cc", | 1592 "$target_gen_dir/d8-js.cc", |
1593 ] | 1593 ] |
1594 } | 1594 } |
1595 if (v8_enable_i18n_support) { | 1595 if (v8_enable_i18n_support) { |
1596 deps += [ "//third_party/icu" ] | 1596 deps += [ "//third_party/icu" ] |
1597 } | 1597 } |
1598 } | 1598 } |
1599 } | 1599 } |
OLD | NEW |