/core/externals/update-engine/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. /* Begin PBXAggregateTarget section */
  9. 8BF1560D0E5B8C7A00D28B05 /* RunAllUnitTests */ = {
  10. isa = PBXAggregateTarget;
  11. buildConfigurationList = 8BF156170E5B8C8F00D28B05 /* Build configuration list for PBXAggregateTarget "RunAllUnitTests" */;
  12. buildPhases = (
  13. F464A7FD0E5DBD92006B02E8 /* Prep Resource Files */,
  14. 8BF1560C0E5B8C7A00D28B05 /* Run Tests */,
  15. );
  16. dependencies = (
  17. 8BF156110E5B8C8000D28B05 /* PBXTargetDependency */,
  18. );
  19. name = RunAllUnitTests;
  20. productName = TestPlugin;
  21. };
  22. /* End PBXAggregateTarget section */
  23. /* Begin PBXBuildFile section */
  24. 2C05A19C06CAA52B00D84F6F /* GetMetadataForFile.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */; };
  25. 8B1D48A10E59F699000EB8CA /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8B1D48A00E59F699000EB8CA /* main.c */; };
  26. 8B58F8EF0E5726DE00A0E02E /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C86B05260671AA6E00DD9006 /* CoreServices.framework */; };
  27. 8BF152920E5A334200D28B05 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BF152910E5A334200D28B05 /* AppKit.framework */; };
  28. 8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8D5B49A704867FD3000E48DA /* InfoPlist.strings */; };
  29. F464A8630E5DCB9C006B02E8 /* schema.xml in Resources */ = {isa = PBXBuildFile; fileRef = F464A8620E5DCB9C006B02E8 /* schema.xml */; };
  30. /* End PBXBuildFile section */
  31. /* Begin PBXContainerItemProxy section */
  32. 8BF156100E5B8C8000D28B05 /* PBXContainerItemProxy */ = {
  33. isa = PBXContainerItemProxy;
  34. containerPortal = 089C1669FE841209C02AAC07 /* Project object */;
  35. proxyType = 1;
  36. remoteGlobalIDString = 8D57630D048677EA00EA77CD;
  37. remoteInfo = AppleScriptSpotlightPlugin;
  38. };
  39. /* End PBXContainerItemProxy section */
  40. /* Begin PBXFileReference section */
  41. 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
  42. 2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GetMetadataForFile.m; sourceTree = "<group>"; };
  43. 8B1D48A00E59F699000EB8CA /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
  44. 8B1D48A30E59F6D0000EB8CA /* PluginID.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginID.h; sourceTree = "<group>"; };
  45. 8B58F75A0E56502600A0E02E /* ReadMe.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = ReadMe.rtf; sourceTree = "<group>"; };
  46. 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = LoadableBundle.xcconfig; sourceTree = "<group>"; };
  47. 8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugTigerOrLater.xcconfig; sourceTree = "<group>"; };
  48. 8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ReleaseTigerOrLater.xcconfig; sourceTree = "<group>"; };
  49. 8BF152910E5A334200D28B05 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
  50. 8D576316048677EA00EA77CD /* AppleScript.mdimporter */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AppleScript.mdimporter; sourceTree = BUILT_PRODUCTS_DIR; };
  51. 8D576317048677EA00EA77CD /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
  52. C86B05260671AA6E00DD9006 /* CoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreServices.framework; path = /System/Library/Frameworks/CoreServices.framework; sourceTree = "<absolute>"; };
  53. F464A8620E5DCB9C006B02E8 /* schema.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = schema.xml; sourceTree = "<group>"; };
  54. /* End PBXFileReference section */
  55. /* Begin PBXFrameworksBuildPhase section */
  56. 8D576313048677EA00EA77CD /* Frameworks */ = {
  57. isa = PBXFrameworksBuildPhase;
  58. buildActionMask = 2147483647;
  59. files = (
  60. 8B58F8EF0E5726DE00A0E02E /* CoreServices.framework in Frameworks */,
  61. 8BF152920E5A334200D28B05 /* AppKit.framework in Frameworks */,
  62. );
  63. runOnlyForDeploymentPostprocessing = 0;
  64. };
  65. /* End PBXFrameworksBuildPhase section */
  66. /* Begin PBXGroup section */
  67. 089C166AFE841209C02AAC07 /* XcodeProjectSpotlightPlugin */ = {
  68. isa = PBXGroup;
  69. children = (
  70. 8B58F75A0E56502600A0E02E /* ReadMe.rtf */,
  71. 8B58F84D0E5697B500A0E02E /* XcodeConfig */,
  72. 8B1D489F0E59F699000EB8CA /* Common */,
  73. 08FB77AFFE84173DC02AAC07 /* Source */,
  74. 089C167CFE841241C02AAC07 /* Resources */,
  75. 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
  76. 19C28FB6FE9D52B211CA2CBB /* Products */,
  77. );
  78. 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.";
  79. name = XcodeProjectSpotlightPlugin;
  80. sourceTree = "<group>";
  81. };
  82. 089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
  83. isa = PBXGroup;
  84. children = (
  85. 8BF152910E5A334200D28B05 /* AppKit.framework */,
  86. C86B05260671AA6E00DD9006 /* CoreServices.framework */,
  87. );
  88. name = "External Frameworks and Libraries";
  89. sourceTree = "<group>";
  90. };
  91. 089C167CFE841241C02AAC07 /* Resources */ = {
  92. isa = PBXGroup;
  93. children = (
  94. F464A8620E5DCB9C006B02E8 /* schema.xml */,
  95. 8D576317048677EA00EA77CD /* Info.plist */,
  96. 8D5B49A704867FD3000E48DA /* InfoPlist.strings */,
  97. );
  98. name = Resources;
  99. sourceTree = "<group>";
  100. };
  101. 08FB77AFFE84173DC02AAC07 /* Source */ = {
  102. isa = PBXGroup;
  103. children = (
  104. 8B1D48A30E59F6D0000EB8CA /* PluginID.h */,
  105. 2C05A19B06CAA52B00D84F6F /* GetMetadataForFile.m */,
  106. );
  107. name = Source;
  108. sourceTree = "<group>";
  109. };
  110. 19C28FB6FE9D52B211CA2CBB /* Products */ = {
  111. isa = PBXGroup;
  112. children = (
  113. 8D576316048677EA00EA77CD /* AppleScript.mdimporter */,
  114. );
  115. name = Products;
  116. sourceTree = "<group>";
  117. };
  118. 8B1D489F0E59F699000EB8CA /* Common */ = {
  119. isa = PBXGroup;
  120. children = (
  121. 8B1D48A00E59F699000EB8CA /* main.c */,
  122. );
  123. name = Common;
  124. path = ../Common;
  125. sourceTree = SOURCE_ROOT;
  126. };
  127. 8B58F84D0E5697B500A0E02E /* XcodeConfig */ = {
  128. isa = PBXGroup;
  129. children = (
  130. 8B58F90F0E579A1300A0E02E /* Target */,
  131. 8B58F9250E579A1300A0E02E /* Project */,
  132. );
  133. name = XcodeConfig;
  134. path = ../../XcodeConfig;
  135. sourceTree = SOURCE_ROOT;
  136. };
  137. 8B58F90F0E579A1300A0E02E /* Target */ = {
  138. isa = PBXGroup;
  139. children = (
  140. 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */,
  141. );
  142. path = Target;
  143. sourceTree = "<group>";
  144. };
  145. 8B58F9250E579A1300A0E02E /* Project */ = {
  146. isa = PBXGroup;
  147. children = (
  148. 8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */,
  149. 8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */,
  150. );
  151. path = Project;
  152. sourceTree = "<group>";
  153. };
  154. /* End PBXGroup section */
  155. /* Begin PBXNativeTarget section */
  156. 8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */ = {
  157. isa = PBXNativeTarget;
  158. buildConfigurationList = 70138C840896BE9A00968C2F /* Build configuration list for PBXNativeTarget "AppleScriptSpotlightPlugin" */;
  159. buildPhases = (
  160. 8D57630F048677EA00EA77CD /* Resources */,
  161. 8D576311048677EA00EA77CD /* Sources */,
  162. 8D576313048677EA00EA77CD /* Frameworks */,
  163. );
  164. buildRules = (
  165. );
  166. dependencies = (
  167. );
  168. name = AppleScriptSpotlightPlugin;
  169. productInstallPath = /Library/Spotlight;
  170. productName = XcodeProjectSpotlightPlugin;
  171. productReference = 8D576316048677EA00EA77CD /* AppleScript.mdimporter */;
  172. productType = "com.apple.product-type.bundle";
  173. };
  174. /* End PBXNativeTarget section */
  175. /* Begin PBXProject section */
  176. 089C1669FE841209C02AAC07 /* Project object */ = {
  177. isa = PBXProject;
  178. buildConfigurationList = 70138C880896BE9A00968C2F /* Build configuration list for PBXProject "AppleScript" */;
  179. compatibilityVersion = "Xcode 3.1";
  180. hasScannedForEncodings = 1;
  181. mainGroup = 089C166AFE841209C02AAC07 /* XcodeProjectSpotlightPlugin */;
  182. projectDirPath = "";
  183. projectRoot = "";
  184. targets = (
  185. 8BF1560D0E5B8C7A00D28B05 /* RunAllUnitTests */,
  186. 8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */,
  187. );
  188. };
  189. /* End PBXProject section */
  190. /* Begin PBXResourcesBuildPhase section */
  191. 8D57630F048677EA00EA77CD /* Resources */ = {
  192. isa = PBXResourcesBuildPhase;
  193. buildActionMask = 2147483647;
  194. files = (
  195. 8D5B49A804867FD3000E48DA /* InfoPlist.strings in Resources */,
  196. F464A8630E5DCB9C006B02E8 /* schema.xml in Resources */,
  197. );
  198. runOnlyForDeploymentPostprocessing = 0;
  199. };
  200. /* End PBXResourcesBuildPhase section */
  201. /* Begin PBXShellScriptBuildPhase section */
  202. 8BF1560C0E5B8C7A00D28B05 /* Run Tests */ = {
  203. isa = PBXShellScriptBuildPhase;
  204. buildActionMask = 2147483647;
  205. files = (
  206. );
  207. inputPaths = (
  208. );
  209. name = "Run Tests";
  210. outputPaths = (
  211. );
  212. runOnlyForDeploymentPostprocessing = 0;
  213. shellPath = /usr/bin/python;
  214. 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)";
  215. };
  216. F464A7FD0E5DBD92006B02E8 /* Prep Resource Files */ = {
  217. isa = PBXShellScriptBuildPhase;
  218. buildActionMask = 2147483647;
  219. files = (
  220. );
  221. inputPaths = (
  222. );
  223. name = "Prep Resource Files";
  224. outputPaths = (
  225. );
  226. runOnlyForDeploymentPostprocessing = 0;
  227. shellPath = /bin/sh;
  228. 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";
  229. };
  230. /* End PBXShellScriptBuildPhase section */
  231. /* Begin PBXSourcesBuildPhase section */
  232. 8D576311048677EA00EA77CD /* Sources */ = {
  233. isa = PBXSourcesBuildPhase;
  234. buildActionMask = 2147483647;
  235. files = (
  236. 2C05A19C06CAA52B00D84F6F /* GetMetadataForFile.m in Sources */,
  237. 8B1D48A10E59F699000EB8CA /* main.c in Sources */,
  238. );
  239. runOnlyForDeploymentPostprocessing = 0;
  240. };
  241. /* End PBXSourcesBuildPhase section */
  242. /* Begin PBXTargetDependency section */
  243. 8BF156110E5B8C8000D28B05 /* PBXTargetDependency */ = {
  244. isa = PBXTargetDependency;
  245. target = 8D57630D048677EA00EA77CD /* AppleScriptSpotlightPlugin */;
  246. targetProxy = 8BF156100E5B8C8000D28B05 /* PBXContainerItemProxy */;
  247. };
  248. /* End PBXTargetDependency section */
  249. /* Begin PBXVariantGroup section */
  250. 8D5B49A704867FD3000E48DA /* InfoPlist.strings */ = {
  251. isa = PBXVariantGroup;
  252. children = (
  253. 089C167EFE841241C02AAC07 /* English */,
  254. );
  255. name = InfoPlist.strings;
  256. sourceTree = "<group>";
  257. };
  258. /* End PBXVariantGroup section */
  259. /* Begin XCBuildConfiguration section */
  260. 70138C850896BE9A00968C2F /* Debug */ = {
  261. isa = XCBuildConfiguration;
  262. baseConfigurationReference = 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */;
  263. buildSettings = {
  264. INFOPLIST_FILE = Info.plist;
  265. PRODUCT_NAME = AppleScript;
  266. WRAPPER_EXTENSION = mdimporter;
  267. };
  268. name = Debug;
  269. };
  270. 70138C860896BE9A00968C2F /* Release */ = {
  271. isa = XCBuildConfiguration;
  272. baseConfigurationReference = 8B58F9110E579A1300A0E02E /* LoadableBundle.xcconfig */;
  273. buildSettings = {
  274. INFOPLIST_FILE = Info.plist;
  275. PRODUCT_NAME = AppleScript;
  276. WRAPPER_EXTENSION = mdimporter;
  277. };
  278. name = Release;
  279. };
  280. 70138C890896BE9A00968C2F /* Debug */ = {
  281. isa = XCBuildConfiguration;
  282. baseConfigurationReference = 8B58F9280E579A1300A0E02E /* DebugTigerOrLater.xcconfig */;
  283. buildSettings = {
  284. };
  285. name = Debug;
  286. };
  287. 70138C8A0896BE9A00968C2F /* Release */ = {
  288. isa = XCBuildConfiguration;
  289. baseConfigurationReference = 8B58F92B0E579A1300A0E02E /* ReleaseTigerOrLater.xcconfig */;
  290. buildSettings = {
  291. };
  292. name = Release;
  293. };
  294. 8BF1560E0E5B8C7A00D28B05 /* Debug */ = {
  295. isa = XCBuildConfiguration;
  296. buildSettings = {
  297. PRODUCT_NAME = RunAllUnitTests;
  298. };
  299. name = Debug;
  300. };
  301. 8BF1560F0E5B8C7A00D28B05 /* Release */ = {
  302. isa = XCBuildConfiguration;
  303. buildSettings = {
  304. PRODUCT_NAME = RunAllUnitTests;
  305. };
  306. name = Release;
  307. };
  308. /* End XCBuildConfiguration section */
  309. /* Begin XCConfigurationList section */
  310. 70138C840896BE9A00968C2F /* Build configuration list for PBXNativeTarget "AppleScriptSpotlightPlugin" */ = {
  311. isa = XCConfigurationList;
  312. buildConfigurations = (
  313. 70138C850896BE9A00968C2F /* Debug */,
  314. 70138C860896BE9A00968C2F /* Release */,
  315. );
  316. defaultConfigurationIsVisible = 0;
  317. defaultConfigurationName = Release;
  318. };
  319. 70138C880896BE9A00968C2F /* Build configuration list for PBXProject "AppleScript" */ = {
  320. isa = XCConfigurationList;
  321. buildConfigurations = (
  322. 70138C890896BE9A00968C2F /* Debug */,
  323. 70138C8A0896BE9A00968C2F /* Release */,
  324. );
  325. defaultConfigurationIsVisible = 0;
  326. defaultConfigurationName = Release;
  327. };
  328. 8BF156170E5B8C8F00D28B05 /* Build configuration list for PBXAggregateTarget "RunAllUnitTests" */ = {
  329. isa = XCConfigurationList;
  330. buildConfigurations = (
  331. 8BF1560E0E5B8C7A00D28B05 /* Debug */,
  332. 8BF1560F0E5B8C7A00D28B05 /* Release */,
  333. );
  334. defaultConfigurationIsVisible = 0;
  335. defaultConfigurationName = Release;
  336. };
  337. /* End XCConfigurationList section */
  338. };
  339. rootObject = 089C1669FE841209C02AAC07 /* Project object */;
  340. }