From 0741a3d70400dc96e59726674b0acf3bca02d710 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 4 Mar 2017 18:52:42 -0500 Subject: [PATCH] Unbreak Chromium build after https://chromium-review.googlesource.com/c/446667/ Without this, `gn gen --check` for Chromium would fail with errors like: $ gn gen --check out/gn ERROR at //cc/resources/video_resource_updater.cc:25:11: Can't include this header from here. #include "third_party/libyuv/include/libyuv.h" ^---------------------------------- The target: //cc:cc is including a file from the target: //third_party/libyuv:libyuv_internal [...] Dependency chain (there may also be others): //cc:cc --> //third_party/libyuv:libyuv --[private]--> //third_party/libyuv:libyuv_internal BUG=libyuv:685, chromium:692600 Change-Id: I5e5bde2f0e4802d70bfd438793eb2460437398ee Reviewed-on: https://chromium-review.googlesource.com/449934 Reviewed-by: Nico Weber Reviewed-by: Henrik Kjellander Commit-Queue: Nico Weber --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index de7788f0b..4f56cdc24 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -40,11 +40,11 @@ group("libyuv") { public_configs = [ ":libyuv_config" ] if (is_win && target_cpu == "x64") { - deps = [ + public_deps = [ ":libyuv_internal(//build/toolchain/win:clang_x64)", ] } else { - deps = [ + public_deps = [ ":libyuv_internal", ] }