blob: 87428af459126a24c9ce46424a3aaccbb34b8517 [file] [log] [blame]
#!/usr/bin/env python
# Copyright (c) 2013 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.
Verify that link_settings in a shared_library are not propagated to targets
that depend on the shared_library, but are used in the shared_library itself.
import TestGyp
import sys
test = TestGyp.TestGyp()
test.run_gyp('test.gyp', chdir=CHDIR)'test.gyp', test.ALL, chdir=CHDIR)
test.run_built_executable('program', stdout="1\n2\n", chdir=CHDIR)