Remove third_party/yasm from DEPS.

YASM is no longer required since libjpeg-turbo switched over to NASM.

Bug: chromium:766721
Change-Id: I396164c1d0bf73e97381462eb223b4d667481b98
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/68693
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/DEPS b/DEPS
index 3c2174f..ce29a71 100644
--- a/DEPS
+++ b/DEPS
@@ -101,10 +101,6 @@
   # and whatever else without interference from each other.
   'v8_revision': '5deecef68e6234554658e1b61cafc793fbd97791',
   # Three lines of non-changing comments so that
-  # the commit queue can handle CLs rolling yasm_source
-  # and whatever else without interference from each other.
-  'yasm_source_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
-  # Three lines of non-changing comments so that
   # the commit queue can handle CLs rolling zlib
   # and whatever else without interference from each other.
   'zlib_revision': '156be8c52f80cde343088b4a69a80579101b6e67',
@@ -183,10 +179,6 @@
     Var('chromium_git') + '/chromium/src/third_party/zlib.git@' +
         Var('zlib_revision'),
 
-  'third_party/yasm/source/patched-yasm':
-    Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git@' +
-        Var('yasm_source_revision'),
-
   'tools/clang':
     Var('chromium_git') + '/chromium/src/tools/clang@' +  Var('clang_revision'),
 
diff --git a/third_party/yasm/BUILD.gn b/third_party/yasm/BUILD.gn
deleted file mode 100644
index 93ecb0d..0000000
--- a/third_party/yasm/BUILD.gn
+++ /dev/null
@@ -1,518 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# The yasm build process creates a slew of small C subprograms that
-# dynamically generate files at various point in the build process.  This makes
-# the build integration moderately complex.
-#
-# There are three classes of dynamically generated files:
-#   1) C source files that should be included in the build (eg., lc3bid.c)
-#   2) C source files that are #included by static C sources (eg., license.c)
-#   3) Intermediate files that are used as input by other subprograms to
-#      further generate files in category #1 or #2.  (eg., version.mac)
-#
-# This structure is represented with the following targets:
-#   1) yasm -- Sources, flags for the main yasm executable. Also has most of
-#              of the actions and rules that invoke the subprograms.
-#   2) yasm_config -- General build configuration including setting a
-#              inputs listing the checked in version of files
-#              generated by manually running configure. These manually
-#              generated files are used by all binaries.
-#   3) yasm_utils -- Object files with memory management and hashing utilities
-#              shared between yasm and the genperf subprogram.
-#   4) genmacro, genmodule, etc. -- One executable target for each subprogram.
-#   5) generate_license, generate_module, etc. -- Actions that invoke programs
-#              built in #4 to generate .c files.
-#   6) compile_gperf, compile_re2c, etc. -- Actions that invoke programs that
-#              turn intermediate files into .c files.
-
-import("//build/config/compiler/compiler.gni")
-
-configs_to_delete = []
-configs_to_add = []
-if (is_debug) {
-  configs_to_delete += [
-    # Build with full optimizations even on debug configurations, because some
-    # yasm build steps (highbd_sad4d_sse2.asm) can take ~33 seconds or more in
-    # debug component builds on Windows. Enabling compiler optimizations saves
-    #  ~5 seconds.
-    "//build/config/compiler:default_optimization",
-
-    # Don't define _DEBUG. Modest savings, but good for consistency.
-    "//build/config:debug",
-
-    # Don't enable sanitizers for build tools. They slow down the overall build.
-    "//build/config/sanitizers:default_sanitizer_flags",
-  ]
-
-  configs_to_add += [
-    "//build/config:release",
-    "//build/config/compiler:optimize_max",
-  ]
-  if (is_win) {
-    # This switches to using the release CRT. On debug component builds of
-    # highbd_sad4d_sse2.asm on Windows this saves about 15 s.
-    configs_to_delete += [ "//build/config/win:default_crt" ]
-    configs_to_add += [ "//build/config/win:release_crt" ]
-
-    # Without no_default_deps, an implicit dependency on libc++ is added.
-    # libc++ may have been built referencing the debug CRT, but since we're
-    # explicitly using the release CRT, this would result in undefined symbol
-    # errors when linking, so we need to remove the implicit libc++ dependency.
-    no_default_deps = true
-  }
-}
-
-if (current_toolchain == host_toolchain) {
-  # Various files referenced by multiple targets. yasm_gen_include_dir was moved
-  # from $target_gen_dir/include to avoid conflicts with x86insn_gas.c and
-  # x86insn_nasm.c. These files were previously generated during the build but
-  # are now shipped pre-generated by yasm.
-  yasm_gen_include_dir = "$target_gen_dir/gen_include"
-  config_makefile = "source/config/Makefile"
-  version_file = "version.mac"
-
-  import("//build/compiled_action.gni")
-
-  config("yasm_config") {
-    configs = [ "//build/config/sanitizers:cfi_icall_generalize_pointers" ]
-    include_dirs = [
-      "source/config/$host_os",
-      "source/patched-yasm",
-    ]
-    defines = [ "HAVE_CONFIG_H" ]
-    if (is_posix || is_fuchsia) {
-      cflags = [ "-std=gnu99" ]
-    }
-  }
-
-  executable("genmacro") {
-    sources = [ "source/patched-yasm/tools/genmacro/genmacro.c" ]
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-    deps = [
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  executable("genmodule") {
-    sources = [ "source/patched-yasm/libyasm/genmodule.c" ]
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-    deps = [
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  executable("genperf") {
-    sources = [
-      "source/patched-yasm/tools/genperf/genperf.c",
-      "source/patched-yasm/tools/genperf/perfect.c",
-    ]
-
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-
-    # Must be compatible with yasm_utils/yasm
-    configs -= configs_to_delete
-    configs += configs_to_add
-
-    deps = [
-      ":yasm_utils",
-
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  # Used by both yasm and genperf binaries.
-  static_library("yasm_utils") {
-    sources = [
-      "source/patched-yasm/libyasm/phash.c",
-      "source/patched-yasm/libyasm/xmalloc.c",
-      "source/patched-yasm/libyasm/xstrdup.c",
-    ]
-
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-
-    # Must be compatible with yasm
-    configs -= configs_to_delete
-    configs += configs_to_add
-  }
-
-  executable("genstring") {
-    sources = [ "source/patched-yasm/genstring.c" ]
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-    deps = [
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  executable("genversion") {
-    sources = [ "source/patched-yasm/modules/preprocs/nasm/genversion.c" ]
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-    ]
-    deps = [
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  config("re2c_warnings") {
-    # re2c is missing CLOSEVOP from one switch.
-    if (is_clang) {
-      cflags = [
-        # re2c is missing CLOSEVOP from one switch.
-        "-Wno-switch",
-
-        # re2c contains many static functions in headers (because it's
-        # a C library predating C99.)
-        "-Wno-unused-function",
-      ]
-    }
-  }
-
-  executable("re2c") {
-    sources = [
-      "source/patched-yasm/tools/re2c/actions.c",
-      "source/patched-yasm/tools/re2c/code.c",
-      "source/patched-yasm/tools/re2c/dfa.c",
-      "source/patched-yasm/tools/re2c/main.c",
-      "source/patched-yasm/tools/re2c/mbo_getopt.c",
-      "source/patched-yasm/tools/re2c/parser.c",
-      "source/patched-yasm/tools/re2c/scanner.c",
-      "source/patched-yasm/tools/re2c/substr.c",
-      "source/patched-yasm/tools/re2c/translate.c",
-    ]
-
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-
-      # Must be after no_chromium_code for warning flags to be ordered
-      # correctly.
-      ":re2c_warnings",
-    ]
-    deps = [
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  config("yasm_warnings") {
-    if (is_clang) {
-      cflags = [
-        # reg3264type in x86expr.c is unused.
-        "-Wno-unused-local-typedef",
-      ]
-    } else if (is_linux) {
-      cflags = [
-        # dosexe_objfmt_output ignores the return value of ftruncate.
-        "-Wno-unused-result",
-      ]
-    }
-  }
-
-  executable("yasm") {
-    sources = [
-      "source/patched-yasm/frontends/yasm/yasm-options.c",
-      "source/patched-yasm/frontends/yasm/yasm.c",
-      "source/patched-yasm/libyasm/assocdat.c",
-      "source/patched-yasm/libyasm/bc-align.c",
-      "source/patched-yasm/libyasm/bc-data.c",
-      "source/patched-yasm/libyasm/bc-incbin.c",
-      "source/patched-yasm/libyasm/bc-org.c",
-      "source/patched-yasm/libyasm/bc-reserve.c",
-      "source/patched-yasm/libyasm/bitvect.c",
-      "source/patched-yasm/libyasm/bytecode.c",
-      "source/patched-yasm/libyasm/errwarn.c",
-      "source/patched-yasm/libyasm/expr.c",
-      "source/patched-yasm/libyasm/file.c",
-      "source/patched-yasm/libyasm/floatnum.c",
-      "source/patched-yasm/libyasm/hamt.c",
-      "source/patched-yasm/libyasm/insn.c",
-      "source/patched-yasm/libyasm/intnum.c",
-      "source/patched-yasm/libyasm/inttree.c",
-      "source/patched-yasm/libyasm/linemap.c",
-      "source/patched-yasm/libyasm/md5.c",
-      "source/patched-yasm/libyasm/mergesort.c",
-      "source/patched-yasm/libyasm/section.c",
-      "source/patched-yasm/libyasm/strcasecmp.c",
-      "source/patched-yasm/libyasm/strsep.c",
-      "source/patched-yasm/libyasm/symrec.c",
-      "source/patched-yasm/libyasm/valparam.c",
-      "source/patched-yasm/libyasm/value.c",
-      "source/patched-yasm/modules/arch/lc3b/lc3barch.c",
-      "source/patched-yasm/modules/arch/lc3b/lc3bbc.c",
-      "source/patched-yasm/modules/arch/x86/x86arch.c",
-      "source/patched-yasm/modules/arch/x86/x86bc.c",
-      "source/patched-yasm/modules/arch/x86/x86expr.c",
-      "source/patched-yasm/modules/arch/x86/x86id.c",
-      "source/patched-yasm/modules/dbgfmts/codeview/cv-dbgfmt.c",
-      "source/patched-yasm/modules/dbgfmts/codeview/cv-symline.c",
-      "source/patched-yasm/modules/dbgfmts/codeview/cv-type.c",
-      "source/patched-yasm/modules/dbgfmts/dwarf2/dwarf2-aranges.c",
-      "source/patched-yasm/modules/dbgfmts/dwarf2/dwarf2-dbgfmt.c",
-      "source/patched-yasm/modules/dbgfmts/dwarf2/dwarf2-info.c",
-      "source/patched-yasm/modules/dbgfmts/dwarf2/dwarf2-line.c",
-      "source/patched-yasm/modules/dbgfmts/null/null-dbgfmt.c",
-      "source/patched-yasm/modules/dbgfmts/stabs/stabs-dbgfmt.c",
-      "source/patched-yasm/modules/listfmts/nasm/nasm-listfmt.c",
-      "source/patched-yasm/modules/objfmts/bin/bin-objfmt.c",
-      "source/patched-yasm/modules/objfmts/coff/coff-objfmt.c",
-      "source/patched-yasm/modules/objfmts/coff/win64-except.c",
-      "source/patched-yasm/modules/objfmts/dbg/dbg-objfmt.c",
-      "source/patched-yasm/modules/objfmts/elf/elf-objfmt.c",
-      "source/patched-yasm/modules/objfmts/elf/elf-x86-amd64.c",
-      "source/patched-yasm/modules/objfmts/elf/elf-x86-x32.c",
-      "source/patched-yasm/modules/objfmts/elf/elf-x86-x86.c",
-      "source/patched-yasm/modules/objfmts/elf/elf.c",
-      "source/patched-yasm/modules/objfmts/macho/macho-objfmt.c",
-      "source/patched-yasm/modules/objfmts/rdf/rdf-objfmt.c",
-      "source/patched-yasm/modules/objfmts/xdf/xdf-objfmt.c",
-      "source/patched-yasm/modules/parsers/gas/gas-parse-intel.c",
-      "source/patched-yasm/modules/parsers/gas/gas-parse.c",
-      "source/patched-yasm/modules/parsers/gas/gas-parser.c",
-      "source/patched-yasm/modules/parsers/nasm/nasm-parse.c",
-      "source/patched-yasm/modules/parsers/nasm/nasm-parser.c",
-      "source/patched-yasm/modules/preprocs/cpp/cpp-preproc.c",
-      "source/patched-yasm/modules/preprocs/gas/gas-eval.c",
-      "source/patched-yasm/modules/preprocs/gas/gas-preproc.c",
-      "source/patched-yasm/modules/preprocs/nasm/nasm-eval.c",
-      "source/patched-yasm/modules/preprocs/nasm/nasm-pp.c",
-      "source/patched-yasm/modules/preprocs/nasm/nasm-preproc.c",
-      "source/patched-yasm/modules/preprocs/nasm/nasmlib.c",
-      "source/patched-yasm/modules/preprocs/raw/raw-preproc.c",
-
-      # Files generated by compile_gperf
-      "$target_gen_dir/x86cpu.c",
-      "$target_gen_dir/x86regtmod.c",
-
-      # Files generated by compile_re2c
-      "$target_gen_dir/gas-token.c",
-      "$target_gen_dir/nasm-token.c",
-
-      # File generated by compile_re2c_lc3b
-      "$target_gen_dir/lc3bid.c",
-
-      # File generated by generate_module
-      "$target_gen_dir/module.c",
-    ]
-
-    configs -= [ "//build/config/compiler:chromium_code" ]
-    configs += [
-      ":yasm_config",
-      "//build/config/compiler:no_chromium_code",
-      "//build/config/compiler:no_incompatible_pointer_warnings",
-
-      # Must be after no_chromium_code for warning flags to be ordered
-      # correctly.
-      ":yasm_warnings",
-    ]
-
-    configs -= configs_to_delete
-    configs += configs_to_add
-
-    # Yasm generates a bunch of .c files which its source file #include. These
-    # are placed in |yasm_gen_include_dir|.
-    include_dirs = [ yasm_gen_include_dir ]
-
-    if (!is_win) {
-      cflags = [
-        "-std=c89",
-        "-pedantic",
-      ]
-    }
-
-    # TODO(ajwong): This should take most of the generated output as
-    # inputs.
-    deps = [
-      ":compile_gperf",
-      ":compile_gperf_for_include",
-      ":compile_nasm_macros",
-      ":compile_nasm_version",
-      ":compile_re2c",
-      ":compile_re2c_lc3b",
-      ":compile_win64_gas",
-      ":compile_win64_nasm",
-      ":generate_license",
-      ":generate_module",
-      ":generate_version",
-      ":yasm_utils",
-
-      # Default manifest on Windows (a no-op elsewhere).
-      "//build/win:default_exe_manifest",
-    ]
-  }
-
-  compiled_action_foreach("compile_gperf") {
-    tool = ":genperf"
-    sources = [
-      "source/patched-yasm/modules/arch/x86/x86cpu.gperf",
-      "source/patched-yasm/modules/arch/x86/x86regtmod.gperf",
-    ]
-
-    outputs = [ "$target_gen_dir/{{source_name_part}}.c" ]
-    args = [
-      "{{source}}",
-      rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.c",
-    ]
-  }
-
-  # This differs from |compile_gperf| in where it places it output files.
-  compiled_action_foreach("compile_gperf_for_include") {
-    tool = ":genperf"
-    sources = [
-      # Make sure the generated gperf files in $target_gen_dir are synced with
-      # the outputs for the related generate_*_insn actions in the
-      # generate_files target below.
-      #
-      # The output for these two are #included by
-      #   source/patched-yasm/modules/arch/x86/x86id.c
-      "source/patched-yasm/x86insn_gas.gperf",
-      "source/patched-yasm/x86insn_nasm.gperf",
-    ]
-
-    outputs = [ "$yasm_gen_include_dir/{{source_name_part}}.c" ]
-    args = [
-      "{{source}}",
-      rebase_path(yasm_gen_include_dir, root_build_dir) +
-          "/{{source_name_part}}.c",
-    ]
-  }
-
-  template("compile_macro") {
-    compiled_action(target_name) {
-      tool = ":genmacro"
-
-      # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-      inputs = invoker.sources
-      outputs = invoker.outputs
-      args = [
-        rebase_path(outputs[0], root_build_dir),
-        invoker.macro_varname,
-        rebase_path(inputs[0], root_build_dir),
-      ]
-      if (defined(invoker.deps)) {
-        deps = invoker.deps
-      }
-    }
-  }
-
-  compile_macro("compile_nasm_macros") {
-    # Output #included by
-    #   source/patched-yasm/modules/preprocs/nasm/nasm-parser.c
-    sources = [ "source/patched-yasm/modules/parsers/nasm/nasm-std.mac" ]
-    outputs = [ "$yasm_gen_include_dir/nasm-macros.c" ]
-    macro_varname = "nasm_standard_mac"
-  }
-
-  compile_macro("compile_nasm_version") {
-    # Output #included by
-    #   source/patched-yasm/modules/preprocs/nasm/nasm-preproc.c
-    sources = [ "$target_gen_dir/$version_file" ]
-    outputs = [ "$yasm_gen_include_dir/nasm-version.c" ]
-    macro_varname = "nasm_version_mac"
-    deps = [ ":generate_version" ]
-  }
-
-  compile_macro("compile_win64_gas") {
-    # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    sources = [ "source/patched-yasm/modules/objfmts/coff/win64-gas.mac" ]
-    outputs = [ "$yasm_gen_include_dir/win64-gas.c" ]
-    macro_varname = "win64_gas_stdmac"
-  }
-
-  compile_macro("compile_win64_nasm") {
-    # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    sources = [ "source/patched-yasm/modules/objfmts/coff/win64-nasm.mac" ]
-    outputs = [ "$yasm_gen_include_dir/win64-nasm.c" ]
-    macro_varname = "win64_nasm_stdmac"
-  }
-
-  compiled_action_foreach("compile_re2c") {
-    tool = ":re2c"
-    sources = [
-      "source/patched-yasm/modules/parsers/gas/gas-token.re",
-      "source/patched-yasm/modules/parsers/nasm/nasm-token.re",
-    ]
-    outputs = [ "$target_gen_dir/{{source_name_part}}.c" ]
-    args = [
-      "-b",
-      "-o",
-      rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.c",
-      "{{source}}",
-    ]
-  }
-
-  # This call doesn't fit into the re2c template above.
-  compiled_action("compile_re2c_lc3b") {
-    tool = ":re2c"
-    inputs = [ "source/patched-yasm/modules/arch/lc3b/lc3bid.re" ]
-    outputs = [ "$target_gen_dir/lc3bid.c" ]
-    args = [
-      "-s",
-      "-o",
-      rebase_path(outputs[0], root_build_dir),
-      rebase_path(inputs[0], root_build_dir),
-    ]
-  }
-
-  compiled_action("generate_license") {
-    tool = ":genstring"
-
-    # Output #included by source/patched-yasm/frontends/yasm/yasm.c.
-    inputs = [ "source/patched-yasm/COPYING" ]
-    outputs = [ "$yasm_gen_include_dir/license.c" ]
-    args = [
-      "license_msg",
-      rebase_path(outputs[0], root_build_dir),
-      rebase_path(inputs[0], root_build_dir),
-    ]
-  }
-
-  compiled_action("generate_module") {
-    tool = ":genmodule"
-    inputs = [
-      "source/patched-yasm/libyasm/module.in",
-      config_makefile,
-    ]
-    outputs = [ "$target_gen_dir/module.c" ]
-    args = [
-      rebase_path(inputs[0], root_build_dir),
-      rebase_path(config_makefile, root_build_dir),
-      rebase_path(outputs[0], root_build_dir),
-    ]
-  }
-
-  compiled_action("generate_version") {
-    tool = ":genversion"
-    outputs = [ "$target_gen_dir/$version_file" ]
-    args = [ rebase_path(outputs[0], root_build_dir) ]
-  }
-}
diff --git a/third_party/yasm/CHROMIUM.diff b/third_party/yasm/CHROMIUM.diff
deleted file mode 100644
index 2ff0a6b..0000000
--- a/third_party/yasm/CHROMIUM.diff
+++ /dev/null
@@ -1,102 +0,0 @@
-diff --git a/frontends/tasm/tasm.c b/frontends/tasm/tasm.c
-index 58954b6..568f478 100644
---- a/frontends/tasm/tasm.c
-+++ b/frontends/tasm/tasm.c
-@@ -228,7 +228,6 @@ static opt_option options[] =
- /* version message */
- /*@observer@*/ static const char *version_msg[] = {
-     PACKAGE_STRING,
--    "Compiled on " __DATE__ ".",
-     "Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.",
-     "Run yasm --license for licensing overview and summary."
- };
-diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c
-index ff4c59e..015ae8d 100644
---- a/frontends/yasm/yasm.c
-+++ b/frontends/yasm/yasm.c
-@@ -217,7 +217,6 @@ static opt_option options[] =
- /* version message */
- /*@observer@*/ static const char *version_msg[] = {
-     PACKAGE_STRING,
--    "Compiled on " __DATE__ ".",
-     "Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.",
-     "Run yasm --license for licensing overview and summary."
- };
-diff --git a/libyasm/genmodule.c b/libyasm/genmodule.c
-index 867d93a..027e2fe 100644
---- a/libyasm/genmodule.c
-+++ b/libyasm/genmodule.c
-@@ -58,9 +58,14 @@ main(int argc, char *argv[])
-     include *inc;
-     int isam = 0;
-     int linecont = 0;
--
--    if (argc != 3) {
--        fprintf(stderr, "Usage: %s <module.in> <Makefile[.am]>\n", argv[0]);
-+    char *outfile;
-+
-+    if (argc == 3) {
-+        outfile = OUTPUT;
-+    } else if (argc == 4) {
-+        outfile = argv[3];
-+    } else {
-+        fprintf(stderr, "Usage: %s <module.in> <Makefile[.am]> [<outfile>]\n", argv[0]);
-         return EXIT_FAILURE;
-     }
- 
-@@ -167,10 +172,10 @@ keepgoing:
-         fclose(in);
-     }
- 
--    out = fopen(OUTPUT, "wt");
-+    out = fopen(outfile, "wt");
- 
-     if (!out) {
--        fprintf(stderr, "Could not open `%s'.\n", OUTPUT);
-+        fprintf(stderr, "Could not open `%s'.\n", outfile);
-         return EXIT_FAILURE;
-     }
- 
-@@ -181,7 +186,7 @@ keepgoing:
-     if (!in) {
-         fprintf(stderr, "Could not open `%s'.\n", argv[1]);
-         fclose(out);
--        remove(OUTPUT);
-+        remove(outfile);
-         return EXIT_FAILURE;
-     }
- 
-diff --git a/tools/genperf/perfect.c b/tools/genperf/perfect.c
-index a9a14c0..e45f9c5 100644
---- a/tools/genperf/perfect.c
-+++ b/tools/genperf/perfect.c
-@@ -563,7 +563,7 @@ static int perfect(
-         if (!augment(tabb, tabh, tabq, blen, scramble, smax, &tabb[i], nkeys, 
-                      i+1, form))
-         {
--          fprintf(stderr, "fail to map group of size %ld for tab size %ld\n", j, blen);
-+          /* Do not print an error. The caller may retry with a larger table. */
-           return FALSE;
-         }
- 
-diff --git a/tools/re2c/parser.c b/tools/re2c/parser.c
-index 02d5c66..b3882af 100644
---- a/tools/re2c/parser.c
-+++ b/tools/re2c/parser.c
-@@ -226,15 +226,9 @@ void line_source(FILE *o, unsigned int line)
- }
- 
- void parse(FILE *i, FILE *o){
--    time_t now;
--
--    time(&now);
--
-     peektok = NONE;
- 
--    fputs("/* Generated by re2c 0.9.1-C on ", o);
--    fprintf(o, "%-24s", ctime(&now));
--    fputs(" */\n", o); oline+=2;
-+    fputs("/* Generated by re2c 0.9.1-C */\n", o); oline++;
- 
-     in = Scanner_new(i);
- 
diff --git a/third_party/yasm/OWNERS b/third_party/yasm/OWNERS
deleted file mode 100644
index 1967bf5..0000000
--- a/third_party/yasm/OWNERS
+++ /dev/null
@@ -1 +0,0 @@
-thestig@chromium.org
diff --git a/third_party/yasm/README.pdfium b/third_party/yasm/README.pdfium
deleted file mode 100644
index 41da312..0000000
--- a/third_party/yasm/README.pdfium
+++ /dev/null
@@ -1,126 +0,0 @@
-Name: yasm
-URL: http://www.tortall.net/projects/yasm/
-Version: 1.3.0
-License: 2-clause or 3-clause BSD licensed, with the exception of bitvect, which is triple-licensed under the Artistic license, GPL, and LGPL
-License File: source/patched-yasm/COPYING
-License Android Compatible: yes
-Security Critical: no
-
-Source: http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
-SHA-512: 572d3b45568b10f58e48f1188c2d6bcbdd16429c8afaccc8c6d37859b45635e1
-         06885d679e41d0bee78c23822108c7ae75aa7475eed5ba58057e0a6fe1b68645
-
-With these patches applied:
-* CHROMIUM.diff: Combined patch from Chromium.
-  See Chromium's third_party/yasm/README.chromium for details.
-
-
-See also the BUILD.gn file for a description of the yasm build process.
-
-Instructions for recreating the BUILD.gn file.
-  1) Update yasm and re-apply the patches.
-
-  2) Make a copy of source in a different directory (e.g., /tmp/yasm_build) and
-     run configure. Using another directory will keep the source tree clean. An
-     out-of-tree build does not appear to work reliably as of yasm 1.3.0.
-
-  3) Next, capture all the output from a build of yasm.  We will use the build
-     log as a reference for BUILD.gn.
-
-       make yasm > yasm_build_log 2> yasm_build_err
-
-  4) Check yasm_build_err to see if there are any anomalies beyond yasm's
-     compiler warnings.
-
-  5) Grab the generated libyasm-stdint.h and config.h and put into the correct
-     platform location.
-
-       src/third_party/yasm/source/config/[platform]
-
-     For android platform, copy the files generated for linux, but make sure
-     that ENABLE_NLS is not defined to allow mac host compiles to work.  For
-     ios, copy the files from mac.  For win, copy the libyasm-stdint.h from
-     linux and fix up config.h.
-
-     Find the YASM_MODULES line in the generated Makefile and update
-     src/third_party/yasm/source/config/Makefile. It is needed by the
-     "genmodule" subprogram as input for creating the available modules list.
-
-  6) Make sure all the subprograms are represented in BUILD.gn.
-
-       grep -w gcc yasm_build_log  |
-       grep -v ' -DHAVE_CONFIG_H '
-
-     The yasm build creates a bunch of subprograms that in-turn generate
-     more .c files in the build. Luckily the commands to generate the
-     subprogram do not have -DHAVE_CONFIG_H as a cflag.
-
-     From this list, make sure all the subprograms that are build have
-     appropriate targets in the BUILD.gn.
-
-     You will notice, when you get to the next step, that there are some
-     .c source files that are compiled both for yasm, and for genperf.
-
-     Those should go into the yasm_utils target so that they can be shared by
-     the genperf and yasm targets. Find the files used by genperf by appending
-
-       | grep 'gp-'
-
-     to the command above. Then grep for them without the 'gp-' prefix to see if
-     they are used in yasm as well.
-
-  7) Find all the source files used to build yasm proper.
-
-       grep -w gcc yasm_build_log  |
-       grep ' -DHAVE_CONFIG_H ' |
-       sed -e 's/[&\\]*$//' |  # Remove any trailing '&&'s and '\'s.
-       awk '{print $NF }' |
-       sed -e "s/'\.\/'\`//" |  # Removes some garbage from the build line.
-       sort -u |
-       sed -e 's/\(.*\)/      "source\/patched-yasm\/\1",/'
-
-     Reversing the -DHAVE_CONFIG_H filter from the command above should
-     list the compile lines for yasm proper.
-
-     This should get you close, but you will need to manually examine this
-     list.  However, some of the built products are still included in the
-     command above.  Generally, if the source file is in the root directory,
-     it's a generated file.  Also remove the sources in the yasm_utils target.
-
-     Inspect the current BUILD.gn for a list of the subprograms and their
-     outputs.
-
-     Update the sources list in the yasm target accordingly.  Read step #9
-     as well if you update the source list to avoid problems.
-
-  8) Update the actions for each of the subprograms.
-
-     Here is the real fun.  For each subprogram created, you will need to
-     update the actions and rules in BUILD.gn that invoke the subprogram to
-     generate the files needed by the rest of the build.
-
-     I don't have any good succinct instructions for this.  Grep the build
-     log for each subprogram invocation (eg., "./genversion"), look at
-     its command inputs and output, then verify our BUILD.gn does something
-     similar.
-
-     The good news is things likely only link or compile if this is done
-     right so you'll know if there is a problem.
-
-     Again, refer to the existing BUILD.gn for a guide to how the generated
-     files are used.
-
-     Here are a few gotchas:
-       1) genmodule, by default, writes module.c into the current
-          directory.  This does not play nicely with gn.  We have a patch
-          to allow specifying a specific output file.
-
-       2) Most of the generated files, even though they are .c files, are
-          #included by other files in the build.  Make sure they end up
-          in yasm_gen_include_dir.
-
-       3) Some of the genperf output is #included while others need to be
-          compiled directly.  That is why there are 2 different rules for
-          .gperf files in two targets.
-
-  9) If all that's is finished, attempt to build....and cross your fingers.
diff --git a/third_party/yasm/run_yasm.py b/third_party/yasm/run_yasm.py
deleted file mode 100644
index a257295..0000000
--- a/third_party/yasm/run_yasm.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""A wrapper to run yasm.
-
-Its main job is to provide a Python wrapper for GN integration, and to write
-the makefile-style output yasm generates in stdout to a .d file for dependency
-management of .inc files.
-
-Run with:
-  python run_yasm.py <yasm_binary_path> <all other yasm args>
-
-Note that <all other yasm args> must include an explicit output file (-o). This
-script will append a ".d" to this and write the dependencies there. This script
-will add "-M" to cause yasm to write the deps to stdout, so you don't need to
-specify that.
-"""
-
-import argparse
-import os
-import sys
-import subprocess
-
-# Extract the output file name from the yasm command line so we can generate a
-# .d file with the same base name.
-parser = argparse.ArgumentParser()
-parser.add_argument("-o", dest="objfile")
-options, _ = parser.parse_known_args()
-
-objfile = options.objfile
-depfile = objfile + '.d'
-
-# Set up environment for yasm.
-# Setting YASM_TEST_SUITE makes yasm output deterministic:
-# - the PE/COFF timestamp field is always 0 (this breaks link.exe /incremental,
-#   but we no longer user link.exe)
-# - in debug info, yasm identifies itself as "yasm HEAD" instead of e.g.
-#   "yasm 1.3.0" (we don't care much about this effect)
-# - in debug info, file paths are no longer absolute but relative to '.'
-os.environ['YASM_TEST_SUITE'] = '1'
-
-# Assemble.
-result_code = subprocess.call(sys.argv[1:])
-if result_code != 0:
-  sys.exit(result_code)
-
-# Now generate the .d file listing the dependencies. The -M option makes yasm
-# write the Makefile-style dependencies to stdout, but it seems that inhibits
-# generating any compiled output so we need to do this in a separate pass.
-# However, outputting deps seems faster than actually assembling, and yasm is
-# so fast anyway this is not a big deal.
-#
-# This guarantees proper dependency management for assembly files. Otherwise,
-# we would have to require people to manually specify the .inc files they
-# depend on in the build file, which will surely be wrong or out-of-date in
-# some cases.
-deps = subprocess.check_output(sys.argv[1:] + ['-M'])
-with open(depfile, "wb") as f:
-  f.write(deps)
-
diff --git a/third_party/yasm/source/config/Makefile b/third_party/yasm/source/config/Makefile
deleted file mode 100644
index 59dc34d..0000000
--- a/third_party/yasm/source/config/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# The YASM_MODULES line below is extracted from the Makefile generated by the
-# configure script.
-YASM_MODULES = arch_x86 arch_lc3b listfmt_nasm parser_gas parser_gnu \
-	parser_nasm parser_tasm preproc_nasm preproc_tasm preproc_raw \
-	preproc_cpp preproc_gas dbgfmt_cv8 dbgfmt_dwarf2 dbgfmt_null \
-	dbgfmt_stabs objfmt_dbg objfmt_bin objfmt_dosexe objfmt_elf \
-	objfmt_elf32 objfmt_elf64 objfmt_elfx32 objfmt_coff \
-	objfmt_macho objfmt_macho32 objfmt_macho64 objfmt_rdf \
-	objfmt_win32 objfmt_win64 objfmt_x64 objfmt_xdf
diff --git a/third_party/yasm/source/config/android/config.h b/third_party/yasm/source/config/android/config.h
deleted file mode 100644
index d1b5ab4..0000000
--- a/third_party/yasm/source/config/android/config.h
+++ /dev/null
@@ -1,173 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-/* #undef HAVE_CFLOCALECOPYCURRENT */
-
-/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
-   the CoreFoundation framework. */
-/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-#define HAVE_DCGETTEXT 1
-
-/* Define to 1 if you have the <direct.h> header file. */
-/* #undef HAVE_DIRECT_H */
-
-/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-#define HAVE_GETTEXT 1
-
-/* Define to 1 if you have the GNU C Library */
-#define HAVE_GNU_C_LIBRARY 1
-
-/* Define if you have the iconv() function and it works. */
-/* #undef HAVE_ICONV */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-#define HAVE_LIBGEN_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-/* #undef HAVE_MERGESORT */
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.3.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.3.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.3.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/android/libyasm-stdint.h b/third_party/yasm/source/config/android/libyasm-stdint.h
deleted file mode 100644
index b9ce696..0000000
--- a/third_party/yasm/source/config/android/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.3.0"
-/* generated using gcc -std=gnu99 */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/source/config/ios/config.h b/third_party/yasm/source/config/ios/config.h
deleted file mode 100644
index 01695d6..0000000
--- a/third_party/yasm/source/config/ios/config.h
+++ /dev/null
@@ -1,173 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-#define HAVE_CFLOCALECOPYCURRENT 1
-
-/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
-   the CoreFoundation framework. */
-#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-/* #undef HAVE_DCGETTEXT */
-
-/* Define to 1 if you have the <direct.h> header file. */
-/* #undef HAVE_DIRECT_H */
-
-/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-/* #undef HAVE_GETTEXT */
-
-/* Define to 1 if you have the GNU C Library */
-/* #undef HAVE_GNU_C_LIBRARY */
-
-/* Define if you have the iconv() function and it works. */
-#define HAVE_ICONV 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-#define HAVE_LIBGEN_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-#define HAVE_MERGESORT 1
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.3.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.3.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.3.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/ios/libyasm-stdint.h b/third_party/yasm/source/config/ios/libyasm-stdint.h
deleted file mode 100644
index 5780da8..0000000
--- a/third_party/yasm/source/config/ios/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.3.0"
-/* generated using gcc */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/source/config/linux/config.h b/third_party/yasm/source/config/linux/config.h
deleted file mode 100644
index 6ca1f6a..0000000
--- a/third_party/yasm/source/config/linux/config.h
+++ /dev/null
@@ -1,173 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-#define ENABLE_NLS 1
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-/* #undef HAVE_CFLOCALECOPYCURRENT */
-
-/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
-   the CoreFoundation framework. */
-/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-#define HAVE_DCGETTEXT 1
-
-/* Define to 1 if you have the <direct.h> header file. */
-/* #undef HAVE_DIRECT_H */
-
-/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-#define HAVE_GETTEXT 1
-
-/* Define to 1 if you have the GNU C Library */
-#define HAVE_GNU_C_LIBRARY 1
-
-/* Define if you have the iconv() function and it works. */
-/* #undef HAVE_ICONV */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-#define HAVE_LIBGEN_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-/* #undef HAVE_MERGESORT */
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.3.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.3.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.3.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/linux/libyasm-stdint.h b/third_party/yasm/source/config/linux/libyasm-stdint.h
deleted file mode 100644
index b9ce696..0000000
--- a/third_party/yasm/source/config/linux/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.3.0"
-/* generated using gcc -std=gnu99 */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/source/config/mac/config.h b/third_party/yasm/source/config/mac/config.h
deleted file mode 100644
index 01695d6..0000000
--- a/third_party/yasm/source/config/mac/config.h
+++ /dev/null
@@ -1,173 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-#define HAVE_CFLOCALECOPYCURRENT 1
-
-/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
-   the CoreFoundation framework. */
-#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-/* #undef HAVE_DCGETTEXT */
-
-/* Define to 1 if you have the <direct.h> header file. */
-/* #undef HAVE_DIRECT_H */
-
-/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-/* #undef HAVE_GETTEXT */
-
-/* Define to 1 if you have the GNU C Library */
-/* #undef HAVE_GNU_C_LIBRARY */
-
-/* Define if you have the iconv() function and it works. */
-#define HAVE_ICONV 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-#define HAVE_LIBGEN_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-#define HAVE_MERGESORT 1
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.3.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.3.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.3.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/mac/libyasm-stdint.h b/third_party/yasm/source/config/mac/libyasm-stdint.h
deleted file mode 100644
index 5780da8..0000000
--- a/third_party/yasm/source/config/mac/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.3.0"
-/* generated using gcc */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/source/config/openbsd/config.h b/third_party/yasm/source/config/openbsd/config.h
deleted file mode 100644
index 4f74288..0000000
--- a/third_party/yasm/source/config/openbsd/config.h
+++ /dev/null
@@ -1,165 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-/* #undef HAVE_DCGETTEXT */
-
-/* Define to 1 if you have the <direct.h> header file. */
-/* #undef HAVE_DIRECT_H */
-
-/* Define to 1 if you have the `ftruncate' function. */
-#define HAVE_FTRUNCATE 1
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-/* #undef HAVE_GETTEXT */
-
-/* Define to 1 if you have the GNU C Library */
-/* #undef HAVE_GNU_C_LIBRARY */
-
-/* Define if you have the iconv() function and it works. */
-/* #undef HAVE_ICONV */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-#define HAVE_LIBGEN_H 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-#define HAVE_MERGESORT 1
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-#define HAVE_STRCASECMP 1
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-#define HAVE_STRSEP 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.2.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.2.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.2.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/openbsd/libyasm-stdint.h b/third_party/yasm/source/config/openbsd/libyasm-stdint.h
deleted file mode 100644
index b875214..0000000
--- a/third_party/yasm/source/config/openbsd/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.1.0"
-/* generated using gcc -std=gnu99 */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/source/config/win/config.h b/third_party/yasm/source/config/win/config.h
deleted file mode 100644
index 12c081d..0000000
--- a/third_party/yasm/source/config/win/config.h
+++ /dev/null
@@ -1,173 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.ac by autoheader.  */
-
-/* Command name to run C preprocessor */
-#define CPP_PROG "cc -E"
-
-/* */
-/* #undef ENABLE_NLS */
-
-/* Define to 1 if you have the `abort' function. */
-#define HAVE_ABORT 1
-
-/* */
-/* #undef HAVE_CATGETS */
-
-/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-/* #undef HAVE_CFLOCALECOPYCURRENT */
-
-/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue i
-   the CoreFoundation framework. */
-/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-#define HAVE_DCGETTEXT 1
-
-/* Define to 1 if you have the <direct.h> header file. */
-#define HAVE_DIRECT_H 1
-
-/* Define to 1 if you have the `ftruncate' function. */
-/* #undef HAVE_FTRUNCATE */
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* */
-#define HAVE_GETTEXT 1
-
-/* Define to 1 if you have the GNU C Library */
-/* #undef HAVE_GNU_C_LIBRARY */
-
-/* Define if you have the iconv() function and it works. */
-/* #undef HAVE_ICONV */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* */
-/* #undef HAVE_LC_MESSAGES */
-
-/* Define to 1 if you have the <libgen.h> header file. */
-/* #undef HAVE_LIBGEN_H */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mergesort' function. */
-/* #undef HAVE_MERGESORT */
-
-/* Define to 1 if you have the `popen' function. */
-/* #undef HAVE_POPEN */
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* */
-/* #undef HAVE_STPCPY */
-
-/* Define to 1 if you have the `strcasecmp' function. */
-/* #undef HAVE_STRCASECMP */
-
-/* Define to 1 if you have the `strcmpi' function. */
-/* #undef HAVE_STRCMPI */
-
-/* Define to 1 if you have the `stricmp' function. */
-/* #undef HAVE_STRICMP */
-
-/* Define to 1 if you have the <strings.h> header file. */
-/* #undef HAVE_STRINGS_H */
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `strncasecmp' function. */
-#define HAVE_STRNCASECMP 1
-
-/* Define to 1 if you have the `strsep' function. */
-/* #undef HAVE_STRSEP */
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the `toascii' function. */
-#define HAVE_TOASCII 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-/* #undef HAVE_UNISTD_H */
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the `_stricmp' function. */
-/* #undef HAVE__STRICMP */
-
-/* Name of package */
-#define PACKAGE "yasm"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "yasm"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "yasm 1.3.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "yasm"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.3.0"
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* The size of `char', as computed by sizeof. */
-/* #undef SIZEOF_CHAR */
-
-/* The size of `int', as computed by sizeof. */
-/* #undef SIZEOF_INT */
-
-/* The size of `long', as computed by sizeof. */
-/* #undef SIZEOF_LONG */
-
-/* The size of `short', as computed by sizeof. */
-/* #undef SIZEOF_SHORT */
-
-/* The size of `void*', as computed by sizeof. */
-/* #undef SIZEOF_VOIDP */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.3.0"
-
-/* Define if using the dmalloc debugging malloc package */
-/* #undef WITH_DMALLOC */
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
diff --git a/third_party/yasm/source/config/win/libyasm-stdint.h b/third_party/yasm/source/config/win/libyasm-stdint.h
deleted file mode 100644
index b9ce696..0000000
--- a/third_party/yasm/source/config/win/libyasm-stdint.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#ifndef _YASM_LIBYASM_STDINT_H
-#define _YASM_LIBYASM_STDINT_H 1
-#ifndef _GENERATED_STDINT_H
-#define _GENERATED_STDINT_H "yasm 1.3.0"
-/* generated using gcc -std=gnu99 */
-#define _STDINT_HAVE_STDINT_H 1
-#include <stdint.h>
-#endif
-#endif
diff --git a/third_party/yasm/yasm_assemble.gni b/third_party/yasm/yasm_assemble.gni
deleted file mode 100644
index f94fa6b..0000000
--- a/third_party/yasm/yasm_assemble.gni
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# This provides the yasm_assemble() template which uses YASM to assemble
-# assembly files.
-#
-# Files to be assembled with YASM should have an extension of .asm.
-#
-# Parameters
-#
-#   yasm_flags (optional)
-#       [list of strings] Pass additional flags into YASM. These are appended
-#       to the command line. Note that the target machine type and system is
-#       already set up based on the current toolchain so you don't need to
-#       specify these things (see below).
-#
-#       Example: yasm_flags = [ "--force-strict" ]
-#
-#   include_dirs (optional)
-#       [list of dir names] List of additional include dirs. Note that the
-#       source root and the root generated file dir is always added, just like
-#       our C++ build sets up.
-#
-#       Example: include_dirs = [ "//some/other/path", target_gen_dir ]
-#
-#   defines (optional)
-#       [list of strings] List of defines, as with the native code defines.
-#
-#       Example: defines = [ "FOO", "BAR=1" ]
-#
-#   inputs, deps, visibility  (optional)
-#       These have the same meaning as in an action.
-#
-# Example
-#
-#   yasm_assemble("my_yasm_target") {
-#     sources = [
-#       "ultra_optimized_awesome.asm",
-#     ]
-#     include_dirs = [ "assembly_include" ]
-#   }
-
-if (is_mac || is_ios) {
-  if (current_cpu == "x86") {
-    _yasm_flags = [
-      "-fmacho32",
-      "-m",
-      "x86",
-    ]
-  } else if (current_cpu == "x64") {
-    _yasm_flags = [
-      "-fmacho64",
-      "-m",
-      "amd64",
-    ]
-  }
-} else if (is_posix || is_fuchsia) {
-  if (current_cpu == "x86") {
-    _yasm_flags = [
-      "-felf32",
-      "-m",
-      "x86",
-    ]
-  } else if (current_cpu == "x64") {
-    _yasm_flags = [
-      "-DPIC",
-      "-felf64",
-      "-m",
-      "amd64",
-    ]
-  }
-} else if (is_win) {
-  if (current_cpu == "x86") {
-    _yasm_flags = [
-      "-DPREFIX",
-      "-fwin32",
-      "-m",
-      "x86",
-    ]
-  } else if (current_cpu == "x64") {
-    _yasm_flags = [
-      "-fwin64",
-      "-m",
-      "amd64",
-    ]
-  }
-}
-
-if (is_win) {
-  asm_obj_extension = "obj"
-} else {
-  asm_obj_extension = "o"
-}
-
-template("yasm_assemble") {
-  assert(defined(invoker.sources), "Need sources defined for $target_name")
-
-  # Only depend on YASM on x86 systems. Force compilation of .asm files for
-  # ARM to fail.
-  assert(current_cpu == "x86" || current_cpu == "x64")
-
-  action_name = "${target_name}_action"
-  source_set_name = target_name
-
-  action_foreach(action_name) {
-    # Only the source set can depend on this.
-    visibility = [ ":$source_set_name" ]
-
-    script = "//third_party/yasm/run_yasm.py"
-    sources = invoker.sources
-
-    if (defined(invoker.inputs)) {
-      inputs = invoker.inputs
-    }
-
-    # Executable (first in the args). The binary might be in the root build dir
-    # (no cross-compiling) or in a toolchain-specific subdirectory of that
-    # (when cross-compiling).
-    yasm_label = "//third_party/yasm($host_toolchain)"
-    args = [ "./" +  # Force current dir.
-             rebase_path(get_label_info(yasm_label, "root_out_dir") + "/yasm",
-                         root_build_dir) ]
-
-    # Deps.
-    deps = [
-      yasm_label,
-    ]
-    if (defined(invoker.deps)) {
-      deps += invoker.deps
-    }
-
-    # Flags.
-    args += _yasm_flags
-    if (defined(invoker.yasm_flags)) {
-      args += invoker.yasm_flags
-    }
-
-    # User defined include dirs go first.
-    if (defined(invoker.include_dirs)) {
-      foreach(include, invoker.include_dirs) {
-        args += [ "-I" + rebase_path(include, root_build_dir) ]
-      }
-    }
-
-    # Default yasm include dirs. Make it match the native build (source root and
-    # root generated code directory).
-    # This goes to the end of include list.
-    args += [
-      "-I.",
-
-      # Using "//." will produce a relative path "../.." which looks better than
-      # "../../" which will result from using "//" as the base (although both
-      # work). This is because rebase_path will terminate the result in a
-      # slash if the input ends in a slash.
-      "-I" + rebase_path("//.", root_build_dir),
-      "-I" + rebase_path(root_gen_dir, root_build_dir),
-    ]
-
-    # Extra defines.
-    if (defined(invoker.defines)) {
-      foreach(def, invoker.defines) {
-        args += [ "-D$def" ]
-      }
-    }
-
-    # Output file.
-    outputs = [
-      "$target_out_dir/$source_set_name/{{source_name_part}}.o",
-    ]
-    args += [
-      "-o",
-      rebase_path(outputs[0], root_build_dir),
-      "{{source}}",
-    ]
-
-    # The wrapper script run_yasm will write the depfile to the same name as
-    # the output but with .d appended (like gcc will).
-    depfile = outputs[0] + ".d"
-  }
-
-  # Gather the .o files into a linkable thing. This doesn't actually link
-  # anything (a source set just compiles files to link later), but will pass
-  # the object files generated by the action up the dependency chain.
-  static_library(source_set_name) {
-    if (defined(invoker.visibility)) {
-      visibility = invoker.visibility
-    }
-
-    sources = get_target_outputs(":$action_name")
-
-    # Do not publicize any header to remove build dependency.
-    public = []
-
-    deps = [
-      ":$action_name",
-    ]
-  }
-}