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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1390 if (is_posix) { | 1390 if (is_posix) { |
1391 sources += [ "src/base/platform/platform-posix.cc" ] | 1391 sources += [ "src/base/platform/platform-posix.cc" ] |
1392 } | 1392 } |
1393 | 1393 |
1394 if (is_linux) { | 1394 if (is_linux) { |
1395 sources += [ "src/base/platform/platform-linux.cc" ] | 1395 sources += [ "src/base/platform/platform-linux.cc" ] |
1396 | 1396 |
1397 libs = [ "dl", "rt" ] | 1397 libs = [ "dl", "rt" ] |
1398 } else if (is_android) { | 1398 } else if (is_android) { |
1399 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] | 1399 defines += [ "CAN_USE_VFP_INSTRUCTIONS" ] |
1400 libs = [ "dl", "log" ] | |
jochen (gone - plz use gerrit)
2015/03/27 11:59:56
log is only needed for the target toolchain, no?
haltonhuo
2015/03/30 02:15:09
Adding rt will cause -lrt not found error. Actuall
haltonhuo
2015/03/30 07:35:15
Uploaded patch set2 is more correct way to go. Ple
| |
1400 | 1401 |
1401 if (host_os == "mac") { | 1402 if (host_os == "mac") { |
1402 if (current_toolchain == host_toolchain) { | 1403 if (current_toolchain == host_toolchain) { |
1403 sources += [ "src/base/platform/platform-macos.cc" ] | 1404 sources += [ "src/base/platform/platform-macos.cc" ] |
1404 } else { | 1405 } else { |
1405 sources += [ "src/base/platform/platform-linux.cc" ] | 1406 sources += [ "src/base/platform/platform-linux.cc" ] |
1406 } | 1407 } |
1407 } else { | 1408 } else { |
1408 sources += [ "src/base/platform/platform-linux.cc" ] | 1409 sources += [ "src/base/platform/platform-linux.cc" ] |
1409 if (current_toolchain == host_toolchain) { | 1410 if (current_toolchain == host_toolchain) { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1592 sources += [ | 1593 sources += [ |
1593 "src/d8-debug.cc", | 1594 "src/d8-debug.cc", |
1594 "$target_gen_dir/d8-js.cc", | 1595 "$target_gen_dir/d8-js.cc", |
1595 ] | 1596 ] |
1596 } | 1597 } |
1597 if (v8_enable_i18n_support) { | 1598 if (v8_enable_i18n_support) { |
1598 deps += [ "//third_party/icu" ] | 1599 deps += [ "//third_party/icu" ] |
1599 } | 1600 } |
1600 } | 1601 } |
1601 } | 1602 } |
OLD | NEW |