Tuesday, May 8, 2012

Chrome for Android 代码获取



好吧,其实这只是从chromium.org上扒下来的,为什么要做这种多余的事情呢?因为好几天都访问不了这个网站了,但是呢,sync代码是可以的,于是把这些命令保存下来好了~

1. $ cd $CHROMIUM_ROOT <- where to store the code

 $ svn ls https://src.chromium.org/chrome <- optional

3. edit .gclient, add the bold part:
solutions = [
    { "name"        : "src",
      "url"         : "https://git.chromium.org/chromium/src.git",
      "deps_file"   : ".DEPS.git",
      "managed"     : True,
      "custom_deps" : {
          },
      "safesync_url": "",
      },
    {
        "name": "android.deps.git",
        "custom_deps": {},
        "custom_vars": {}
     }
]

4. gclient sync  <- then take a cup of tea~

No comments:

Post a Comment