summaryrefslogtreecommitdiff
path: root/deps/gyp/test/toplevel-dir
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-06-01 21:01:55 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-04 10:25:02 +0200
commite3ee55b28d0b230d054c9718f79a1f6d685cd62b (patch)
treef54084bc01cffe87464160384e282150f744e55e /deps/gyp/test/toplevel-dir
parentd305fbebeee1b40a405db635e6bb03535296396e (diff)
downloadqtlocation-mapboxgl-e3ee55b28d0b230d054c9718f79a1f6d685cd62b.tar.gz
[build] remove gyp
Diffstat (limited to 'deps/gyp/test/toplevel-dir')
-rwxr-xr-xdeps/gyp/test/toplevel-dir/gyptest-toplevel-dir.py31
-rw-r--r--deps/gyp/test/toplevel-dir/src/sub1/main.gyp18
-rw-r--r--deps/gyp/test/toplevel-dir/src/sub1/prog1.c7
-rw-r--r--deps/gyp/test/toplevel-dir/src/sub2/prog2.c7
-rw-r--r--deps/gyp/test/toplevel-dir/src/sub2/prog2.gyp15
5 files changed, 0 insertions, 78 deletions
diff --git a/deps/gyp/test/toplevel-dir/gyptest-toplevel-dir.py b/deps/gyp/test/toplevel-dir/gyptest-toplevel-dir.py
deleted file mode 100755
index 9e69512dd3..0000000000
--- a/deps/gyp/test/toplevel-dir/gyptest-toplevel-dir.py
+++ /dev/null
@@ -1,31 +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.
-
-"""
-Verifies building a subsidiary dependent target from a .gyp file in a
-subdirectory, without specifying an explicit output build directory,
-and using the subdirectory's solution or project file as the entry point.
-"""
-
-import TestGyp
-import errno
-
-test = TestGyp.TestGyp(formats=['ninja', 'make'])
-
-# We want our Makefile to be one dir up from main.gyp.
-test.run_gyp('main.gyp', '--toplevel-dir=..', chdir='src/sub1')
-
-toplevel_dir = 'src'
-
-test.build('sub1/main.gyp', test.ALL, chdir=toplevel_dir)
-
-test.built_file_must_exist('prog1', type=test.EXECUTABLE, chdir=toplevel_dir)
-
-test.run_built_executable('prog1',
- chdir=toplevel_dir,
- stdout="Hello from prog1.c\n")
-
-test.pass_test()
diff --git a/deps/gyp/test/toplevel-dir/src/sub1/main.gyp b/deps/gyp/test/toplevel-dir/src/sub1/main.gyp
deleted file mode 100644
index 33219010e4..0000000000
--- a/deps/gyp/test/toplevel-dir/src/sub1/main.gyp
+++ /dev/null
@@ -1,18 +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': 'prog1',
- 'type': 'executable',
- 'dependencies': [
- '<(DEPTH)/../sub2/prog2.gyp:prog2',
- ],
- 'sources': [
- 'prog1.c',
- ],
- },
- ],
-}
diff --git a/deps/gyp/test/toplevel-dir/src/sub1/prog1.c b/deps/gyp/test/toplevel-dir/src/sub1/prog1.c
deleted file mode 100644
index 218e99401c..0000000000
--- a/deps/gyp/test/toplevel-dir/src/sub1/prog1.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
- printf("Hello from prog1.c\n");
- return 0;
-}
diff --git a/deps/gyp/test/toplevel-dir/src/sub2/prog2.c b/deps/gyp/test/toplevel-dir/src/sub2/prog2.c
deleted file mode 100644
index 12a31883b9..0000000000
--- a/deps/gyp/test/toplevel-dir/src/sub2/prog2.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-int main(void)
-{
- printf("Hello from prog2.c\n");
- return 0;
-}
diff --git a/deps/gyp/test/toplevel-dir/src/sub2/prog2.gyp b/deps/gyp/test/toplevel-dir/src/sub2/prog2.gyp
deleted file mode 100644
index 5934548369..0000000000
--- a/deps/gyp/test/toplevel-dir/src/sub2/prog2.gyp
+++ /dev/null
@@ -1,15 +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': 'prog2',
- 'type': 'executable',
- 'sources': [
- 'prog2.c',
- ],
- },
- ],
-}