PageRenderTime 21ms CodeModel.GetById 11ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/core/externals/google-toolbox-for-mac/SpotlightPlugins/AppleScript/AppleScript.xcodeproj/project.pbxproj

http://macfuse.googlecode.com/
Unknown | 355 lines | 340 code | 15 blank | 0 comment | 0 complexity | 441390aad6016a513e19f3d5a31b801f MD5 | raw file
  1// !$*UTF8*$!
  2{
  3	archiveVersion = 1;
  4	classes = {
  5	};
  6	objectVersion = 45;
  7	objects = {
  8
  9/* Begin PBXAggregateTarget section */
 10		8BF1560D0E5B8C7A00D28B05 /* RunAllUnitTests */ = {
 11			isa = PBXAggregateTarget;
 12			buildConfigurationList = 8BF156170E5B8C8F00D28B05 /* Build configuration list for PBXAggregateTarget "RunAllUnitTests" */;
 13			buildPhases = (
 14				F464A7FD0E5DBD92006B02E8 /* Prep Resource Files */,
 15				8BF1560C0E5B8C7A00D28B05 /* Run Tests */,
 16			);
 17			dependencies = (
 18				8BF156110E5B8C8000D28B05 /* PBXTargetDependency */,
 19			);
 20			name = RunAllUnitTests;
 21			productName = TestPlugin;
 22		};
 23/* End PBXAggregateTarget section */
 24
 25/* Begin PBXBuildFile section */
 26		2C05A19C06CAA52B00D84F6F /* GetMetadataForFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */; };
 27		8B1D48A10E59F699000EB8CA /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8B1D48A00E59F699000EB8CA /* main.c */; };
 28		8B58F8EF0E5726DE00A0E02E /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C86B05260671AA6E00DD9006 /* CoreServices.framework */; };
 29		8BF152920E5A334200D28B05 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BF152910E5A334200D28B05 /* AppKit.framework */; };
 30		8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8D5B49A704867FD3000E48DA /* InfoPlist.strings */; };
 31		F464A8630E5DCB9C006B02E8 /* schema.xml in Resources */ = {isa = PBXBuildFile; fileRef = F464A8620E5DCB9C006B02E8 /* schema.xml */; };
 32/* End PBXBuildFile section */
 33
 34/* Begin PBXContainerItemProxy section */
 35		8BF156100E5B8C8000D28B05 /* PBXContainerItemProxy */ = {
 36			isa = PBXContainerItemProxy;
 37			containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
 38			proxyType = 1;
 39			remoteGlobalIDString = 8D57630D048677EA00EA77CD;
 40			remoteInfo = AppleScriptSpotlightPlugin;
 41		};
 42/* End PBXContainerItemProxy section */
 43
 44/* Begin PBXFileReference section */
 45		089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
 46		2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GetMetadataForFile.m; sourceTree = "<group>"; };
 47		8B1D48A00E59F699000EB8CA /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
 48		8B1D48A30E59F6D0000EB8CA /* PluginID.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginID.h; sourceTree = "<group>"; };
 49		8B58F75A0E56502600A0E02E /* ReadMe.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = ReadMe.rtf; sourceTree = "<group>"; };
 50		8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = LoadableBundle.xcconfig; sourceTree = "<group>"; };
 51		8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugTigerOrLater.xcconfig; sourceTree = "<group>"; };
 52		8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ReleaseTigerOrLater.xcconfig; sourceTree = "<group>"; };
 53		8BF152910E5A334200D28B05 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
 54		8D576316048677EA00EA77CD /* AppleScript.mdimporter */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AppleScript.mdimporter; sourceTree = BUILT_PRODUCTS_DIR; };
 55		8D576317048677EA00EA77CD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
 56		C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
 57		F464A8620E5DCB9C006B02E8 /* schema.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = schema.xml; sourceTree = "<group>"; };
 58/* End PBXFileReference section */
 59
 60/* Begin PBXFrameworksBuildPhase section */
 61		8D576313048677EA00EA77CD /* Frameworks */ = {
 62			isa = PBXFrameworksBuildPhase;
 63			buildActionMask = 2147483647;
 64			files = (
 65				8B58F8EF0E5726DE00A0E02E /* CoreServices.framework in Frameworks */,
 66				8BF152920E5A334200D28B05 /* AppKit.framework in Frameworks */,
 67			);
 68			runOnlyForDeploymentPostprocessing = 0;
 69		};
 70/* End PBXFrameworksBuildPhase section */
 71
 72/* Begin PBXGroup section */
 73		089C166AFE841209C02AAC07 /* XcodeProjectSpotlightPlugin */ = {
 74			isa = PBXGroup;
 75			children = (
 76				8B58F75A0E56502600A0E02E /* ReadMe.rtf */,
 77				8B58F84D0E5697B500A0E02E /* XcodeConfig */,
 78				8B1D489F0E59F699000EB8CA /* Common */,
 79				08FB77AFFE84173DC02AAC07 /* Source */,
 80				089C167CFE841241C02AAC07 /* Resources */,
 81				089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
 82				19C28FB6FE9D52B211CA2CBB /* Products */,
 83			);
 84			comments = "//  Copyright 2008 Google Inc.\n//\n//  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n//  use this file except in compliance with the License.  You may obtain a copy\n//  of the License at\n// \n//  http://www.apache.org/licenses/LICENSE-2.0\n// \n//  Unless required by applicable law or agreed to in writing, software\n//  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n//  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\n//  License for the specific language governing permissions and limitations under\n//  the License.";
 85			name = XcodeProjectSpotlightPlugin;
 86			sourceTree = "<group>";
 87		};
 88		089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
 89			isa = PBXGroup;
 90			children = (
 91				8BF152910E5A334200D28B05 /* AppKit.framework */,
 92				C86B05260671AA6E00DD9006 /* CoreServices.framework */,
 93			);
 94			name = "External Frameworks and Libraries";
 95			sourceTree = "<group>";
 96		};
 97		089C167CFE841241C02AAC07 /* Resources */ = {
 98			isa = PBXGroup;
 99			children = (
100				F464A8620E5DCB9C006B02E8 /* schema.xml */,
101				8D576317048677EA00EA77CD /* Info.plist */,
102				8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
103			);
104			name = Resources;
105			sourceTree = "<group>";
106		};
107		08FB77AFFE84173DC02AAC07 /* Source */ = {
108			isa = PBXGroup;
109			children = (
110				8B1D48A30E59F6D0000EB8CA /* PluginID.h */,
111				2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */,
112			);
113			name = Source;
114			sourceTree = "<group>";
115		};
116		19C28FB6FE9D52B211CA2CBB /* Products */ = {
117			isa = PBXGroup;
118			children = (
119				8D576316048677EA00EA77CD /* AppleScript.mdimporter */,
120			);
121			name = Products;
122			sourceTree = "<group>";
123		};
124		8B1D489F0E59F699000EB8CA /* Common */ = {
125			isa = PBXGroup;
126			children = (
127				8B1D48A00E59F699000EB8CA /* main.c */,
128			);
129			name = Common;
130			path = ../Common;
131			sourceTree = SOURCE_ROOT;
132		};
133		8B58F84D0E5697B500A0E02E /* XcodeConfig */ = {
134			isa = PBXGroup;
135			children = (
136				8B58F90F0E579A1300A0E02E /* Target */,
137				8B58F9250E579A1300A0E02E /* Project */,
138			);
139			name = XcodeConfig;
140			path = ../../XcodeConfig;
141			sourceTree = SOURCE_ROOT;
142		};
143		8B58F90F0E579A1300A0E02E /* Target */ = {
144			isa = PBXGroup;
145			children = (
146				8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */,
147			);
148			path = Target;
149			sourceTree = "<group>";
150		};
151		8B58F9250E579A1300A0E02E /* Project */ = {
152			isa = PBXGroup;
153			children = (
154				8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */,
155				8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */,
156			);
157			path = Project;
158			sourceTree = "<group>";
159		};
160/* End PBXGroup section */
161
162/* Begin PBXNativeTarget section */
163		8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */ = {
164			isa = PBXNativeTarget;
165			buildConfigurationList = 70138C840896BE9A00968C2F /* Build configuration list for PBXNativeTarget "AppleScriptSpotlightPlugin" */;
166			buildPhases = (
167				8D57630F048677EA00EA77CD /* Resources */,
168				8D576311048677EA00EA77CD /* Sources */,
169				8D576313048677EA00EA77CD /* Frameworks */,
170			);
171			buildRules = (
172			);
173			dependencies = (
174			);
175			name = AppleScriptSpotlightPlugin;
176			productInstallPath = /Library/Spotlight;
177			productName = XcodeProjectSpotlightPlugin;
178			productReference = 8D576316048677EA00EA77CD /* AppleScript.mdimporter */;
179			productType = "com.apple.product-type.bundle";
180		};
181/* End PBXNativeTarget section */
182
183/* Begin PBXProject section */
184		089C1669FE841209C02AAC07 /* Project object */ = {
185			isa = PBXProject;
186			buildConfigurationList = 70138C880896BE9A00968C2F /* Build configuration list for PBXProject "AppleScript" */;
187			compatibilityVersion = "Xcode 3.1";
188			hasScannedForEncodings = 1;
189			mainGroup = 089C166AFE841209C02AAC07 /* XcodeProjectSpotlightPlugin */;
190			projectDirPath = "";
191			projectRoot = "";
192			targets = (
193				8BF1560D0E5B8C7A00D28B05 /* RunAllUnitTests */,
194				8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */,
195			);
196		};
197/* End PBXProject section */
198
199/* Begin PBXResourcesBuildPhase section */
200		8D57630F048677EA00EA77CD /* Resources */ = {
201			isa = PBXResourcesBuildPhase;
202			buildActionMask = 2147483647;
203			files = (
204				8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */,
205				F464A8630E5DCB9C006B02E8 /* schema.xml in Resources */,
206			);
207			runOnlyForDeploymentPostprocessing = 0;
208		};
209/* End PBXResourcesBuildPhase section */
210
211/* Begin PBXShellScriptBuildPhase section */
212		8BF1560C0E5B8C7A00D28B05 /* Run Tests */ = {
213			isa = PBXShellScriptBuildPhase;
214			buildActionMask = 2147483647;
215			files = (
216			);
217			inputPaths = (
218			);
219			name = "Run Tests";
220			outputPaths = (
221			);
222			runOnlyForDeploymentPostprocessing = 0;
223			shellPath = /usr/bin/python;
224			shellScript = "# Test of scpt and scptd importer\nimport os\nimport subprocess\n\n# file w/ resource fork, see previous script step for it's setup\ncmd = \"/usr/bin/mdimport -d 2 -g \" + os.environ[\"BUILT_PRODUCTS_DIR\"] + \"/AppleScript.mdimporter \" + os.environ[\"DERIVED_FILES_DIR\"] + \"/TestsData/test.scpt\"\nimporter_out = subprocess.Popen(cmd, shell=True, stderr=subprocess.PIPE).stderr.read()\nif importer_out.find(\"kMDItemDescription = \\\"This is a description.\\\";\") == -1:\n\tprint \"error: Bad Description for test.scpt\"\n\texit(1)\nif importer_out.find(\"kMDItemTextContent = \\\"1 + 1\\\";\") == -1:\n\tprint \"error: Bad Content for test.scpt\"\n\texit(1)\n\n# quick test of scptd importer\n# Commented out due to radars:\n# 6160685  Need UTI for AppleScript script bundle \n# 6160646 UTIs declared in Spotlight Importers in Library/Spotlight not recognized\n# Basically we don't have a UTI for AppleScript script bundles (.scptd) defined by the system\n# even worse, UTIs defined by Spotlight Importers in the right location\n# don't get their UTIs that they declare recognized by LaunchServices.\n#aCmd = \"/usr/bin/mdimport -d 2 -g \" + os.environ[\"BUILT_PRODUCTS_DIR\"] + \"/AppleScript.mdimporter \" + os.environ[\"SOURCE_ROOT\"] + \"/TestData/test.scptd\"\n#importerOut = subprocess.Popen(aCmd, shell=True, stderr=subprocess.PIPE).stderr.read()\n#if importerOut.find(\"kMDItemDescription = \\\"This is a description.\\\";\") == -1:\n#\tprint \"error: Bad Description for test.scpt\"\n#\texit(1)\n#if importerOut.find(\"kMDItemTextContent = \\\"1 + 1\\\";\") == -1:\n#\tprint \"error: Bad Content for test.scpt\"\n#\texit(1)\n#\nexit(0)";
225		};
226		F464A7FD0E5DBD92006B02E8 /* Prep Resource Files */ = {
227			isa = PBXShellScriptBuildPhase;
228			buildActionMask = 2147483647;
229			files = (
230			);
231			inputPaths = (
232			);
233			name = "Prep Resource Files";
234			outputPaths = (
235			);
236			runOnlyForDeploymentPostprocessing = 0;
237			shellPath = /bin/sh;
238			shellScript = "# svn doesn't do mac resource forks.  so our one test file that has a resource fork\n# is done w/ a tar file in source control, and here we untar so it is there for use\n# in the tests.\n\n# make sure the dir is empty to start\nrm -rf \"${DERIVED_FILES_DIR}/TestsData\"\nmkdir -p \"${DERIVED_FILES_DIR}/TestsData\"\n\n# extract into it\ntar -xvf \"${SOURCE_ROOT}/TestData/test.scpt.tar\" -C \"${DERIVED_FILES_DIR}/TestsData\"\n";
239		};
240/* End PBXShellScriptBuildPhase section */
241
242/* Begin PBXSourcesBuildPhase section */
243		8D576311048677EA00EA77CD /* Sources */ = {
244			isa = PBXSourcesBuildPhase;
245			buildActionMask = 2147483647;
246			files = (
247				2C05A19C06CAA52B00D84F6F /* GetMetadataForFile.m in Sources */,
248				8B1D48A10E59F699000EB8CA /* main.c in Sources */,
249			);
250			runOnlyForDeploymentPostprocessing = 0;
251		};
252/* End PBXSourcesBuildPhase section */
253
254/* Begin PBXTargetDependency section */
255		8BF156110E5B8C8000D28B05 /* PBXTargetDependency */ = {
256			isa = PBXTargetDependency;
257			target = 8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */;
258			targetProxy = 8BF156100E5B8C8000D28B05 /* PBXContainerItemProxy */;
259		};
260/* End PBXTargetDependency section */
261
262/* Begin PBXVariantGroup section */
263		8D5B49A704867FD3000E48DA /* InfoPlist.strings */ = {
264			isa = PBXVariantGroup;
265			children = (
266				089C167EFE841241C02AAC07 /* English */,
267			);
268			name = InfoPlist.strings;
269			sourceTree = "<group>";
270		};
271/* End PBXVariantGroup section */
272
273/* Begin XCBuildConfiguration section */
274		70138C850896BE9A00968C2F /* Debug */ = {
275			isa = XCBuildConfiguration;
276			baseConfigurationReference = 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */;
277			buildSettings = {
278				INFOPLIST_FILE = Info.plist;
279				PRODUCT_NAME = AppleScript;
280				WRAPPER_EXTENSION = mdimporter;
281			};
282			name = Debug;
283		};
284		70138C860896BE9A00968C2F /* Release */ = {
285			isa = XCBuildConfiguration;
286			baseConfigurationReference = 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */;
287			buildSettings = {
288				INFOPLIST_FILE = Info.plist;
289				PRODUCT_NAME = AppleScript;
290				WRAPPER_EXTENSION = mdimporter;
291			};
292			name = Release;
293		};
294		70138C890896BE9A00968C2F /* Debug */ = {
295			isa = XCBuildConfiguration;
296			baseConfigurationReference = 8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */;
297			buildSettings = {
298			};
299			name = Debug;
300		};
301		70138C8A0896BE9A00968C2F /* Release */ = {
302			isa = XCBuildConfiguration;
303			baseConfigurationReference = 8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */;
304			buildSettings = {
305			};
306			name = Release;
307		};
308		8BF1560E0E5B8C7A00D28B05 /* Debug */ = {
309			isa = XCBuildConfiguration;
310			buildSettings = {
311				PRODUCT_NAME = RunAllUnitTests;
312			};
313			name = Debug;
314		};
315		8BF1560F0E5B8C7A00D28B05 /* Release */ = {
316			isa = XCBuildConfiguration;
317			buildSettings = {
318				PRODUCT_NAME = RunAllUnitTests;
319			};
320			name = Release;
321		};
322/* End XCBuildConfiguration section */
323
324/* Begin XCConfigurationList section */
325		70138C840896BE9A00968C2F /* Build configuration list for PBXNativeTarget "AppleScriptSpotlightPlugin" */ = {
326			isa = XCConfigurationList;
327			buildConfigurations = (
328				70138C850896BE9A00968C2F /* Debug */,
329				70138C860896BE9A00968C2F /* Release */,
330			);
331			defaultConfigurationIsVisible = 0;
332			defaultConfigurationName = Release;
333		};
334		70138C880896BE9A00968C2F /* Build configuration list for PBXProject "AppleScript" */ = {
335			isa = XCConfigurationList;
336			buildConfigurations = (
337				70138C890896BE9A00968C2F /* Debug */,
338				70138C8A0896BE9A00968C2F /* Release */,
339			);
340			defaultConfigurationIsVisible = 0;
341			defaultConfigurationName = Release;
342		};
343		8BF156170E5B8C8F00D28B05 /* Build configuration list for PBXAggregateTarget "RunAllUnitTests" */ = {
344			isa = XCConfigurationList;
345			buildConfigurations = (
346				8BF1560E0E5B8C7A00D28B05 /* Debug */,
347				8BF1560F0E5B8C7A00D28B05 /* Release */,
348			);
349			defaultConfigurationIsVisible = 0;
350			defaultConfigurationName = Release;
351		};
352/* End XCConfigurationList section */
353	};
354	rootObject = 089C1669FE841209C02AAC07 /* Project object */;
355}