Skip to content

Commit

Permalink
Fix copy/paste error in path check.
Browse files Browse the repository at this point in the history
Function file is up above, this should be the variables file.

Test: ./build_symbol_db.py libcamera2ndk
Bug: None
Change-Id: I5ec8a7f3b10a46c984f3e8d3b74caf43ccc77910
  • Loading branch information
DanAlbert committed Sep 14, 2016
1 parent 63cb779 commit 88b0014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk/build_symbol_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def build_symbol_db(lib_name):

vars_file_name = lib_name + '.so.variables.txt'
vars_file = os.path.join(symbols_dir, vars_file_name)
if os.path.exists(funcs_file):
if os.path.exists(vars_file):
add_symbols(symbols, vars_file, version, arch, is_var='true')
return symbols

Expand Down

0 comments on commit 88b0014

Please sign in to comment.