Add Testing to uikit.
Summary: I'm going to make some changes, but first, I want to get testing setup. Reviewed By: rnystrom Differential Revision: D4022585 fbshipit-source-id: a48516faad0bcb1a9cf5610ab21da5ee099c6f16
This commit is contained in:
committed by
Facebook Github Bot
parent
832d07902e
commit
89440f630f
@@ -9,10 +9,29 @@ include_defs('//CSSLAYOUT_DEFS')
|
||||
|
||||
apple_library(
|
||||
name = 'CSSLayout',
|
||||
tests = [':CSSLayoutTests'],
|
||||
srcs = glob(['*.m']),
|
||||
exported_headers = glob(['*.h']),
|
||||
frameworks = [
|
||||
'$SDKROOT/System/Library/Frameworks/Foundation.framework',
|
||||
'$SDKROOT/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
deps = [
|
||||
csslayout_dep(':CSSLayout'),
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
||||
apple_test(
|
||||
name = 'CSSLayoutTests',
|
||||
info_plist = 'Tests/Info.plist',
|
||||
srcs = glob(['Tests/**/*.m']),
|
||||
frameworks = [
|
||||
'$SDKROOT/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$PLATFORM_DIR/Developer/Library/Frameworks/XCTest.framework',
|
||||
],
|
||||
deps = [
|
||||
':CSSLayout',
|
||||
],
|
||||
visibility = ['PUBLIC'],
|
||||
)
|
||||
|
Reference in New Issue
Block a user