Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 210cb590d8bec798436f39af6022857c9712aa1d..0205b83aeffcb053b06fdd337199957cc579e1a1 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") { |