GN & libvpx: Missing deps for generating ASM offsets
Add the dependency for generating ASM offsets.
TBR=tomfinegan@chromium.org
Review URL: https://codereview.chromium.org/570793002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@291961 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/BUILD.gn b/BUILD.gn
index f2f5747..5a347d0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -127,6 +127,10 @@
"//third_party/libvpx/source/libvpx",
target_gen_dir
]
+ deps = [
+ ":gen_asm_offsets_vp8",
+ ":gen_asm_offsets_scale",
+ ]
}
}
@@ -202,13 +206,17 @@
static_library("libvpx_assembly_arm") {
sources = get_target_outputs(":convert_arm_assembly")
- deps = [ ":convert_arm_assembly" ]
configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
configs += [ ":libvpx_config" ]
if (cpu_arch_full == "arm-neon" ||
cpu_arch_full == "arm-neon-cpu-detect") {
cflags = [ "-mfpu=neon" ]
}
+ deps = [
+ ":convert_arm_assembly",
+ ":gen_asm_offsets_vp8",
+ ":gen_asm_offsets_scale",
+ ]
}
}
@@ -239,10 +247,8 @@
} else if (cpu_arch == "arm64") {
sources = libvpx_srcs_arm64
}
- deps = [
- ":gen_asm_offsets_vp8",
- ]
configs += [ ":libvpx_config" ]
+ deps = []
if (cpu_arch == "x86" || (cpu_arch == "x64" && !is_msan)) {
deps += [
":libvpx_yasm",