Skip to content

Commit

Permalink
[Shape] Use Starlark macros in BUILD file. (#8209)
Browse files Browse the repository at this point in the history
Using more macros to make it easier to perform releases.

Part of #8150
  • Loading branch information
Robert Moore authored and codeman7 committed Aug 3, 2019
1 parent 9f707d1 commit 08ee58b
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions components/schemes/Shape/BUILD
Expand Up @@ -17,8 +17,8 @@
load(
"//:material_components_ios.bzl",
"mdc_examples_objc_library",
"mdc_objc_library",
"mdc_public_objc_library",
"mdc_unit_test_objc_library",
"mdc_unit_test_suite",
)

Expand Down Expand Up @@ -57,25 +57,11 @@ mdc_examples_objc_library(
],
)

package_group(
name = "test_targets",
packages = [
"//components/schemes/Shape/...",
],
)

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

0 comments on commit 08ee58b

Please sign in to comment.