naiveproxy/ios/third_party/ochamcrest/BUILD.gn
2018-02-02 05:49:39 -05:00

265 lines
14 KiB
Plaintext

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ios/rules.gni")
ios_framework_bundle("ochamcrest") {
output_name = "OCHamcrest"
info_plist = "Info.plist"
testonly = true
sources = [
"src/Source/Core/HCAssertThat.h",
"src/Source/Core/HCAssertThat.m",
"src/Source/Core/HCBaseDescription.h",
"src/Source/Core/HCBaseDescription.m",
"src/Source/Core/HCBaseMatcher.h",
"src/Source/Core/HCBaseMatcher.m",
"src/Source/Core/HCDescription.h",
"src/Source/Core/HCDiagnosingMatcher.h",
"src/Source/Core/HCDiagnosingMatcher.m",
"src/Source/Core/HCMatcher.h",
"src/Source/Core/HCSelfDescribing.h",
"src/Source/Core/HCStringDescription.h",
"src/Source/Core/HCStringDescription.m",
"src/Source/Core/Helpers/HCCollect.h",
"src/Source/Core/Helpers/HCCollect.m",
"src/Source/Core/Helpers/HCInvocationMatcher.h",
"src/Source/Core/Helpers/HCInvocationMatcher.m",
"src/Source/Core/Helpers/HCRequireNonNilObject.h",
"src/Source/Core/Helpers/HCRequireNonNilObject.m",
"src/Source/Core/Helpers/HCRunloopRunner.h",
"src/Source/Core/Helpers/HCRunloopRunner.m",
"src/Source/Core/Helpers/HCWrapInMatcher.h",
"src/Source/Core/Helpers/HCWrapInMatcher.m",
"src/Source/Core/Helpers/NSInvocation+OCHamcrest.h",
"src/Source/Core/Helpers/NSInvocation+OCHamcrest.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.m",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.m",
"src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.m",
"src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.m",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.m",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.m",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.m",
"src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.m",
"src/Source/Library/Collection/HCEvery.h",
"src/Source/Library/Collection/HCEvery.m",
"src/Source/Library/Collection/HCHasCount.h",
"src/Source/Library/Collection/HCHasCount.m",
"src/Source/Library/Collection/HCIsCollectionContaining.h",
"src/Source/Library/Collection/HCIsCollectionContaining.m",
"src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h",
"src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.m",
"src/Source/Library/Collection/HCIsCollectionContainingInOrder.h",
"src/Source/Library/Collection/HCIsCollectionContainingInOrder.m",
"src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h",
"src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.m",
"src/Source/Library/Collection/HCIsCollectionOnlyContaining.h",
"src/Source/Library/Collection/HCIsCollectionOnlyContaining.m",
"src/Source/Library/Collection/HCIsDictionaryContaining.h",
"src/Source/Library/Collection/HCIsDictionaryContaining.m",
"src/Source/Library/Collection/HCIsDictionaryContainingEntries.h",
"src/Source/Library/Collection/HCIsDictionaryContainingEntries.m",
"src/Source/Library/Collection/HCIsDictionaryContainingKey.h",
"src/Source/Library/Collection/HCIsDictionaryContainingKey.m",
"src/Source/Library/Collection/HCIsDictionaryContainingValue.h",
"src/Source/Library/Collection/HCIsDictionaryContainingValue.m",
"src/Source/Library/Collection/HCIsEmptyCollection.h",
"src/Source/Library/Collection/HCIsEmptyCollection.m",
"src/Source/Library/Collection/HCIsIn.h",
"src/Source/Library/Collection/HCIsIn.m",
"src/Source/Library/Decorator/HCDescribedAs.h",
"src/Source/Library/Decorator/HCDescribedAs.m",
"src/Source/Library/Decorator/HCIs.h",
"src/Source/Library/Decorator/HCIs.m",
"src/Source/Library/Logical/HCAllOf.h",
"src/Source/Library/Logical/HCAllOf.m",
"src/Source/Library/Logical/HCAnyOf.h",
"src/Source/Library/Logical/HCAnyOf.m",
"src/Source/Library/Logical/HCIsAnything.h",
"src/Source/Library/Logical/HCIsAnything.m",
"src/Source/Library/Logical/HCIsNot.h",
"src/Source/Library/Logical/HCIsNot.m",
"src/Source/Library/Number/HCIsCloseTo.h",
"src/Source/Library/Number/HCIsCloseTo.m",
"src/Source/Library/Number/HCIsEqualToNumber.h",
"src/Source/Library/Number/HCIsEqualToNumber.m",
"src/Source/Library/Number/HCIsTrueFalse.h",
"src/Source/Library/Number/HCIsTrueFalse.m",
"src/Source/Library/Number/HCNumberAssert.h",
"src/Source/Library/Number/HCNumberAssert.m",
"src/Source/Library/Number/HCOrderingComparison.h",
"src/Source/Library/Number/HCOrderingComparison.m",
"src/Source/Library/Object/HCArgumentCaptor.h",
"src/Source/Library/Object/HCArgumentCaptor.m",
"src/Source/Library/Object/HCClassMatcher.h",
"src/Source/Library/Object/HCClassMatcher.m",
"src/Source/Library/Object/HCConformsToProtocol.h",
"src/Source/Library/Object/HCConformsToProtocol.m",
"src/Source/Library/Object/HCHasDescription.h",
"src/Source/Library/Object/HCHasDescription.m",
"src/Source/Library/Object/HCHasProperty.h",
"src/Source/Library/Object/HCHasProperty.m",
"src/Source/Library/Object/HCIsEqual.h",
"src/Source/Library/Object/HCIsEqual.m",
"src/Source/Library/Object/HCIsInstanceOf.h",
"src/Source/Library/Object/HCIsInstanceOf.m",
"src/Source/Library/Object/HCIsNil.h",
"src/Source/Library/Object/HCIsNil.m",
"src/Source/Library/Object/HCIsSame.h",
"src/Source/Library/Object/HCIsSame.m",
"src/Source/Library/Object/HCIsTypeOf.h",
"src/Source/Library/Object/HCIsTypeOf.m",
"src/Source/Library/Object/HCThrowsException.h",
"src/Source/Library/Object/HCThrowsException.m",
"src/Source/Library/Text/HCIsEqualCompressingWhiteSpace.h",
"src/Source/Library/Text/HCIsEqualCompressingWhiteSpace.m",
"src/Source/Library/Text/HCIsEqualIgnoringCase.h",
"src/Source/Library/Text/HCIsEqualIgnoringCase.m",
"src/Source/Library/Text/HCStringContains.h",
"src/Source/Library/Text/HCStringContains.m",
"src/Source/Library/Text/HCStringContainsInOrder.h",
"src/Source/Library/Text/HCStringContainsInOrder.m",
"src/Source/Library/Text/HCStringEndsWith.h",
"src/Source/Library/Text/HCStringEndsWith.m",
"src/Source/Library/Text/HCStringStartsWith.h",
"src/Source/Library/Text/HCStringStartsWith.m",
"src/Source/Library/Text/HCSubstringMatcher.h",
"src/Source/Library/Text/HCSubstringMatcher.m",
"src/Source/OCHamcrest.h",
]
public_headers = [
"src/Source/Core/HCAssertThat.h",
"src/Source/Core/HCBaseDescription.h",
"src/Source/Core/HCBaseMatcher.h",
"src/Source/Core/HCDescription.h",
"src/Source/Core/HCDiagnosingMatcher.h",
"src/Source/Core/HCMatcher.h",
"src/Source/Core/HCSelfDescribing.h",
"src/Source/Core/HCStringDescription.h",
"src/Source/Core/Helpers/HCCollect.h",
"src/Source/Core/Helpers/HCInvocationMatcher.h",
"src/Source/Core/Helpers/HCRequireNonNilObject.h",
"src/Source/Core/Helpers/HCRunloopRunner.h",
"src/Source/Core/Helpers/HCWrapInMatcher.h",
"src/Source/Core/Helpers/NSInvocation+OCHamcrest.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCBoolReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCCharReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCDoubleReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCFloatReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCIntReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCObjectReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnTypeHandlerChain.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCReturnValueGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCShortReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedCharReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedIntReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedLongReturnGetter.h",
"src/Source/Core/Helpers/ReturnValueGetters/HCUnsignedShortReturnGetter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCGenericTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCSenTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailure.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporter.h",
"src/Source/Core/Helpers/TestFailureReporters/HCTestFailureReporterChain.h",
"src/Source/Core/Helpers/TestFailureReporters/HCXCTestFailureReporter.h",
"src/Source/Library/Collection/HCEvery.h",
"src/Source/Library/Collection/HCHasCount.h",
"src/Source/Library/Collection/HCIsCollectionContaining.h",
"src/Source/Library/Collection/HCIsCollectionContainingInAnyOrder.h",
"src/Source/Library/Collection/HCIsCollectionContainingInOrder.h",
"src/Source/Library/Collection/HCIsCollectionContainingInRelativeOrder.h",
"src/Source/Library/Collection/HCIsCollectionOnlyContaining.h",
"src/Source/Library/Collection/HCIsDictionaryContaining.h",
"src/Source/Library/Collection/HCIsDictionaryContainingEntries.h",
"src/Source/Library/Collection/HCIsDictionaryContainingKey.h",
"src/Source/Library/Collection/HCIsDictionaryContainingValue.h",
"src/Source/Library/Collection/HCIsEmptyCollection.h",
"src/Source/Library/Collection/HCIsIn.h",
"src/Source/Library/Decorator/HCDescribedAs.h",
"src/Source/Library/Decorator/HCIs.h",
"src/Source/Library/Logical/HCAllOf.h",
"src/Source/Library/Logical/HCAnyOf.h",
"src/Source/Library/Logical/HCIsAnything.h",
"src/Source/Library/Logical/HCIsNot.h",
"src/Source/Library/Number/HCIsCloseTo.h",
"src/Source/Library/Number/HCIsEqualToNumber.h",
"src/Source/Library/Number/HCIsTrueFalse.h",
"src/Source/Library/Number/HCNumberAssert.h",
"src/Source/Library/Number/HCOrderingComparison.h",
"src/Source/Library/Object/HCArgumentCaptor.h",
"src/Source/Library/Object/HCClassMatcher.h",
"src/Source/Library/Object/HCConformsToProtocol.h",
"src/Source/Library/Object/HCHasDescription.h",
"src/Source/Library/Object/HCHasProperty.h",
"src/Source/Library/Object/HCIsEqual.h",
"src/Source/Library/Object/HCIsInstanceOf.h",
"src/Source/Library/Object/HCIsNil.h",
"src/Source/Library/Object/HCIsSame.h",
"src/Source/Library/Object/HCIsTypeOf.h",
"src/Source/Library/Object/HCThrowsException.h",
"src/Source/Library/Text/HCIsEqualCompressingWhiteSpace.h",
"src/Source/Library/Text/HCIsEqualIgnoringCase.h",
"src/Source/Library/Text/HCStringContains.h",
"src/Source/Library/Text/HCStringContainsInOrder.h",
"src/Source/Library/Text/HCStringEndsWith.h",
"src/Source/Library/Text/HCStringStartsWith.h",
"src/Source/Library/Text/HCSubstringMatcher.h",
"src/Source/OCHamcrest.h",
]
libs = [
"Foundation.framework",
"UIKit.framework",
]
configs -= [
"//build/config/compiler:chromium_code",
"//build/config/gcc:symbol_visibility_hidden",
]
configs += [
"//build/config/compiler:enable_arc",
"//build/config/compiler:no_chromium_code",
"//build/config/gcc:symbol_visibility_default",
]
}