MCPcopy Index your code
hub / github.com/kivy/python-for-android / strip_object_files

Method strip_object_files

pythonforandroid/recipe.py:1172–1182  ·  view source on GitHub ↗
(self, arch, env, build_dir=None)

Source from the content-addressed store, hash-verified

1170 self.strip_object_files(arch, env)
1171
1172 def strip_object_files(self, arch, env, build_dir=None):
1173 if build_dir is None:
1174 build_dir = self.get_build_dir(arch.arch)
1175 with current_directory(build_dir):
1176 info('Stripping object files')
1177 shprint(sh.find, '.', '-iname', '*.so', '-exec',
1178 '/usr/bin/echo', '{}', ';', _env=env)
1179 shprint(sh.find, '.', '-iname', '*.so', '-exec',
1180 env['STRIP'].split(' ')[0], '--strip-unneeded',
1181 # '/usr/bin/strip', '--strip-unneeded',
1182 '{}', ';', _env=env)
1183
1184 def cythonize_file(self, env, build_dir, filename):
1185 short_filename = filename

Callers 2

run_pymodules_installFunction · 0.95

Calls 3

current_directoryFunction · 0.90
shprintFunction · 0.90
get_build_dirMethod · 0.45

Tested by

no test coverage detected