diff options
author | Takuto Ikuta <tikuta@chromium.org> | 2023-06-30 13:12:05 +0900 |
---|---|---|
committer | Takuto Ikuta <tikuta@chromium.org> | 2023-06-30 04:15:35 +0000 |
commit | d7331f4ee457c4fd4a5320e0fe8a7bab2f36ddfd (patch) | |
tree | e4507c7fcedcc32836f5ef5c3cd9628816e6448c | |
parent | aa4075f116e4312537d0d3e9dbd5e31096539f94 (diff) | |
download | libjpeg-turbo-d7331f4ee457c4fd4a5320e0fe8a7bab2f36ddfd.tar.gz |
fix inputs for some included files
jdct.inc and jsimdext.inc are included some asm files. So they should be
part of inputs to nasm build action.
This makes nasm build runnable as remote action in our experimental
build system.
Bug: b/285787155
Change-Id: I120217266cade7e81975f3e7fc67ee70243dfb84
-rw-r--r-- | BUILD.gn | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -11,7 +11,9 @@ if (current_cpu == "arm" || current_cpu == "arm64") { import("//build/config/arm.gni") } -assert(use_blink, "This is not used on if blink is not enabled, don't drag it in unintentionally") +assert( + use_blink, + "This is not used if blink is not enabled, don't drag it in unintentionally") source_set("libjpeg_headers") { sources = [ @@ -31,6 +33,11 @@ if (current_cpu == "x86" || current_cpu == "x64") { defines = [] include_dirs = [ "simd/nasm/" ] + inputs = [ + "simd/nasm/jdct.inc", + "simd/nasm/jsimdext.inc", + ] + if (current_cpu == "x86") { include_dirs += [ "simd/i386/" ] sources = [ @@ -347,7 +354,7 @@ if (build_with_chromium) { configs += [ "//build/config/compiler:no_chromium_code" ] if (is_win) { - cflags = ["-U_CRT_SECURE_NO_DEPRECATE"] + cflags = [ "-U_CRT_SECURE_NO_DEPRECATE" ] } } } |