diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-06-01 21:01:55 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-08-04 10:25:02 +0200 |
commit | e3ee55b28d0b230d054c9718f79a1f6d685cd62b (patch) | |
tree | f54084bc01cffe87464160384e282150f744e55e /deps/gyp/test/actions-subdir | |
parent | d305fbebeee1b40a405db635e6bb03535296396e (diff) | |
download | qtlocation-mapboxgl-e3ee55b28d0b230d054c9718f79a1f6d685cd62b.tar.gz |
[build] remove gyp
Diffstat (limited to 'deps/gyp/test/actions-subdir')
-rwxr-xr-x | deps/gyp/test/actions-subdir/gyptest-action.py | 26 | ||||
-rwxr-xr-x | deps/gyp/test/actions-subdir/src/make-file.py | 11 | ||||
-rw-r--r-- | deps/gyp/test/actions-subdir/src/none.gyp | 31 | ||||
-rwxr-xr-x | deps/gyp/test/actions-subdir/src/subdir/make-subdir-file.py | 11 | ||||
-rw-r--r-- | deps/gyp/test/actions-subdir/src/subdir/subdir.gyp | 28 |
5 files changed, 0 insertions, 107 deletions
diff --git a/deps/gyp/test/actions-subdir/gyptest-action.py b/deps/gyp/test/actions-subdir/gyptest-action.py deleted file mode 100755 index 09cfef1893..0000000000 --- a/deps/gyp/test/actions-subdir/gyptest-action.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/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. - -""" -Test actions that output to PRODUCT_DIR. -""" - -import TestGyp - -# TODO fix this for xcode: http://code.google.com/p/gyp/issues/detail?id=88 -test = TestGyp.TestGyp(formats=['!xcode']) - -test.run_gyp('none.gyp', chdir='src') - -test.build('none.gyp', test.ALL, chdir='src') - -file_content = 'Hello from make-file.py\n' -subdir_file_content = 'Hello from make-subdir-file.py\n' - -test.built_file_must_match('file.out', file_content, chdir='src') -test.built_file_must_match('subdir_file.out', subdir_file_content, chdir='src') - -test.pass_test() diff --git a/deps/gyp/test/actions-subdir/src/make-file.py b/deps/gyp/test/actions-subdir/src/make-file.py deleted file mode 100755 index 74e55811d2..0000000000 --- a/deps/gyp/test/actions-subdir/src/make-file.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/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. - -import sys - -contents = 'Hello from make-file.py\n' - -open(sys.argv[1], 'wb').write(contents) diff --git a/deps/gyp/test/actions-subdir/src/none.gyp b/deps/gyp/test/actions-subdir/src/none.gyp deleted file mode 100644 index 23f8d25a53..0000000000 --- a/deps/gyp/test/actions-subdir/src/none.gyp +++ /dev/null @@ -1,31 +0,0 @@ -# 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. - -{ - 'targets': [ - { - 'target_name': 'file', - 'type': 'none', - 'msvs_cygwin_shell': 0, - 'actions': [ - { - 'action_name': 'make-file', - 'inputs': [ - 'make-file.py', - ], - 'outputs': [ - '<(PRODUCT_DIR)/file.out', - ], - 'action': [ - 'python', '<(_inputs)', '<@(_outputs)', - ], - 'process_outputs_as_sources': 1, - } - ], - 'dependencies': [ - 'subdir/subdir.gyp:subdir_file', - ], - }, - ], -} diff --git a/deps/gyp/test/actions-subdir/src/subdir/make-subdir-file.py b/deps/gyp/test/actions-subdir/src/subdir/make-subdir-file.py deleted file mode 100755 index 80ce19ae0e..0000000000 --- a/deps/gyp/test/actions-subdir/src/subdir/make-subdir-file.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/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. - -import sys - -contents = 'Hello from make-subdir-file.py\n' - -open(sys.argv[1], 'wb').write(contents) diff --git a/deps/gyp/test/actions-subdir/src/subdir/subdir.gyp b/deps/gyp/test/actions-subdir/src/subdir/subdir.gyp deleted file mode 100644 index 0315d4eb83..0000000000 --- a/deps/gyp/test/actions-subdir/src/subdir/subdir.gyp +++ /dev/null @@ -1,28 +0,0 @@ -# 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. - -{ - 'targets': [ - { - 'target_name': 'subdir_file', - 'type': 'none', - 'msvs_cygwin_shell': 0, - 'actions': [ - { - 'action_name': 'make-subdir-file', - 'inputs': [ - 'make-subdir-file.py', - ], - 'outputs': [ - '<(PRODUCT_DIR)/subdir_file.out', - ], - 'action': [ - 'python', '<(_inputs)', '<@(_outputs)', - ], - 'process_outputs_as_sources': 1, - } - ], - }, - ], -} |