Home | History | Annotate | Download | only in determinism
      1 # Copyright (c) 2015 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 # This test both tests solibs and implicit_deps.
      6 {
      7   'targets': [
      8     {
      9       'target_name': 'a',
     10       'type': 'shared_library',
     11       'sources': [ 'solib.cc' ],
     12     },
     13     {
     14       'target_name': 'b',
     15       'type': 'shared_library',
     16       'sources': [ 'solib.cc' ],
     17     },
     18     {
     19       'target_name': 'c',
     20       'type': 'executable',
     21       'sources': [ 'main.cc' ],
     22       'dependencies': [ 'a', 'b' ],
     23     },
     24   ],
     25   'conditions': [
     26     ['OS=="linux"', {
     27       'target_defaults': {
     28         'cflags': ['-fPIC'],
     29       },
     30     }],
     31   ],
     32 }
     33