Hi all,
      I trid to get the chrome source code via the gclient tools.
     Due to low-bandwidth, i did not want to sync the  layout_tests
code and added the filter line

          "src/webkit/data/layout_tests": None,

    into the .gclient file.

    But it seems does not work, it still sync the layout_tests code
from the depot after issuing gclient sync command.

   the steps i synced code as following:
    1. issuing command : "gclient config http://src.chromium.org/svn/trunk/src";
    2. modify  the .gclient file as following:

# An element of this array (a "solution") describes a repository
directory
# that will be checked out into your working copy.  Each solution may
# optionally define additional dependencies (via its DEPS file) to be
# checked out alongside the solution's directory.  A solution may also
# specify custom dependencies (via the "custom_deps" property) that
# override or augment the dependencies specified by the DEPS file.
# If a "safesync_url" is specified, it is assumed to reference the
location of
# a text file which contains nothing but the last known good SCM
revision to
# sync against. It is fetched if specified and used unless --head is
passed
solutions = [
  { "name"        : "src",
    "url"         : "http://src.chromium.org/svn/trunk/src";,
    "custom_deps" : {
      "src/webkit/data/layout_tests": None,
      # To use the trunk of a component instead of what's in DEPS:
      #"component": "https://svnserver/component/trunk/";,
      # To exclude a component from your working copy:
      #"data/really_large_component": None,
    },
    "safesync_url": ""
  }
]
  3. issuing the command gclient sync.

i am very puzzled of why, can any one help me out?

Thanks



--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to