| Index: third_party/yasm/BUILD.gn
|
| diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
|
| index 9429bc0cfde839b65e35e59bcab5c4868a8806a9..700e7452bf8dbb625be752951cb9d1c92f5b665e 100644
|
| --- a/third_party/yasm/BUILD.gn
|
| +++ b/third_party/yasm/BUILD.gn
|
| @@ -31,14 +31,18 @@ if (current_toolchain == host_toolchain) {
|
|
|
| # Various files referenced by multiple targets.
|
| yasm_gen_include_dir = "$target_gen_dir/include"
|
| - config_makefile = "source/config/$os/Makefile"
|
| + yasm_os = os
|
| + if (is_chromeos) {
|
| + yasm_os = "linux"
|
| + }
|
| + config_makefile = "source/config/$yasm_os/Makefile"
|
| version_file = "version.mac"
|
|
|
| import("//build/compiled_action.gni")
|
|
|
| config("yasm_config") {
|
| include_dirs = [
|
| - "source/config/$os",
|
| + "source/config/$yasm_os",
|
| "source/patched-yasm",
|
| ]
|
| defines = [ "HAVE_CONFIG_H" ]
|
|
|