[Xcode] libwebrtc SRCROOT includes examples
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Apr 2017 18:33:10 +0000 (18:33 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Apr 2017 18:33:10 +0000 (18:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=171478

Reviewed by Tim Horton.

* Configurations/Base.xcconfig: Exclude the Source/webrtc/examples subdirectory from
  installsrc. Its contents are not used for building any of the targets in the project.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/ThirdParty/libwebrtc/ChangeLog
Source/ThirdParty/libwebrtc/Configurations/Base.xcconfig

index f109084..8074743 100644 (file)
@@ -1,3 +1,13 @@
+2017-04-29  Dan Bernstein  <mitz@apple.com>
+
+        [Xcode] libwebrtc SRCROOT includes examples
+        https://bugs.webkit.org/show_bug.cgi?id=171478
+
+        Reviewed by Tim Horton.
+
+        * Configurations/Base.xcconfig: Exclude the Source/webrtc/examples subdirectory from
+          installsrc. Its contents are not used for building any of the targets in the project.
+
 2017-04-19  Youenn Fablet  <youenn@apple.com>
 
         [Mac] Allow customizing H264 encoder
index b9d2daa..a68a24d 100644 (file)
@@ -81,6 +81,8 @@ OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS);
 
 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(inherited);
 
+EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = $(inherited) "$(PROJECT_DIR)/Source/webrtc/examples";
+
 NORMAL_WEBCORE_FRAMEWORKS_DIR = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
 NORMAL_WEBCORE_FRAMEWORKS_DIR[sdk=macosx*] = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;