Skip to content

Commit

Permalink
Removed access to internal files
Browse files Browse the repository at this point in the history
Summary: Removed any reference to FB internal files from the main sdk

Reviewed By: kalendae

Differential Revision: D9818575

fbshipit-source-id: 4625399eedf6b877b90c4c9b0d368b76bebcab4b
  • Loading branch information
Cody Winton authored and facebook-github-bot committed Sep 14, 2018
1 parent 166ac44 commit 9b28f05
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 51 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Expand Up @@ -27,8 +27,6 @@ ads/src/FB-SDK-MP/FB_SDK_MP_Workspace.xcworkspace/*
ads/src/FB-SDK-MP/FB-SDK-MP.xcworkspace/*
ads/src/FB-SDK-MP/FB-SDK-MP.xcodeproj/*

internal/testing/IpaSizeTestApp/**/*.xcworkspace/*
internal/testing/IpaSizeTestApp/**/*.xcodeproj/*
samples/Hackbook/build/
samples/Hackbook/Hackbook.xcodeproj/*.pbxuser
samples/Hackbook/Hackbook.xcodeproj/*.mode*
Expand Down
Expand Up @@ -118,34 +118,6 @@
ReferencedContainer = "container:FBSDKPlacesKit/FBSDKPlacesKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "NO"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D5C618081DC90E9000C406B9"
BuildableName = "FBSDKShareTray-Universal"
BlueprintName = "FBSDKShareTray-Universal"
ReferencedContainer = "container:internal/FBSDKShareTray/FBSDKShareTray.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "NO"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D5EAC5361DCA740D00F0ADC6"
BuildableName = "FBSDKShareTrayTests.xctest"
BlueprintName = "FBSDKShareTrayTests"
ReferencedContainer = "container:internal/FBSDKShareTray/FBSDKShareTray.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -184,16 +156,6 @@
ReferencedContainer = "container:FBSDKShareKit/FBSDKShareKit.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D5EAC5361DCA740D00F0ADC6"
BuildableName = "FBSDKShareTrayTests.xctest"
BlueprintName = "FBSDKShareTrayTests"
ReferencedContainer = "container:internal/FBSDKShareTray/FBSDKShareTray.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
Expand Down
7 changes: 0 additions & 7 deletions scripts/build_distribution.sh
Expand Up @@ -341,13 +341,6 @@ else
\cp -R "$FB_SDK_BUILD"/FBSDKMessengerShareKit.framework "$FB_SDK_BUILD_PACKAGE" \
|| die "Could not copy FBSDKMessengerShareKit.framework"

# Build Marketing Kit
if [ -z $SKIPBUILD ]; then
(xcodebuild -project "${FB_SDK_ROOT}"/internal/FBSDKMarketingKit/FBSDKMarketingKit.xcodeproj -scheme "FBSDKMarketingKit-universal" -configuration Release clean build) || die "Failed to build marketing kit"
fi
\cp -R "$FB_SDK_BUILD"/FBSDKMarketingKit.framework "$FB_SDK_BUILD_PACKAGE" \
|| die "Could not copy FBSDKMarketingKit.framework"

# Build docs
if [ -z $SKIPBUILD ]; then
. "$FB_SDK_SCRIPT/build_documentation.sh"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_framework.sh
Expand Up @@ -92,7 +92,7 @@ fi
progress_message "Generating strings"
(
cd "$FB_SDK_ROOT"
find FBSDKCoreKit/ FBSDKShareKit/ FBSDKLoginKit/ FBSDKTVOSKit/ internal/FBSDKMarketingKit/ -name "*.m" | xargs genstrings -o FacebookSDKStrings.bundle/Resources/en.lproj/
find FBSDKCoreKit/ FBSDKShareKit/ FBSDKLoginKit/ FBSDKTVOSKit/ -name "*.m" | xargs genstrings -o FacebookSDKStrings.bundle/Resources/en.lproj/
)

# -----------------------------------------------------------------------------
Expand Down
3 changes: 0 additions & 3 deletions scripts/run_tests.sh
Expand Up @@ -102,9 +102,6 @@ for SCHEME in $SCHEMES; do
if [[ -n $FAILED_SAMPLES ]]; then
die "Failed to build $FAILED_SAMPLES"
fi
if [[ -a "internal/scripts/run_internal_tests.sh" ]]; then
source "internal/scripts/run_internal_tests.sh"
fi
else
COMMAND="xcodebuild
-workspace FacebookSDK.xcworkspace \
Expand Down

0 comments on commit 9b28f05

Please sign in to comment.