mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
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 <thakis@chromium.org>
Reviewed-by: Henrik Kjellander <kjellander@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
This commit is contained in:
parent
bbcd785586
commit
0741a3d704
4
BUILD.gn
4
BUILD.gn
@ -40,11 +40,11 @@ group("libyuv") {
|
|||||||
public_configs = [ ":libyuv_config" ]
|
public_configs = [ ":libyuv_config" ]
|
||||||
|
|
||||||
if (is_win && target_cpu == "x64") {
|
if (is_win && target_cpu == "x64") {
|
||||||
deps = [
|
public_deps = [
|
||||||
":libyuv_internal(//build/toolchain/win:clang_x64)",
|
":libyuv_internal(//build/toolchain/win:clang_x64)",
|
||||||
]
|
]
|
||||||
} else {
|
} else {
|
||||||
deps = [
|
public_deps = [
|
||||||
":libyuv_internal",
|
":libyuv_internal",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user