Title: [99547] trunk/Tools
Revision
99547
Author
ves...@webkit.org
Date
2011-11-08 04:14:55 -0800 (Tue, 08 Nov 2011)

Log Message

[Qt] Prevent duplicated sources in SOURCES/OBJECTIVE_SOURCES

Reviewed by Simon Hausmann.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (99546 => 99547)


--- trunk/Tools/ChangeLog	2011-11-08 12:00:26 UTC (rev 99546)
+++ trunk/Tools/ChangeLog	2011-11-08 12:14:55 UTC (rev 99547)
@@ -1,3 +1,11 @@
+2011-11-08  Tor Arne Vestbø  <tor.arne.ves...@nokia.com>
+
+        [Qt] Prevent duplicated sources in SOURCES/OBJECTIVE_SOURCES
+
+        Reviewed by Simon Hausmann.
+
+        * qmake/mkspecs/features/default_post.prf:
+
 2011-11-07  Zeno Albisser  <zeno.albis...@nokia.com>
 
         [Qt][WK2] MiniBrowser should use urlFromUserInput()

Modified: trunk/Tools/qmake/mkspecs/features/default_post.prf (99546 => 99547)


--- trunk/Tools/qmake/mkspecs/features/default_post.prf	2011-11-08 12:00:26 UTC (rev 99546)
+++ trunk/Tools/qmake/mkspecs/features/default_post.prf	2011-11-08 12:14:55 UTC (rev 99547)
@@ -192,6 +192,10 @@
     unset(OBJECTS_DIR)
 }
 
+# Remove duplicated sources
+SOURCES = $$unique(SOURCES)
+OBJECTIVE_SOURCES = $$unique(OBJECTIVE_SOURCES)
+
 # Someone might remove a header from the tree without touching
 # the corresponding project file, for example if the project
 # file never had the header in HEADERS. In that case we don't
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to