Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Feb 20, 2015
  1. @bradn123

    Fix script url.

    bradn123 authored
    BUG=None
    TEST=trybots
    TBR=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/945633002
  2. @bradn123

    Updating gyp repo for git, preparing for cq.

    bradn123 authored
    Switching source URL in codereview settings.
    Adding commit_queue json in preparation for a gyp CQ.
    
    BUG=None
    TEST=None
    R=scottmg@chromium.org, iannucci@chromium.org
    
    Review URL: https://codereview.chromium.org/943773003
Commits on Feb 18, 2015
  1. @nico

    ninja/posix: Introduce support for arflags variable.

    nico authored
    This can be used to pass a --plugin flag to ar.
    
    BUG=chromium:453195
    R=thakis@chromium.org
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2034 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Feb 11, 2015
  1. @sgraham

    Make msvs-ninja work for target-arch=x64

    sgraham authored
    This adds _x64 to the OutDir for msvs project files when ninja builds
    are enabled for x64.
    
    Patch from danduong@chromium.org.
    
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/880813004
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2033 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Feb 10, 2015
  1. @bulldy80

    msvs: Prefer x64 toolset if we are running on 64-bit

    bulldy80 authored
    The ninja generator also does the equivalent of this.  This is for the pure msvs generator.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/913493002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2032 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Feb 2, 2015
  1. @bulldy80

    Reland "msvs/ninja win: Fix support for ImageHasSafeExceptionHandlers"

    bulldy80 authored
    This commit fixes the x64 issue and adds a test.  The underlying issue was that
    the msvs default value for ImageHasSafeExceptionHandlers is None for x64
    targets.  In order to add the x64 test, we need to update the ninja generator
    to use ml64.exe instead of ml.exe when building x64 targets.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/861273003
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2031 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 30, 2015
  1. @sgraham

    win: Add NoImportLibrary flag for ninja generator

    sgraham authored
    This adds a flag that tells ninja not to expect an import library
    to be generated. This is only needed very rarely in the case of
    DLLs that have no exported symbols.
    
    There is no corresponding functionality in the msvs generator, so
    the test and functionality are ninja generator-only.
    
    R=grt@chromium.org
    BUG=gyp:397, chromium:451499
    
    Review URL: https://codereview.chromium.org/890773004
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2030 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 29, 2015
  1. @sgraham

    mac: Followup to ZERO_AR_DATE, touch the -o archive, rather than expe…

    sgraham authored
    …cting only one
    
    After https://codereview.chromium.org/791993005/.
    
    When multiarch, libtool is run as "... -o foo.a foo.i386.a foo.x86_64.a"
    so previously the touch wouldn't happen. Instead, look for the -o, and
    touch that archive.
    
    Add ARCHS to test to exercise this.
    
    R=sebmarchand@chromium.org, thakis@chromium.org
    BUG=451499
    
    Review URL: https://codereview.chromium.org/879343004
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2029 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 23, 2015
  1. @nico

    win: 'EnableEnhancedInstructionSet': '5' now enables /arch:AVX2.

    nico authored
    BUG=chromium:451290
    R=bradnelson@google.com
    
    Review URL: https://codereview.chromium.org/872643002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2028 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 21, 2015
  1. Revert "msvs/ninja win: Fix support for ImageHasSafeExceptionHandlers"

    teravest@chromium.org authored
    This patch is being reverted because it caused build errors in chromium when
    attempting a gyp roll.
    
    Here's an example error:
    LINK : fatal error LNK1246: '/SAFESEH' not compatible with 'x64' target
    machine; link without '/SAFESEH'
    
    TBR=sbaig1@bloomberg.net
    
    Review URL: https://codereview.chromium.org/864823003
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2027 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 20, 2015
  1. @bulldy80

    msvs/ninja win: Fix support for ImageHasSafeExceptionHandlers

    bulldy80 authored
    For ninja, we now emulate msvs by passing /SAFESEH:NO
    when ImageHasSafeExceptionHandlers is false, and passing
    /SAFESEH otherwise.
    
    For msvs, we now translate "MSBuildOnly" properties from
    msvs_settings "as-is".  Also, the msvs generator has been
    updated so support the MASM tool, so that the
    "gyptest-link-safeseh.py" test can be enabled.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/790213007
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2026 78cadc50-ecff-11dd-a971-7dbc132099af
  2. @nico

    don't assume bash is installed

    nico authored
    On systems like OpenBSD bash isn't available by default, this removes the hard
    coded path.
    
    Review URL: https://codereview.chromium.org/23460007/
    Patch from qbit <deftly@gmail.com>!
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2025 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 16, 2015
  1. Add 'depfile' option to actions.

    teravest@chromium.org authored
    This adds a 'depfile' option to GYP actions, which allows an action to
    provide that 'depfile' for use by ninja.
    
    This is necessary for handling dependencies correctly when an action
    compiles generated code.
    
    BUG=https://code.google.com/p/chromium/issues/detail?id=440451
    R=bradnelson@google.com
    
    Review URL: https://codereview.chromium.org/793153004
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2024 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 15, 2015
  1. @nico

    Revert 2011 'Fixed Gyp Xcode generator for libraries with identical n…

    nico authored
    …ames.'
    
    This made the xcode generator very slow for larger projects, see
    https://code.google.com/p/chromium/issues/detail?id=447801
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2023 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 14, 2015
  1. @jeisinger

    Don't serialize linking for the make generator by default

    jeisinger authored
    Instead, projects that want this feature should define a LINK_wrapper
    
    BUG=none
    R=thakis@chromium.org
    
    Review URL: https://codereview.chromium.org/839233002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2022 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Jan 7, 2015
  1. @nico

    Add support for generating an Eclipse .classpath file (bug fix)

    nico authored
    In r2015, support was added for generating a .classpath file in
    the Eclipse generator.  However, it contained a bug that would
    add an incorrect directory to the classpath in some circumstances,
    if the root folder or any of its parents were named 'src' or
    'java'.  This is due to the heuristic nature of determining Java
    package root locations.
    
    This commit resolves the bug by preventing the heuristic from
    using the root location, or traversing to any of its ancestors.
    
    BUG=gyp:472
    Review URL: https://codereview.chromium.org/798133002/
    
    Patch from Kevin McCormick <mckev@amazon.com>!
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2021 78cadc50-ecff-11dd-a971-7dbc132099af
  2. @sebmarchand

    Set ZERO_AR_DATE=1 when running libtool.

    sebmarchand authored
    This is a reland of https://codereview.chromium.org/699083004/.
    
    See https://code.google.com/p/chromium/issues/detail?id=432483 for the reason of this reland.
    
    BUG=chromium:330262
    R=maruel@chromium.org, thakis@chromium.org
    
    Review URL: https://codereview.chromium.org/791993005
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2020 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 24, 2014
  1. @sdefresne

    Fix: xcode-ninja should copy the product extension to the wrapper pro…

    sdefresne authored
    …ject
    
    Two targets may differ in just the product extension. To avoid name
    clashes in this situation, the xcode-ninja generator needs to copy this
    extension when generating targets for the wrapper project.
    
    Patch by Tobias Hahn <tobias.hahn@ableton.com>.
    
    BUG=gyp:450
    TEST=./gyptest.py -f xcode-ninja test/mac/gyptest-loadable-module-bundle-product-extension.py
    R=justincohen@chromium.org, sdefresne@chromium.org, justincohen
    
    Review URL: https://codereview.chromium.org/516953002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2019 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 23, 2014
  1. @sdefresne

    Fix: xcode-ninja should generate Xcode workspace into generator_output

    sdefresne authored
    The test gyptest-top-all guards against this when run using
    TestGypXcodeNinja, i.e.
    
    $ ./gyptest.py -f xcode-ninja test/generator-output/gyptest-top-all.py
    
    BUG=gyp:442
    
    TEST=Run
        ./gyptest.py -f xcode-ninja test/generator-output/gyptest-top-all.py
    
    Expected to pass (instead of failing with Permission denied: 'prog1.ninja.xcworkspace')
    
    Patch by Tobias Hahn <tobias.hahn@ableton.com>.
    
    R=justincohen@chromium.org, sdefresne@chromium.org
    
    Review URL: https://codereview.chromium.org/421053005
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2018 78cadc50-ecff-11dd-a971-7dbc132099af
  2. @sdefresne

    Add TestGypXcodeNinja to run tests against the xcode-ninja generator

    sdefresne authored
    Use:
    
        ./gyptest.py -f xcode-ninja <tests>
    
    BUG=gyp:443
    TEST=Run
        ./gyptest.py -f xcode-ninja -a
    
    Expected: No test failures.
    
    Patch by Tobias Hahn <tobias.hahn@ableton.com>.
    
    R=mark@chromium.org, sdefresne@chromium.org, justincohen@chromium.org
    
    Review URL: https://codereview.chromium.org/421453003
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2017 78cadc50-ecff-11dd-a971-7dbc132099af
  3. @sdefresne

    Fix mixed line endings warning

    sdefresne authored
    Fixed using "tr -d '\r' < update_pgd.py > update_pgd_fixed.py" and
    then renaming the file to update_pgd.py.
    
      ** Presubmit ERRORS **
      Pylint (436 files) (104.89s) failed
      ************* Module update_pgd
      C: 33, 0: Mixed line endings LF and CRLF (mixed-line-endings)
    
    BUG=None
    TBR=mark@chromium.org
    
    Review URL: https://codereview.chromium.org/822893002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2016 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 12, 2014
  1. @nico

    Add support for generating an Eclipse .classpath file

    nico authored
    This adds support for generating a .classpath file that can be copied
    to an Eclipse project for improved symbol navigation.
    
    BUG=gyp:472
    Review URL: https://codereview.chromium.org/774693004/
    
    Patch from Kevin McCormick <mckev@amazon.com>!
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2015 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 10, 2014
  1. Add support for iOS WatchKit apps in GYP

    justincohen@chromium.org authored
    Adds new target types for Apple Watch apps and their corresponding
    WatchKit extensions, along with a test and sample application.
    
    Patch by David Patierno <dmpatierno@google.com>
    
    R=justincohen@chromium.org, sdefresne@chromium.org
    
    Review URL: https://codereview.chromium.org/762673002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2014 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 9, 2014
  1. @sgraham

    win: Add support for VS2015

    sgraham authored
    R=sbaig1@bloomberg.net
    BUG=chromium:440500
    
    Review URL: https://codereview.chromium.org/784363003
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2013 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 3, 2014
  1. @bulldy80

    Cache data for included files in the multiprocess load codepath

    bulldy80 authored
    When running gyp with --no-parallel, the build file data for included gypi
    files is cached in the 'data' dict, so we never load gypi files more than once.
    
    However, when running in parallel mode, the |data| and |aux_data| parameters
    passed to CallLoadTargetBuildFile are always empty.  That means gypi files are
    reloaded for every single gyp file.
    
    This commit changes CallLoadTargetBuildFile to use a global |per_process_data|
    and |per_process_aux_data|, instead of accepting them as parameters.  This
    allows each subprocess to get gypi file data from this per-process cache if it
    has already encountered the gypi file when loading a previous target build
    file.
    
    Another minor change in this commit is to remove aux_data from ParallelState.
    The aux_data is only ever used within the scope of LoadTargetBuildFile, so we
    don't need to communicate it back to the main process.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/773883002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2012 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Dec 2, 2014
  1. @sgraham

    Fixed Gyp Xcode generator for libraries with identical names.

    sgraham authored
    The Xcode generator produces the same hash for library target products that have
    identical names and are defined in .gyp files with identical names that have
    different source tree roots. The fix consists of setting the (already defined)
    'projectRoot' property on the PBXProject object and adding it to the hashables
    of this class.
    
    Patch by Johannes Sartisohn <jsartisohn@google.com>
    
    R=mark@chromium.org
    
    Review URL: https://codereview.chromium.org/748793002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2011 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 27, 2014
  1. @tornewuff

    android: don't try to handle suppress_wildcard.

    tornewuff authored
    When deciding whether to include a target in the generated makefiles or
    not, don't consider the suppress_wildcard flag as this just means that
    any target which depends directly on the target in question will crash
    gyp. The exact contents of the "all" target on the android backend are
    not really relevant, so this is the simplest fix.
    
    BUG=chromium:435772
    R=thakis@chromium.org
    
    Review URL: https://codereview.chromium.org/758943002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2010 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 25, 2014
  1. @nico

    ninja/win: Let link-wrapper convert /s to \s in the linker command.

    nico authored
    ExecLinkWrapper() runs a subprocess with shell=True, so that "link.exe" is
    looked up using PATH from the environment loaded from environment.x86 in the
    build directory.
    
    shell=True implies that forward slashes in the path to the linker (say, if a
    custom linker, such as lld-link.exe is used) don't work. If the linker command
    is '..\../lld-link.exe', the command with fail with
    "'..\..' is not recognized as an internal or external command".
    
    So manually replace forward slashes with backslashes in the link command before
    attempting to run it.
    
    BUG=chromium:436277
    Review URL: https://codereview.chromium.org/722073004/
    
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2009 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 22, 2014
  1. @nico

    Initialize struct flock for AIX with O_LARGEFILE used by Python.

    nico authored
    gyp issue 440
    
    Python on AIX is compiled with LARGEFILE support.  gyp flock_tool must
    use the appropriate stucture member definitions to properly initialize
    the structure.
    
    BUG=
    Review URL: https://codereview.chromium.org/738943004/
    Patch from David Edelson <dje.gcc@gmail.com>!
    
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2008 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 21, 2014
  1. @bulldy80

    Add back support for /Gv now that gyp-win64 has VS2013

    bulldy80 authored
    This was removed in the last minute in r1984 because of failures in the
    gyp-win64 bot.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/645223002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2007 78cadc50-ecff-11dd-a971-7dbc132099af
  2. @bulldy80

    Mechanical changes to cleanup pylint presubmit checks

    bulldy80 authored
    BUG=gyp:469
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/739303003
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2006 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 18, 2014
  1. @bulldy80

    Add support for "else if" in gyp conditions

    bulldy80 authored
    Right now, a gyp condition consists of exactly two or three parts:
    
      [cond_expr, true_dict]
      [cond_expr, true_dict, false_dict]
    
    This means if we want to have an "else if" condition, it needs to be inside a
    nested 'conditions' list inside the false_dict.  This leads to unnecessarily
    deep levels of nesting in gyp files.
    
    This commit makes it so that if the 'false_dict' is not a dict, then we will
    treat it as another cond_expr.  We keep looping like this until we find a
    false_dict, or until we reach the end of the list.
    
    This means we can now have conditions that look like this:
    
      [cond_expr1, true_dict1, cond_expr2, true_dict2, false_dict]
    
    or:
    
      [cond_expr1, true_dict1, cond_expr2, true_dict2, cond_expr3, true_dict3]
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/601353002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2004 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 13, 2014
  1. @bulldy80

    ninja win: Add msvs emulation for FloatingPointModel

    bulldy80 authored
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/720153005
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2003 78cadc50-ecff-11dd-a971-7dbc132099af
  2. @bulldy80

    win: Use the _winreg module for registry access

    bulldy80 authored
    This commit changes the Visual Studio installation path detection code to use
    _winreg to find the installation path in the registry.  The previous method of
    using reg.exe is preserved as a fallback for when '_winreg' cannot be imported
    (for example in cygwin).
    
    Also, remove the '_RegistryKeyExists' function since it is not used anywhere.
    
    BUG=
    R=scottmg@chromium.org
    
    Review URL: https://codereview.chromium.org/724863002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2002 78cadc50-ecff-11dd-a971-7dbc132099af
Commits on Nov 12, 2014
  1. @nico

    Revert r1998, it breaks iOS builds

    nico authored
    BUG=chromium:432483
    TBR=maruel@chromium.org
    
    Review URL: https://codereview.chromium.org/722773002
    
    git-svn-id: http://gyp.googlecode.com/svn/trunk@2001 78cadc50-ecff-11dd-a971-7dbc132099af
Something went wrong with that request. Please try again.