Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Typography] Use Starlark macros. (#8199)
Use more Starlark macros in the BUILD file. This makes releasing easier.

Part of #8150
  • Loading branch information
Robert Moore committed Aug 2, 2019
1 parent 7718df1 commit 80e8c32
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions components/Typography/BUILD
Expand Up @@ -20,6 +20,7 @@ load(
"mdc_public_objc_library",
"mdc_snapshot_objc_library",
"mdc_snapshot_test",
"mdc_unit_test_objc_library",
"mdc_unit_test_suite",
)

Expand All @@ -29,7 +30,6 @@ mdc_public_objc_library(
name = "Typography",
sdk_frameworks = [
"QuartzCore",
"UIKit",
],
deps = [
"//components/private/Application",
Expand All @@ -41,7 +41,6 @@ mdc_public_objc_library(
mdc_objc_library(
name = "private",
hdrs = native.glob(["src/private/*.h"]),
includes = ["src/private"],
visibility = ["//visibility:private"],
)

Expand All @@ -61,16 +60,8 @@ mdc_examples_swift_library(
],
)

mdc_objc_library(
mdc_unit_test_objc_library(
name = "unit_test_sources",
testonly = 1,
srcs = glob(["tests/unit/*.m"]),
hdrs = glob(["tests/unit/*.h"]),
sdk_frameworks = [
"UIKit",
"XCTest",
],
visibility = ["//visibility:private"],
deps = [
":Typography",
":private",
Expand Down

0 comments on commit 80e8c32

Please sign in to comment.