File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,28 @@ load("@rules_java//java:defs.bzl", "java_library")
16
16
ios_application (
17
17
name = "Contacts" ,
18
18
bundle_id = "com.google.j2objc.example.contacts" ,
19
+ families = [
20
+ "iphone" ,
21
+ "ipad" ,
22
+ ],
19
23
infoplists = ["src/Info.plist" ],
20
- families = ["iphone" , "ipad" ],
21
- deps = [":ContactsMainLib" ],
22
24
minimum_os_version = "11.4" ,
25
+ deps = [":ContactsMainLib" ],
23
26
)
24
27
25
28
objc_library (
26
29
name = "ContactsMainLib" ,
27
30
srcs = glob (["src/*.m" ]),
28
31
hdrs = glob (["src/*.h" ]),
32
+ data = ["//resources" ],
29
33
sdk_frameworks = ["CoreGraphics" ],
30
34
deps = [":ContactsJava" ],
31
- data = ["//resources" ],
32
35
)
33
36
34
- j2objc_library (
37
+ j2objc_library_legacy (
35
38
name = "ContactsJava" ,
36
- deps = [":ContactsJavaLib" ],
37
39
jre_deps = ["@bazel_j2objc//:jre_net_lib" ],
40
+ deps = [":ContactsJavaLib" ],
38
41
)
39
42
40
43
java_library (
You can’t perform that action at this time.
0 commit comments