From 9b8635767148b3f95942593bfeefa86f147d2c53 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Thu, 19 Dec 2013 21:30:10 +0000 Subject: Fix build of Mac GTM project with static analyzer. Remove GTMGarbageCollection. Remove GC build configs. Remove internal dependence on GTMObjectSingleton. DELTA=447 (49 added, 296 deleted, 102 changed) --- .../Target/LoadableBundleGCSupported.xcconfig | 30 ---------------------- .../Target/SharedLibraryGCSupported.xcconfig | 30 ---------------------- .../Target/StaticLibraryGCSupported.xcconfig | 30 ---------------------- XcodeConfig/subconfig/GCSupported.xcconfig | 23 ----------------- 4 files changed, 113 deletions(-) delete mode 100644 XcodeConfig/Target/LoadableBundleGCSupported.xcconfig delete mode 100644 XcodeConfig/Target/SharedLibraryGCSupported.xcconfig delete mode 100644 XcodeConfig/Target/StaticLibraryGCSupported.xcconfig delete mode 100644 XcodeConfig/subconfig/GCSupported.xcconfig (limited to 'XcodeConfig') diff --git a/XcodeConfig/Target/LoadableBundleGCSupported.xcconfig b/XcodeConfig/Target/LoadableBundleGCSupported.xcconfig deleted file mode 100644 index aa8d5a7..0000000 --- a/XcodeConfig/Target/LoadableBundleGCSupported.xcconfig +++ /dev/null @@ -1,30 +0,0 @@ -// -// LoadableBundleGCSupported.xcconfig -// -// Xcode configuration file for a loadable bundle target that supports garbage -// collection. Usually a Cocoa plugin or similar. -// -// This is a _Target_ config file, for use in the "Based on" popup of the -// settings dialog for a target. Do not attempt to apply this as the base -// of an Xcode configuration in the project settings dialog. -// -// Copyright 2006-2008 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy -// of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. -// - -// Include the basic Loadable Bundle config -#include "LoadableBundle.xcconfig" - -// Include the GC flag(s) -#include "../subconfig/GCSupported.xcconfig" diff --git a/XcodeConfig/Target/SharedLibraryGCSupported.xcconfig b/XcodeConfig/Target/SharedLibraryGCSupported.xcconfig deleted file mode 100644 index 74ab907..0000000 --- a/XcodeConfig/Target/SharedLibraryGCSupported.xcconfig +++ /dev/null @@ -1,30 +0,0 @@ -// -// SharedLibraryGCSupported.xcconfig -// -// Xcode configuration file for a shared library target that support garbage -// collection. -// -// This is a _Target_ config file, for use in the "Based on" popup of the -// settings dialog for a target. Do not attempt to apply this as the base -// of an Xcode configuration in the project settings dialog. -// -// Copyright 2006-2008 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy -// of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. -// - -// Include the basic Shared Library config -#include "SharedLibrary.xcconfig" - -// Include the GC flag(s) -#include "../subconfig/GCSupported.xcconfig" diff --git a/XcodeConfig/Target/StaticLibraryGCSupported.xcconfig b/XcodeConfig/Target/StaticLibraryGCSupported.xcconfig deleted file mode 100644 index 07ea1d5..0000000 --- a/XcodeConfig/Target/StaticLibraryGCSupported.xcconfig +++ /dev/null @@ -1,30 +0,0 @@ -// -// StaticLibraryGCSupported.xcconfig -// -// Xcode configuration file for a static library target that supports garbage -// collection. -// -// This is a _Target_ config file, for use in the "Based on" popup of the -// settings dialog for a target. Do not attempt to apply this as the base -// of an Xcode configuration in the project settings dialog. -// -// Copyright 2006-2008 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy -// of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. -// - -// Include the basic Static Library config -#include "StaticLibrary.xcconfig" - -// Include the GC flag(s) -#include "../subconfig/GCSupported.xcconfig" diff --git a/XcodeConfig/subconfig/GCSupported.xcconfig b/XcodeConfig/subconfig/GCSupported.xcconfig deleted file mode 100644 index 74bd027..0000000 --- a/XcodeConfig/subconfig/GCSupported.xcconfig +++ /dev/null @@ -1,23 +0,0 @@ -// -// GCSupported.xcconfig -// -// Xcode configuration file for making a build Garbage Collection enabled. -// Use the *GCSupported specific configs in the Target folder. -// -// Copyright 2006-2008 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may not -// use this file except in compliance with the License. You may obtain a copy -// of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -// License for the specific language governing permissions and limitations under -// the License. -// - -// enable garbage collection (but don't require it) -GCC_ENABLE_OBJC_GC = supported -- cgit v1.2.3