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

Unified Diff: src/third_party/libdisasm/swig/ruby/Makefile-swig

Issue 1821293002: Replace libdisasm with capstone Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 9 months 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
Index: src/third_party/libdisasm/swig/ruby/Makefile-swig
diff --git a/src/third_party/libdisasm/swig/ruby/Makefile-swig b/src/third_party/libdisasm/swig/ruby/Makefile-swig
deleted file mode 100644
index ee4800232c5ad83a47f8b31815599a681056fd27..0000000000000000000000000000000000000000
--- a/src/third_party/libdisasm/swig/ruby/Makefile-swig
+++ /dev/null
@@ -1,68 +0,0 @@
-ifndef BASE_NAME
-BASE_NAME = x86disasm
-endif
-
-ifndef SWIG
-SWIG = swig # apt-get install swig !
-endif
-
-ifndef GCC
-GCC = gcc
-endif
-
-ifndef CC_FLAGS
-CC_FLAGS = -c -fPIC
-endif
-
-ifndef LD_FLAGS
-LD_FLAGS = -shared -L../.. -ldisasm
-endif
-
-LIBDISASM_DIR = ../..
-
-INTERFACE_FILE = libdisasm_oop.i
-
-SWIG_INTERFACE = ../$(INTERFACE_FILE)
-
-# RUBY rules
-RUBY_MAKEFILE = Makefile
-RUBY_MOD = $(BASE_NAME).so
-RUBY_SHADOW = $(BASE_NAME)_wrap.c
-#RUBY_SWIG = $(BASE_NAME).rb
-RUBY_OBJ = $(BASE_NAME)_wrap.o
-RUBY_INC = `ruby -e 'puts $$:.join("\n")' | tail -2 | head -1`
-#RUBY_LIB =
-#RUBY_DEST =
-
-#====================================================
-# TARGETS
-
-all: swig-ruby
-
-dummy: swig-ruby install uninstall clean
-
-swig-ruby: $(RUBY_MOD)
-
-$(RUBY_MOD): $(RUBY_MAKEFILE)
- make
-
-$(RUBY_MAKEFILE): $(RUBY_OBJ)
- ruby extconf.rb
-
-$(RUBY_OBJ):$(RUBY_SHADOW)
- $(GCC) $(CC_FLAGS) -I$(RUBY_INC) -I.. -o $@ $<
-
-$(RUBY_SHADOW): $(SWIG_INTERFACE)
- swig -ruby -o $(RUBY_SHADOW) -outdir . $<
-
-# ==================================================================
-install: $(RUBY_MOD)
- make install
-
-# ==================================================================
-uninstall:
-
-# ==================================================================
-clean:
- make clean || true
- rm $(RUBY_SHADOW) $(RUBY_MAKEFILE) $(RUBY_MOD) $(RUBY_OBJ)

Powered by Google App Engine
This is Rietveld 408576698