/core/externals/update-engine/externals/google-toolbox-for-mac/XcodeConfig/Target/ReleaseUnittest.xcconfig

http://macfuse.googlecode.com/ · Xcode Config · 37 lines · 2 code · 2 blank · 33 comment · 0 complexity · 17aff192c318a50a3a99578ebd820ae7 MD5 · raw file

  1. //
  2. // ReleaseUnittest.xcconfig
  3. //
  4. // Xcode configuration file for a release unittest target.
  5. //
  6. // This is a _Target_ config file, for use in the "Based on" popup of the
  7. // settings dialog for a target. Do not attempt to apply this as the base
  8. // of an Xcode configuration in the project settings dialog.
  9. //
  10. // Copyright 2006-2008 Google Inc.
  11. //
  12. // Licensed under the Apache License, Version 2.0 (the "License"); you may not
  13. // use this file except in compliance with the License. You may obtain a copy
  14. // of the License at
  15. //
  16. // http://www.apache.org/licenses/LICENSE-2.0
  17. //
  18. // Unless required by applicable law or agreed to in writing, software
  19. // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  20. // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  21. // License for the specific language governing permissions and limitations under
  22. // the License.
  23. //
  24. // Unittests are loadable bundles
  25. #include "../subconfig/Unittest.xcconfig"
  26. // When running OCUnit tests in Release mode the unittests BUNDLE_LOADER
  27. // is probably stripped (or at least it will be if they are using our
  28. // config files). In that case the Unittest will fail to link because
  29. // the symbols have been removed from the bundle's loader's symbol table.
  30. // This flag tells the unittest to trust that the values will be available
  31. // at runtime (or error out) and not to force an error at link time.
  32. // Do NOT set BUNDLE_LOADER (Bundle Loader) setting in a release unittest target
  33. // because you will run into interesting link issues
  34. // "indirect symbol table entry n past the end of the symbol table"
  35. OTHER_LDFLAGS = $(OTHER_LDFLAGS) -undefined dynamic_lookup