⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 107165 in webkit


Ignore:
Timestamp:
Feb 8, 2012, 6:38:47 PM (15 years ago)
Author:
kov@webkit.org
Message:

Rubber-stamped by Martin Robinson.

  • gtk/common.py:

(get_build_path): Move test for current directory being a valid
directory up so it takes precedence over WebKitBuild/Release and
WebKitBuild/Debug when they exist as well.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r107164 r107165  
     12012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        Rubber-stamped by Martin Robinson.
     4
     5        * gtk/common.py:
     6        (get_build_path): Move test for current directory being a valid
     7        directory up so it takes precedence over WebKitBuild/Release and
     8        WebKitBuild/Debug when they exist as well.
     9
    1102012-02-08  Gustavo Noronha Silva  <gns@gnome.org>
    211
  • trunk/Tools/gtk/common.py

    r107138 r107165  
    4343        return os.path.exists(os.path.join(path, 'GNUmakefile'))
    4444
     45    # Debian and Ubuntu build both flavours of the library (with gtk2
     46    # and with gtk3); they use directories build-2.0 and build-3.0 for
     47    # that, which is not handled by the above cases; we check that the
     48    # directory where we are called from is a valid build directory,
     49    # which should handle pretty much all other non-standard cases.
     50    build_dir = os.getcwd()
     51    if is_valid_build_directory(build_dir):
     52        return build_dir
     53
    4554    build_types = ['Release', 'Debug']
    4655    if '--debug' in sys.argv:
     
    6271
    6372    build_dir = top_level_path("WebKitBuild")
    64     if is_valid_build_directory(build_dir):
    65         return build_dir
    66 
    67     # Debian and Ubuntu build both flavours of the library (with gtk2
    68     # and with gtk3); they use directories build-2.0 and build-3.0 for
    69     # that, which is not handled by the above cases; we check that the
    70     # directory where we are called from is a valid build directory,
    71     # which should handle pretty much all other non-standard cases.
    72     build_dir = os.getcwd()
    7373    if is_valid_build_directory(build_dir):
    7474        return build_dir
Note: See TracChangeset for help on using the changeset viewer.