blob: bece70fda5862d95dfc5675f4ac9fd922784e9ac [file] [log] [blame]
# XCodeGen for the :benchmark:benchmark-darwin-samples module..
name: benchmark-darwin-sample-xcode
targets:
testapp-ios:
type: application
platform: iOS
info:
path: Info.plist
sources:
- path: 'iosSources/main'
scheme:
testTargets:
- testapp-ios-benchmarks
preActions:
- name: build AndroidXDarwinSampleBenchmarks.xcframework
basedOnDependencyAnalysis: false
settingsTarget: testapp-ios
script: |
cd ${PROJECT_DIR}/../..
ANDROIDX_PROJECTS=KMP ./gradlew :benchmark:benchmark-darwin-samples:assembleAndroidXDarwinSampleBenchmarksReleaseXCFramework \
--no-configuration-cache < /dev/null
outputFiles:
- "${PROJECT_DIR}/../../../../out/androidx/benchmark/benchmark-darwin-samples/build/XCFrameworks/release/AndroidXDarwinSampleBenchmarks.xcframework"
gatherCoverageData: false
dependencies:
- framework: "${PROJECT_DIR}/../../../../out/androidx/benchmark/benchmark-darwin-samples/build/XCFrameworks/release/AndroidXDarwinSampleBenchmarks.xcframework"
settings:
PRODUCT_NAME: testapp-ios
testapp-ios-benchmarks:
type: bundle.unit-test
platform: iOS
info:
path: Info.plist
sources:
- path: 'iosAppUnitTests/main'
scheme:
gatherCoverageData: false
settings:
PRODUCT_NAME: testapp-ios-benchmarks
settings:
PRODUCT_BUNDLE_IDENTIFIER: androidx.benchmark
SWIFT_VERSION: 5
CODE_SIGN_IDENTITY: ''
CODE_SIGNING_REQUIRED: 'NO'
CODE_SIGN_ENTITLEMENTS: ''
CODE_SIGNING_ALLOWED: 'NO'
IPHONEOS_DEPLOYMENT_TARGET: 15.2