media/webrtc/trunk/tools/gyp/test/library/src/shared_dependency.gyp

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 # Copyright (c) 2009 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.
     5 {
     6   'targets': [
     7     {
     8       'target_name': 'lib1',
     9       'type': 'shared_library',
    10       'sources': [
    11         'lib1.c',
    12       ],
    13     },
    14     {
    15       'target_name': 'lib2',
    16       'type': 'shared_library',
    17       'sources': [
    18         'lib2.c',
    19       ],
    20       'dependencies': [
    21         'lib1',
    22       ],
    23     },
    24   ],
    25   'conditions': [
    26     ['OS=="linux"', {
    27       'target_defaults': {
    28         # Support 64-bit shared libs (also works fine for 32-bit).
    29         'cflags': ['-fPIC'],
    30       },
    31     }],
    32   ],
    33 }

mercurial