-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathGoogleAppUtilities.podspec.json.goldmaster
More file actions
104 lines (104 loc) · 2.4 KB
/
GoogleAppUtilities.podspec.json.goldmaster
File metadata and controls
104 lines (104 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
load('@build_bazel_rules_apple//apple:apple.bzl', 'apple_static_framework_import')
load(
"//Vendor/rules_pods/BazelExtensions:extensions.bzl",
"pch_with_name_hint",
"acknowledged_target",
"gen_module_map",
"gen_includes",
"headermap"
)
# Add a config setting release for compilation mode
# Assume that people are using `opt` for release mode
# see the bazel user manual for more information
# https://docs.bazel.build/versions/master/be/general.html#config_setting
config_setting(
name = "release",
values = {
"compilation_mode": "opt"
}
)
filegroup(
name = "GoogleAppUtilities_hdrs",
srcs = glob(
[
"pod_support/Headers/Public/**/*"
],
exclude_directories = 1
),
visibility = [
"//visibility:public"
]
)
headermap(
name = "GoogleAppUtilities_hmap",
namespace = "GoogleAppUtilities",
hdrs = [
":GoogleAppUtilities_hdrs"
],
deps = [
"//Vendor/GoogleSymbolUtilities:GoogleSymbolUtilities",
":GoogleAppUtilities_VendoredFrameworks"
],
visibility = [
"//visibility:public"
]
)
gen_includes(
name = "GoogleAppUtilities_includes",
include = [
"Vendor/GoogleAppUtilities/pod_support/Headers/Public/"
]
)
objc_library(
name = "GoogleAppUtilities",
enable_modules = 0,
hdrs = [
":GoogleAppUtilities_hdrs"
],
pch = pch_with_name_hint(
"GoogleAppUtilities",
[]
),
deps = [
"//Vendor/GoogleSymbolUtilities:GoogleSymbolUtilities",
":GoogleAppUtilities_VendoredFrameworks",
":GoogleAppUtilities_includes"
],
copts = select(
{
"//conditions:default": [
"-DPOD_CONFIGURATION_RELEASE=0"
],
":release": [
"-DPOD_CONFIGURATION_RELEASE=1",
"-DNS_BLOCK_ASSERTIONS=1"
]
}
) + [
"-IVendor/GoogleAppUtilities/pod_support/Headers/Public/GoogleAppUtilities/"
] + [
"-fmodule-name=GoogleAppUtilities_pod_module"
],
visibility = [
"//visibility:public"
]
)
acknowledged_target(
name = "GoogleAppUtilities_acknowledgement",
deps = [
"//Vendor/GoogleSymbolUtilities:GoogleSymbolUtilities_acknowledgement"
],
value = "//Vendor/GoogleAppUtilities/pod_support_buildable:acknowledgement_fragment"
)
apple_static_framework_import(
name = "GoogleAppUtilities_VendoredFrameworks",
framework_imports = glob(
[
"Frameworks/frameworks/GoogleAppUtilities.framework/**"
],
exclude_directories = 1
),
visibility = [
"//visibility:public"
]
)