Obj-C SDK Cleanup
This CL separates the files under sdk/objc into logical directories, replacing
the previous file layout under Framework/.
A long term goal is to have some system set up to generate the files under
sdk/objc/api (the PeerConnection API wrappers) from the C++ code. In the shorter
term the goal is to abstract out shared concepts from these classes in order to
make them as uniform as possible.
The separation into base/, components/, and helpers/ are to differentiate between
the base layer's common protocols, various utilities and the actual platform
specific components.
The old directory layout that resembled a framework's internal layout is not
necessary, since it is generated by the framework target when building it.
Bug: webrtc:9627
Change-Id: Ib084fd83f050ae980649ca99e841f4fb0580bd8f
Reviewed-on: https://webrtc-review.googlesource.com/94142
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Anders Carlsson <andersc@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24493}
diff --git a/webrtc.gni b/webrtc.gni
index 8cd1c1d..133f86c 100644
--- a/webrtc.gni
+++ b/webrtc.gni
@@ -160,6 +160,9 @@
# binary only running on iOS 11+, which is why it is disabled by default.
rtc_apprtcmobile_broadcast_extension = false
}
+
+ # Determines whether Metal is available on iOS/macOS.
+ rtc_use_metal_rendering = is_mac || (is_ios && current_cpu == "arm64")
}
if (!build_with_mozilla) {
@@ -649,7 +652,7 @@
"--out",
rebase_path(umbrella_header_path, root_build_dir),
"--sources",
- ] + rebase_path(public_headers, "objc/Framework/Headers/")
+ ] + public_headers
}
copy("copy_umbrella_header_$target_name") {