Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: webrtc/examples/BUILD.gn

Issue 2502623002: Add ARDSettingsModelTests to apprtcmobile_test target. (Closed)
Patch Set: Rename static library Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModelTests.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/BUILD.gn
diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn
index dc9e24ef7cc248ca0ae55cd3add3deb5560ba70a..58ae8a4c1afd5943b2159b21c333b0a19aa31b1b 100644
--- a/webrtc/examples/BUILD.gn
+++ b/webrtc/examples/BUILD.gn
@@ -234,7 +234,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
}
if (is_ios) {
- ios_app_bundle("AppRTCMobile") {
+ rtc_static_library("AppRTCMobile_lib") {
sources = [
"objc/AppRTCMobile/ios/ARDAppDelegate.m",
"objc/AppRTCMobile/ios/ARDMainView.h",
@@ -257,23 +257,32 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
"objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch",
"objc/AppRTCMobile/ios/UIImage+ARDUtilities.h",
"objc/AppRTCMobile/ios/UIImage+ARDUtilities.m",
- "objc/AppRTCMobile/ios/main.m",
]
-
- info_plist = "objc/AppRTCMobile/ios/Info.plist"
-
configs += [
- "..:common_config",
"//build/config/compiler:enable_arc",
":warnings_config",
]
- public_configs = [ "..:common_inherited_config" ]
deps = [
- ":AppRTCMobile_ios_bundle_data",
":apprtc_common",
":apprtc_signaling",
]
+ }
+
+ ios_app_bundle("AppRTCMobile") {
+ sources = [
+ "objc/AppRTCMobile/ios/main.m",
+ ]
+
+ info_plist = "objc/AppRTCMobile/ios/Info.plist"
+
+ configs += [ "..:common_config" ]
+ public_configs = [ "..:common_inherited_config" ]
+
+ deps = [
+ ":AppRTCMobile_ios_bundle_data",
+ ":AppRTCMobile_lib",
+ ]
if (target_cpu == "x86") {
deps += [ "//testing/iossim:iossim" ]
@@ -306,7 +315,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
}
if (is_mac) {
- rtc_static_library("AppRTCMobile_app") {
+ rtc_static_library("AppRTCMobile_lib") {
sources = [
"objc/AppRTCMobile/mac/APPRTCAppDelegate.h",
"objc/AppRTCMobile/mac/APPRTCAppDelegate.m",
@@ -339,7 +348,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
libs = [ "AppKit.framework" ]
deps = [
- ":AppRTCMobile_app",
+ ":AppRTCMobile_lib",
]
}
}
@@ -396,7 +405,9 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
}
rtc_test("apprtcmobile_tests") {
+ include_dirs = [ "objc/AppRTCMobile/ios" ]
deps = [
+ ":AppRTCMobile_lib",
":apprtc_signaling",
"//testing/gtest",
"//third_party/ocmock",
@@ -404,6 +415,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
sources = [
"objc/AppRTCMobile/tests/ARDAppClientTest.mm",
+ "objc/AppRTCMobile/tests/ARDSettingsModelTests.mm",
]
if (is_ios) {
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/tests/ARDSettingsModelTests.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698