Changeset 167932 in webkit
- Timestamp:
- Apr 29, 2014 8:17:08 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r167926 r167932 1 2014-04-29 Enrique Ocaña González <eocanha@igalia.com> 2 3 Generate Eclipse project + ninja build for GTK+ if Eclipse in available in the PATH 4 https://bugs.webkit.org/show_bug.cgi?id=132190 5 6 Reviewed by Gustavo Noronha Silva. 7 8 * Scripts/webkitdirs.pm: 9 (canUseEclipse): Test if Eclipse is in the path. This is the same method used to test 10 if ninja is in the path. 11 (generateBuildSystemFromCMakeProject): Use the eclipse generator if possible, fallback 12 to the previous ninja generator if not. 13 1 14 2014-04-29 Jozsef Berta <jberta.u-szeged@partner.samsung.com> 2 15 -
trunk/Tools/Scripts/webkitdirs.pm
r167685 r167932 1782 1782 } 1783 1783 1784 sub canUseEclipse(@) 1785 { 1786 system('which eclipse > /dev/null'); 1787 return $? == 0; 1788 } 1789 1784 1790 sub cmakeGeneratedBuildfile(@) 1785 1791 { … … 1820 1826 if ($willUseNinja) { 1821 1827 push @args, "-G"; 1822 push @args, "Ninja"; 1828 if (canUseEclipse()) { 1829 push @args, "'Eclipse CDT4 - Ninja'"; 1830 } else { 1831 push @args, "Ninja"; 1832 } 1823 1833 } 1824 1834
Note: See TracChangeset
for help on using the changeset viewer.