Home | History | Annotate | Download | only in src
      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 {
      6   'targets': [
      7     {
      8       'target_name': 'lib',
      9       'product_name': 'test_shared_lib',
     10       'type': 'shared_library',
     11       'sources': [
     12         'prog2.c',
     13         'func.c',
     14         'subdir1/func.c',
     15         'subdir2/func.c',
     16       ],
     17       'defines': [
     18         'PROG="prog2"',
     19       ],
     20       'conditions': [
     21         ['OS=="linux"', {
     22           'cflags': ['-fPIC'],
     23         }],
     24       ],
     25     },
     26   ],
     27 }
     28