Changeset 194832 in webkit
- Timestamp:
- Jan 10, 2016 1:56:07 PM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r194768 r194832 1 2016-01-10 Konstantin Tokarev <annulen@yandex.ru> 2 3 [webkitdirs] Try arch and uname commands on non-windows OS 4 https://bugs.webkit.org/show_bug.cgi?id=152958 5 6 Reviewed by Michael Catanzaro. 7 8 Right now, determineArchitecture() uses `arch` and `uname -m` 9 commands to determine architecture in case of condition (isGtk() || 10 isAppleMacWebKit() || isEfl()) is true. This should be !anyWindows() 11 instead, because this code is applicable to any non-windows OS WebKit 12 supports (even Haiku which once was supported is moderately 13 POSIX-compliant and has uname command). 14 15 * Scripts/webkitdirs.pm: 16 (determineArchitecture): 17 1 18 2016-01-08 Aakash Jain <aakash_jain@apple.com> 2 19 -
trunk/Tools/Scripts/webkitdirs.pm
r192774 r194832 348 348 } 349 349 350 if (!$architecture && (isGtk() || isAppleMacWebKit() || isEfl())) { 351 # Fall back to output of `arch', if it is present. 352 $architecture = `arch`; 353 chomp $architecture; 354 } 355 356 if (!$architecture && (isGtk() || isAppleMacWebKit() || isEfl())) { 357 # Fall back to output of `uname -m', if it is present. 358 $architecture = `uname -m`; 359 chomp $architecture; 350 if (!isAnyWindows()) { 351 if (!$architecture) { 352 # Fall back to output of `arch', if it is present. 353 $architecture = `arch`; 354 chomp $architecture; 355 } 356 357 if (!$architecture) { 358 # Fall back to output of `uname -m', if it is present. 359 $architecture = `uname -m`; 360 chomp $architecture; 361 } 360 362 } 361 363
Note: See TracChangeset
for help on using the changeset viewer.