Project-Profile.xcconfig 884 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Copyright (c) 2014-present, Facebook, Inc.
  3. // All rights reserved.
  4. //
  5. // This source code is licensed under the BSD-style license found in the
  6. // LICENSE file in the root directory of this source tree. An additional grant
  7. // of patent rights can be found in the PATENTS file in the same directory.
  8. //
  9. #include "Project.xcconfig"
  10. // Code Generation
  11. GCC_OPTIMIZATION_LEVEL = s
  12. // Disable assertions
  13. ENABLE_NS_ASSERTIONS = NO
  14. // Enable Xcode PNG compression
  15. COMPRESS_PNG_FILES = YES
  16. // Deployment
  17. COPY_PHASE_STRIP = NO
  18. // Preprocessing
  19. GCC_PREPROCESSOR_DEFINITIONS = PROFILE=1 NS_BLOCK_ASSERTIONS NDEBUG
  20. // We need debug symbols for profiling
  21. DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
  22. // Not all libraries have a Profile version. Allow using the Release version if they don't.
  23. LIBRARY_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR) $(BUILD_DIR)/Release$(EFFECTIVE_PLATFORM_NAME)