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

Unified Diff: third_party/yasm/patched-yasm/tools/python-yasm/setup.py

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 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: third_party/yasm/patched-yasm/tools/python-yasm/setup.py
===================================================================
--- third_party/yasm/patched-yasm/tools/python-yasm/setup.py (revision 71129)
+++ third_party/yasm/patched-yasm/tools/python-yasm/setup.py (working copy)
@@ -26,7 +26,7 @@
from distutils.core import setup
from distutils.extension import Extension
-from Pyrex.Distutils import build_ext
+from Cython.Distutils import build_ext
from os.path import basename, join, exists
def ReadSetup(filename):
@@ -52,8 +52,6 @@
for tok in src.split():
if tok.endswith(".c"):
fn = tok
- elif tok.endswith(".y"):
- fn = basename(tok)[:-2] + ".c"
else:
continue
if not exists(fn):
@@ -74,8 +72,6 @@
sources=sources,
extra_compile_args=cppflags,
include_dirs=incldir,
- library_dirs=['.'],
- libraries=['yasm'],
),
],
cmdclass = dict(build_ext=build_ext),

Powered by Google App Engine
This is Rietveld 408576698