Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # AS OF 2014-05-08 SUBMODULES HAVE BEEN REMOVED AND ARE NO LONGER OPERATIVE | |
|
Bons
2015/08/20 20:16:51
remove
| |
| 2 | |
| 3 Follow the instructions in http://dev.chromium.org/developers/how-tos/get-the-co de instead and use fetch :). | |
| 4 | |
| 5 ## Convert from submodules to gclient | |
| 6 | |
| 7 You do **not** need to delete your existing submodule-based checkout. | |
| 8 | |
| 9 **If you are a Google employee and your checkout has Google-internal code**, ple ase look for instructions on the internal wiki. | |
| 10 | |
| 11 To start using gclient, you simply need to create a `.gclient` file at the top-l evel of your checkout (in the directory containing `src/`). Here are some sampl e `.gclient` files for common work flows: | |
| 12 | |
| 13 ### Desktop chromium browser development | |
| 14 | |
| 15 This is the most common variant. | |
| 16 | |
| 17 ``` | |
| 18 solutions=[ | |
| 19 { | |
| 20 "name": "src", | |
| 21 "url": "https://chromium.googlesource.com/chromium/src.git", | |
| 22 "managed": False, | |
| 23 "deps_file": ".DEPS.git", | |
| 24 } | |
| 25 ] | |
| 26 ``` | |
| 27 | |
| 28 ### Blink development | |
| 29 | |
| 30 Just like basic chromium development, except that the blink checkout floats to t ip-of-tree, rather than being pinned to the version in `src/DEPS`. | |
| 31 | |
| 32 ``` | |
| 33 solutions = [ | |
| 34 { | |
| 35 "name": "src", | |
| 36 "url": "https://chromium.googlesource.com/chromium/src.git", | |
| 37 "managed": False, | |
| 38 "deps_file": ".DEPS.git", | |
| 39 "custom_vars": { | |
| 40 "webkit_rev": "" | |
| 41 } | |
| 42 } | |
| 43 ] | |
| 44 ``` | |
| 45 | |
| 46 ### Chromium for Android | |
| 47 | |
| 48 ``` | |
| 49 solutions = [ | |
| 50 { | |
| 51 "name": "src", | |
| 52 "url": "https://chromium.googlesource.com/chromium/src.git", | |
| 53 "managed": False, | |
| 54 "deps_file": ".DEPS.git", | |
| 55 } | |
| 56 ] | |
| 57 | |
| 58 target_os = ["android"] | |
| 59 ``` | |
| 60 | |
| 61 ### Chromium for iOS | |
| 62 | |
| 63 ``` | |
| 64 solutions = [ | |
| 65 { | |
| 66 "name": "src", | |
| 67 "url": "https://chromium.googlesource.com/chromium/src.git", | |
| 68 "managed": False, | |
| 69 "deps_file": ".DEPS.git", | |
| 70 } | |
| 71 ] | |
| 72 | |
| 73 target_os = ["ios"] | |
| 74 target_os_only = True | |
| 75 ``` | |
| 76 | |
| 77 ### Native Client | |
| 78 | |
| 79 ``` | |
| 80 solutions = [ | |
| 81 { | |
| 82 "name": "native_client", | |
| 83 "url": "https://chromium.googlesource.com/native_client/src/native_client.gi t", | |
| 84 "managed": False, | |
| 85 "deps_file": ".DEPS.git", | |
| 86 } | |
| 87 ] | |
| 88 ``` | |
| 89 | |
| 90 ### Native Client Ports | |
| 91 | |
| 92 ``` | |
| 93 solutions = [ | |
| 94 { | |
| 95 "name": "src", | |
| 96 "url": "https://chromium.googlesource.com/external/naclports.git", | |
| 97 "managed": False, | |
| 98 "deps_file": ".DEPS.git", | |
| 99 } | |
| 100 ] | |
| 101 ``` | |
| OLD | NEW |