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

Changeset 118678 in webkit


Ignore:
Timestamp:
May 28, 2012, 6:16:05 AM (14 years ago)
Author:
peter@chromium.org
Message:

[Chromium] Build fix for the Android bot, set CXX_target at gyp generation-time
https://bugs.webkit.org/show_bug.cgi?id=87649

Unreviewed build fix.

Chromium Android builds were broken because v8 tried to compile files
for target with the "-m32" flag. This was caused by a v8 check falling
back to using "which g++" to find the right compiler, whereas it should
have used the $CXX_target environment variable. This isn't being set
for Android builds.

  • gyp_webkit: Set the CXX_target environment variable. Annotate the fix with a FIXME comment too.
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r118677 r118678  
     12012-05-28  Peter Beverloo  <peter@chromium.org>
     2
     3        [Chromium] Build fix for the Android bot, set CXX_target at gyp generation-time
     4        https://bugs.webkit.org/show_bug.cgi?id=87649
     5
     6        Unreviewed build fix.
     7
     8        Chromium Android builds were broken because v8 tried to compile files
     9        for target with the "-m32" flag. This was caused by a v8 check falling
     10        back to using "which g++" to find the right compiler, whereas it should
     11        have used the $CXX_target environment variable. This isn't being set
     12        for Android builds.
     13
     14        * gyp_webkit: Set the CXX_target environment variable. Annotate the fix
     15          with a FIXME comment too.
     16
    1172012-05-28  Keishi Hattori  <keishi@webkit.org>
    218
  • trunk/Source/WebKit/chromium/gyp_webkit

    r116190 r118678  
    8888      exit(subprocess.call(['bash', '-c', 'source %s && python gyp_webkit --no-envsetup-recursion %s' % (envsetup_location, ' '.join(args))]))
    8989    else:
     90      # FIXME: v8 requires the CXX_target variable to determine whether -m32 should be
     91      # set. The current Android build set-up is not sustainable and breaks too often.
     92      os.environ['CXX_target'] = glob.glob('%s/*-g++' % os.environ.get('ANDROID_TOOLCHAIN'))[0]
    9093      args.remove('--no-envsetup-recursion')
    9194
Note: See TracChangeset for help on using the changeset viewer.