diff options
Diffstat (limited to 'deps/gyp/test/mac/xcode-env-order')
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/Info.plist | 56 | ||||
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/file.ext1 | 0 | ||||
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/file.ext2 | 0 | ||||
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/file.ext3 | 0 | ||||
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/main.c | 7 | ||||
-rw-r--r-- | deps/gyp/test/mac/xcode-env-order/test.gyp | 121 |
6 files changed, 0 insertions, 184 deletions
diff --git a/deps/gyp/test/mac/xcode-env-order/Info.plist b/deps/gyp/test/mac/xcode-env-order/Info.plist deleted file mode 100644 index e11f21e52d..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/Info.plist +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string></string> - <key>CFBundleIdentifier</key> - <string>com.google.${PRODUCT_NAME}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSMinimumSystemVersion</key> - <string>${MACOSX_DEPLOYMENT_TARGET}</string> - <key>NSMainNibFile</key> - <string>MainMenu</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> - - <key>BraceProcessedKey1</key> - <string>${BRACE_DEPENDENT_KEY1}</string> - <key>BraceProcessedKey2</key> - <string>${BRACE_DEPENDENT_KEY2}</string> - <key>BraceProcessedKey3</key> - <string>${BRACE_DEPENDENT_KEY3}</string> - - <key>ParenProcessedKey1</key> - <string>${PAREN_DEPENDENT_KEY1}</string> - <key>ParenProcessedKey2</key> - <string>${PAREN_DEPENDENT_KEY2}</string> - <key>ParenProcessedKey3</key> - <string>${PAREN_DEPENDENT_KEY3}</string> - - <key>BareProcessedKey1</key> - <string>${BARE_DEPENDENT_KEY1}</string> - <key>BareProcessedKey2</key> - <string>${BARE_DEPENDENT_KEY2}</string> - <key>BareProcessedKey3</key> - <string>${BARE_DEPENDENT_KEY3}</string> - - <key>MixedProcessedKey</key> - <string>${MIXED_DEPENDENT_KEY}</string> -</dict> -</plist> diff --git a/deps/gyp/test/mac/xcode-env-order/file.ext1 b/deps/gyp/test/mac/xcode-env-order/file.ext1 deleted file mode 100644 index e69de29bb2..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/file.ext1 +++ /dev/null diff --git a/deps/gyp/test/mac/xcode-env-order/file.ext2 b/deps/gyp/test/mac/xcode-env-order/file.ext2 deleted file mode 100644 index e69de29bb2..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/file.ext2 +++ /dev/null diff --git a/deps/gyp/test/mac/xcode-env-order/file.ext3 b/deps/gyp/test/mac/xcode-env-order/file.ext3 deleted file mode 100644 index e69de29bb2..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/file.ext3 +++ /dev/null diff --git a/deps/gyp/test/mac/xcode-env-order/main.c b/deps/gyp/test/mac/xcode-env-order/main.c deleted file mode 100644 index 1bf4b2a11a..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/main.c +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright (c) 2011 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. - -int main() { - return 0; -} diff --git a/deps/gyp/test/mac/xcode-env-order/test.gyp b/deps/gyp/test/mac/xcode-env-order/test.gyp deleted file mode 100644 index 8f975f7d6b..0000000000 --- a/deps/gyp/test/mac/xcode-env-order/test.gyp +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright (c) 2012 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': 'test_app', - 'product_name': 'Test', - 'type': 'executable', - 'mac_bundle': 1, - 'sources': [ - 'main.c', - 'file.ext1', - 'file.ext2', - 'file.ext3', - ], - # Env vars in copies. - 'copies': [ - { - 'destination': '<(PRODUCT_DIR)/${PRODUCT_NAME}-copy-brace', - 'files': [ 'main.c', ], # ${SOURCE_ROOT} doesn't work with xcode - }, - { - 'destination': '<(PRODUCT_DIR)/$(PRODUCT_NAME)-copy-paren', - 'files': [ '$(SOURCE_ROOT)/main.c', ], - }, - { - 'destination': '<(PRODUCT_DIR)/$PRODUCT_NAME-copy-bare', - 'files': [ 'main.c', ], # $SOURCE_ROOT doesn't work with xcode - }, - ], - # Env vars in actions. The $FOO's are here to test that env vars that - # aren't defined are handled in some way that doesn't break the build. - 'actions': [ - { - 'action_name': 'Action copy braces ${PRODUCT_NAME} ${FOO}', - 'description': 'Action copy braces ${PRODUCT_NAME} ${FOO}', - 'inputs': [ '${SOURCE_ROOT}/main.c' ], - # Referencing ${PRODUCT_NAME} in action outputs doesn't work with - # the Xcode generator (PRODUCT_NAME expands to "Test Support"). - 'outputs': [ '<(PRODUCT_DIR)/action-copy-brace.txt' ], - 'action': [ 'cp', '${SOURCE_ROOT}/main.c', - '<(PRODUCT_DIR)/action-copy-brace.txt' ], - }, - { - 'action_name': 'Action copy parens $(PRODUCT_NAME) $(FOO)', - 'description': 'Action copy parens $(PRODUCT_NAME) $(FOO)', - 'inputs': [ '$(SOURCE_ROOT)/main.c' ], - # Referencing $(PRODUCT_NAME) in action outputs doesn't work with - # the Xcode generator (PRODUCT_NAME expands to "Test Support"). - 'outputs': [ '<(PRODUCT_DIR)/action-copy-paren.txt' ], - 'action': [ 'cp', '$(SOURCE_ROOT)/main.c', - '<(PRODUCT_DIR)/action-copy-paren.txt' ], - }, - { - 'action_name': 'Action copy bare $PRODUCT_NAME $FOO', - 'description': 'Action copy bare $PRODUCT_NAME $FOO', - 'inputs': [ '$SOURCE_ROOT/main.c' ], - # Referencing $PRODUCT_NAME in action outputs doesn't work with - # the Xcode generator (PRODUCT_NAME expands to "Test Support"). - 'outputs': [ '<(PRODUCT_DIR)/action-copy-bare.txt' ], - 'action': [ 'cp', '$SOURCE_ROOT/main.c', - '<(PRODUCT_DIR)/action-copy-bare.txt' ], - }, - ], - # Env vars in xcode_settings. - 'xcode_settings': { - 'INFOPLIST_FILE': 'Info.plist', - 'STRING_KEY': '/Source/Project', - - 'BRACE_DEPENDENT_KEY2': '${STRING_KEY}/${PRODUCT_NAME}', - 'BRACE_DEPENDENT_KEY1': 'D:${BRACE_DEPENDENT_KEY2}', - 'BRACE_DEPENDENT_KEY3': '${PRODUCT_TYPE}:${BRACE_DEPENDENT_KEY1}', - - 'PAREN_DEPENDENT_KEY2': '$(STRING_KEY)/$(PRODUCT_NAME)', - 'PAREN_DEPENDENT_KEY1': 'D:$(PAREN_DEPENDENT_KEY2)', - 'PAREN_DEPENDENT_KEY3': '$(PRODUCT_TYPE):$(PAREN_DEPENDENT_KEY1)', - - 'BARE_DEPENDENT_KEY2': '$STRING_KEY/$PRODUCT_NAME', - 'BARE_DEPENDENT_KEY1': 'D:$BARE_DEPENDENT_KEY2', - 'BARE_DEPENDENT_KEY3': '$PRODUCT_TYPE:$BARE_DEPENDENT_KEY1', - - 'MIXED_DEPENDENT_KEY': '${STRING_KEY}:$(PRODUCT_NAME):$MACH_O_TYPE', - }, - # Env vars in rules. The $FOO's are here to test that env vars that - # aren't defined are handled in some way that doesn't break the build. - 'rules': [ - { - 'rule_name': 'brace_rule', - 'message': 'Rule braces ${PRODUCT_NAME} ${FOO} <(RULE_INPUT_NAME)', - 'extension': 'ext1', - 'inputs': [ '${SOURCE_ROOT}/main.c' ], - 'outputs': [ '<(PRODUCT_DIR)/rule-copy-brace.txt' ], - 'action': [ 'cp', '${SOURCE_ROOT}/main.c', - '<(PRODUCT_DIR)/rule-copy-brace.txt' ], - }, - { - 'rule_name': 'paren_rule', - 'message': 'Rule parens $(PRODUCT_NAME) $(FOO) <(RULE_INPUT_NAME)', - 'extension': 'ext2', - 'inputs': [ '$(SOURCE_ROOT)/main.c' ], - 'outputs': [ '<(PRODUCT_DIR)/rule-copy-paren.txt' ], - 'action': [ 'cp', '$(SOURCE_ROOT)/main.c', - '<(PRODUCT_DIR)/rule-copy-paren.txt' ], - }, - # TODO: Fails in xcode. Looks like a bug in the xcode generator though - # (which uses makefiles for rules, and thinks $PRODUCT_NAME is - # $(P)RODUCT_NAME). - #{ - # 'rule_name': 'bare_rule', - # 'message': 'Rule copy bare $PRODUCT_NAME $FOO', - # 'extension': 'ext3', - # 'inputs': [ '$SOURCE_ROOT/main.c' ], - # 'outputs': [ '<(PRODUCT_DIR)/rule-copy-bare.txt' ], - # 'action': [ 'cp', '$SOURCE_ROOT/main.c', - # '<(PRODUCT_DIR)/rule-copy-bare.txt' ], - #}, - ], - }, - ], -} |