Index: BUILD.gn |
=================================================================== |
--- BUILD.gn (revision 293274) |
+++ BUILD.gn (working copy) |
@@ -53,60 +53,6 @@ |
] |
} |
-executable("libvpx_obj_int_extract") { |
- sources = [ |
- "//third_party/libvpx/source/libvpx/build/make/obj_int_extract.c" |
- ] |
- configs += [ ":libvpx_config" ] |
- configs -= [ "//build/config/compiler:chromium_code" ] |
- configs += [ "//build/config/compiler:no_chromium_code" ] |
- if (is_android_webview_build) { |
- defines += [ "FORCE_PARSE_ELF" ] |
- include_dirs += [ "//third_party/libvpx/include" ] |
- } |
-} |
- |
-# This works only on POSIX to extract integer values from an object file. |
-template("obj_int_extract") { |
- action(target_name) { |
- script = "//third_party/libvpx/obj_int_extract.py" |
- bin_label = "//third_party/libvpx($host_toolchain)" |
- |
- args = [ |
- "-e", |
- "./" + rebase_path(get_label_info(bin_label, "root_out_dir") + |
- "/libvpx_obj_int_extract", |
- root_build_dir) |
- ] |
- |
- if (cpu_arch == "arm") { |
- args += [ "-f", "gas" ] |
- } else { |
- args += [ "-f", "rvds" ] |
- } |
- |
- if (is_win) { |
- obj_extension = "obj" |
- } else { |
- obj_extension = "o" |
- } |
- |
- args += [ |
- "-b", |
- rebase_path(get_label_info(":libvpx_asm_offsets", "target_out_dir")) + |
- "/" + invoker.src_dir + "/libvpx_asm_offsets." + |
- invoker.obj_file_root + ".${obj_extension}" |
- ] |
- out_file = "$target_gen_dir/" + invoker.obj_file_root + ".asm" |
- args += [ "-o", rebase_path(out_file) ] |
- outputs = [ out_file ] |
- deps = [ |
- ":libvpx_asm_offsets", |
- ":libvpx_obj_int_extract($host_toolchain)" |
- ] |
- } |
-} |
- |
if (cpu_arch == "x86" || cpu_arch == "x64") { |
yasm_assemble("libvpx_yasm") { |
if (cpu_arch == "x86") { |