summaryrefslogtreecommitdiff
path: root/deps/gyp/test/configurations/inheritance/duplicates.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/configurations/inheritance/duplicates.gyp')
-rw-r--r--deps/gyp/test/configurations/inheritance/duplicates.gyp27
1 files changed, 27 insertions, 0 deletions
diff --git a/deps/gyp/test/configurations/inheritance/duplicates.gyp b/deps/gyp/test/configurations/inheritance/duplicates.gyp
new file mode 100644
index 0000000000..6930ce3b39
--- /dev/null
+++ b/deps/gyp/test/configurations/inheritance/duplicates.gyp
@@ -0,0 +1,27 @@
+# Copyright 2014 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.
+
+{
+ 'target_defaults': {
+ 'default_configuration': 'A',
+ 'configurations': {
+ 'A': {
+ 'defines': ['SOMETHING'],
+ },
+ 'B': {
+ 'inherit_from': ['A'],
+ },
+ },
+ 'cflags': ['-g'],
+ },
+ 'targets': [
+ {
+ 'target_name': 'configurations',
+ 'type': 'executable',
+ 'sources': [
+ 'configurations.c',
+ ],
+ },
+ ],
+}