Fixed the location of the Swift bindings in the Xcode build.
authorSean Callanan <scallanan@apple.com>
Sat, 16 Jul 2016 00:18:24 +0000 (00:18 +0000)
committerSean Callanan <scallanan@apple.com>
Sat, 16 Jul 2016 00:18:24 +0000 (00:18 +0000)
$BUILT_PRODUCTS_DIR is usually the same as $CONFIGURATION_BUILD_DIR, but differs
when LLDB is being built BuildAndIntegration, in which case $BUILT_PRODUCTS_DIR
is more accurate.

llvm-svn: 275652

lldb/lldb.xcodeproj/project.pbxproj

index 6b54194..5ddbe3f 100644 (file)
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/bash;
-                       shellScript = "/usr/bin/python $SRCROOT/scripts/prepare_bindings.py --find-swig --framework --src-root $SRCROOT --target-dir $TARGET_BUILD_DIR --config-build-dir $CONFIGURATION_BUILD_DIR --target-platform Darwin";
+                       shellScript = "/usr/bin/python $SRCROOT/scripts/prepare_bindings.py --find-swig --framework --src-root $SRCROOT --target-dir $TARGET_BUILD_DIR --config-build-dir $BUILT_PRODUCTS_DIR --target-platform Darwin";
                };
                4959511A1A1ACE9500F6F8FC /* Install Clang compiler headers */ = {
                        isa = PBXShellScriptBuildPhase;