<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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