Sha256: 4e7b25aeabc895e5609f947e95f2eac42c8f5e159fef1a93eb4a07e7c199ce9d

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

#!/usr/bin/env python

# Copyright (c) 2009 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 dependencies don't pull unused targets into the build.
"""

import TestGyp

test = TestGyp.TestGyp()

test.run_gyp('extra_targets.gyp',
             '-G', 'xcode_ninja_target_pattern=^a$')

# This should fail if it tries to build 'c_unused' since 'c/c.c' has a syntax
# error and won't compile.
test.build('extra_targets.gyp', test.ALL)

test.pass_test()

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/gyp/test/dependencies/gyptest-extra-targets.py
mt-libuv-4.1.03 ext/gyp/test/dependencies/gyptest-extra-targets.py
mt-libuv-4.1.02 ext/gyp/test/dependencies/gyptest-extra-targets.py
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/externals/gyp/test/dependencies/gyptest-extra-targets.py