Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: BUILD.gn

Issue 757313004: Remove all remaining obj_int_extract code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698