Home | History | Annotate | Download | only in gyp_gen

Lines Matching refs:lib

21   '-l<name>' get assigned to var_dict.LOCAL_SHARED_LIBRARIES as 'lib<name>',
22 and entries in the form '[lib]<name>.a' get assigned to
23 var_dict.LOCAL_STATIC_LIBRARIES as 'lib<name>'.
51 for lib in d.get('libraries', []):
52 if lib.endswith('.a'):
54 lib = lib[:-2]
55 # Add 'lib', if necessary
56 if not lib.startswith('lib'):
57 lib = 'lib' + lib
58 var_dict.LOCAL_STATIC_LIBRARIES.add(lib)
60 # lib will be in the form of '-l<name>'. Change it to 'lib<name>'
61 lib = lib.replace('-l', 'lib', 1)
62 var_dict.LOCAL_SHARED_LIBRARIES.add(lib)