Home | History | Annotate | Download | only in copy-dylib
      1 # Copyright (c) 2012 Google Inc. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 {
      5   'targets': [
      6     {
      7       'target_name': 'my_dylib',
      8       'type': 'shared_library',
      9       'sources': [ 'empty.c', ],
     10     },
     11     {
     12       'target_name': 'test_app',
     13       'product_name': 'Test App',
     14       'type': 'executable',
     15       'mac_bundle': 1,
     16       'dependencies': [ 'my_dylib', ],
     17       'sources': [
     18         'empty.c',
     19       ],
     20       'copies': [
     21         {
     22           'destination': '<(PRODUCT_DIR)/Test App.app/Contents/Resources',
     23           'files': [
     24             '<(PRODUCT_DIR)/libmy_dylib.dylib',
     25           ],
     26         },
     27       ],
     28     },
     29   ],
     30 }
     31 
     32