From df4b916e00af0949c698c20b545b0428ea0dc244 Mon Sep 17 00:00:00 2001 From: jochen Date: Fri, 13 May 2016 07:01:07 -0700 Subject: [PATCH] Move the dependency on "log" to v8's public config BUG=chromium:609107 R=machenbach@chromium.org Review-Url: https://codereview.chromium.org/1973903004 Cr-Commit-Position: refs/heads/master@{#36244} --- BUILD.gn | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 210cb590d8..0205b83aef 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -126,6 +126,10 @@ config("external_config") { ] } include_dirs = [ "include" ] + libs = [] + if (is_android && current_toolchain != host_toolchain) { + libs += [ "log" ] + } } # This config should only be applied to code that needs to be explicitly @@ -2061,11 +2065,6 @@ if (is_component_build) { ] public_configs = [ ":external_config" ] - - libs = [] - if (is_android && current_toolchain != host_toolchain) { - libs += [ "log" ] - } } } else { group("v8") {