hook_library not getting called I am trying to implement hook_library in my custom module.  To help narrow down the problem, I wrote a dummy module with just the following two functions:  hook_views_api and hook_library.  I put a dsm statement in each of the hooks, to test whether the hook was getting executed.  The hook_views_api hook is getting executed but not the hook_library hook.  Anyone see what I am doing wrong?  

I have tried clearing the cache.
I have tried uninstalling and reinstalling the module.

Here is the code:

// hook_views_api
function mymodule_views_api() {
  $path = drupal_get_path('module', 'mymodule') . '/views';
  dsm ("inside mymodule_views_api");
  return array(
    'api' =&gt; 2,
    'path' =&gt; drupal_get_path('module', 'mymodule') . '/views',
  );
} 

// hook_library
function mymodule_library(){
  dsm ("inside mymodule_library");
  return array();
}
The only function that invokes hook_library() is drupal_get_library(), which is then called by drupal_add_library(), the function that modules call to add a library during a page request. Until one of those functions is not called, hook_library() is not invoked.