Fix libdl dependency on Android and remove librt hack.
authorrmcilroy <rmcilroy@chromium.org>
Tue, 31 Mar 2015 12:08:10 +0000 (05:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 31 Mar 2015 12:08:21 +0000 (12:08 +0000)
commit11c4e2f2f7fe4f355b0e608b3a0babc2def48782
tree86c408ef9bb3bfa2c6c450eb3e56e383d0c859e0
parentdf40d51e7dbceb273a340bd8300f3180047409d7
Fix libdl dependency on Android and remove librt hack.

The libdl library is already included on target builds of Android and needs
to be added to the build command line with a particular order to avoid
undefined references in other libraries. Fix this by only explicitly including
it in host builds and relying on the implicit inclusion on target builds.

Also remove the librt hack which is not longer necessary due to the AOSP build
bot having been removed.

BUG=chromium:469973
LOG=Y

Review URL: https://codereview.chromium.org/1036133005

Cr-Commit-Position: refs/heads/master@{#27535}
BUILD.gn
src/base/platform/condition-variable.cc
src/base/platform/time.cc
src/perf-jit.h
tools/gyp/v8.gyp