diff options
Diffstat (limited to 'third_party/python/gyp/test/determinism/solibs.gyp')
-rw-r--r-- | third_party/python/gyp/test/determinism/solibs.gyp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/determinism/solibs.gyp b/third_party/python/gyp/test/determinism/solibs.gyp new file mode 100644 index 0000000000..9ae3246d63 --- /dev/null +++ b/third_party/python/gyp/test/determinism/solibs.gyp @@ -0,0 +1,32 @@ +# Copyright (c) 2015 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# This test both tests solibs and implicit_deps. +{ + 'targets': [ + { + 'target_name': 'a', + 'type': 'shared_library', + 'sources': [ 'solib.cc' ], + }, + { + 'target_name': 'b', + 'type': 'shared_library', + 'sources': [ 'solib.cc' ], + }, + { + 'target_name': 'c', + 'type': 'executable', + 'sources': [ 'main.cc' ], + 'dependencies': [ 'a', 'b' ], + }, + ], + 'conditions': [ + ['OS=="linux"', { + 'target_defaults': { + 'cflags': ['-fPIC'], + }, + }], + ], +} |