Lines Matching +full:valgrind +full:-
5 # Use of this source code is governed by a BSD-style license that can be
26 VALGRIND = 'valgrind-3.15.0' variable
27 TARBALL = '%s.tar.bz2' % VALGRIND
28 DOWNLOAD_URL = 'ftp://sourceware.org/pub/valgrind/%s' % TARBALL
29 TEMP_DIR = os.path.join(tempfile.gettempdir(), 'skia-%s' % VALGRIND)
43 if os.path.isdir(VALGRIND):
55 if os.path.isfile(os.path.join(INSTALL_DIR, 'bin', 'valgrind')):
57 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
58 subprocess.check_call(['./configure', '--prefix=%s' % INSTALL_DIR])
64 with utils.chdir(os.path.join(TEMP_DIR, VALGRIND)):
66 shutil.copy(os.path.join(INSTALL_DIR, 'bin', 'valgrind'),
67 os.path.join(target_dir, 'bin', 'valgrind'))
69 os.mkdir(os.path.join(target_dir, 'lib', 'valgrind'))
70 for lib in ['memcheck-amd64-linux']:
71 shutil.copy(os.path.join(INSTALL_DIR, 'lib', 'valgrind', lib),
72 os.path.join(target_dir, 'lib', 'valgrind', lib))
74 libname = 'vgpreload_%s-amd64-linux.so' % lib
75 shutil.copy(os.path.join(INSTALL_DIR, 'lib', 'valgrind', libname),
76 os.path.join(target_dir, 'lib', 'valgrind', libname))
79 os.path.join(target_dir, 'lib', 'valgrind', 'default.supp'))
99 parser.add_argument('--target_dir', '-t', required=True)