Skip to content

Instantly share code, notes, and snippets.

@gonzaloruizdevilla
Last active April 2, 2020 11:05
Show Gist options
  • Save gonzaloruizdevilla/c93f7fd67739b9dc6a75618566026543 to your computer and use it in GitHub Desktop.
Save gonzaloruizdevilla/c93f7fd67739b9dc6a75618566026543 to your computer and use it in GitHub Desktop.
GoogleMaps/BUILD.bzl
package(default_visibility = ["//visibility:public"])
load("@build_bazel_rules_apple//apple:apple.bzl", "apple_static_framework_import")
apple_static_framework_import(
name = "GoogleMapsCore",
framework_imports = glob(
["Maps/Frameworks/GoogleMapsCore.framework/**"],
exclude=["Maps/Frameworks/GoogleMapsCore.framework/Modules/module.modulemap"])
)
apple_static_framework_import(
name = "GoogleMaps",
framework_imports = glob([
"Base/Frameworks/GoogleMapsBase.framework/**",
"Maps/Frameworks/GoogleMaps.framework/**"]),
sdk_frameworks = [
"Accelerate",
"CoreData",
"CoreGraphics",
"CoreImage",
"CoreLocation",
"CoreTelephony",
"CoreText",
"GLKit",
"ImageIO",
"OpenGLES",
"QuartzCore",
"SystemConfiguration",
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment