def libv8_object(object_name):
    """ Return a path for object_name which is OS independent
    """

    filename = join(V8_LIB_DIRECTORY, 'out.gn/x64.release/obj/{}'.format(object_name))

    if not isfile(filename):
        filename = join(local_path('vendor/v8/out.gn/libv8/obj/{}'.format(object_name)))

    if not isfile(filename):
        filename = join(V8_LIB_DIRECTORY, 'out.gn/x64.release/obj/{}'.format(object_name))

    return filename
def libv8_object ( object_name ) : filename = join ( V8_LIB_DIRECTORY , 'out.gn/x64.release/obj/{}' . format ( object_name ) ) if not isfile ( filename ) : filename = join ( local_path ( 'vendor/v8/out.gn/libv8/obj/{}' . format ( object_name ) ) ) if not isfile ( filename ) : filename = join ( V8_LIB_DIRECTORY , 'out.gn/x64.release/obj/{}' . format ( object_name ) ) return filename
Return a path for object_name which is OS independent