OLD | NEW |
1 vars = { | 1 vars = { |
2 # Use this googlecode_url variable only if there is an internal mirror for it. | 2 # Use this googlecode_url variable only if there is an internal mirror for it. |
3 # If you do not know, use the full path while defining your new deps entry. | 3 # If you do not know, use the full path while defining your new deps entry. |
4 "googlecode_url": "http://%s.googlecode.com/svn", | 4 "googlecode_url": "http://%s.googlecode.com/svn", |
5 "webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk", | 5 "webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk", |
6 "nacl_trunk": "http://src.chromium.org/native_client/trunk", | 6 "nacl_trunk": "http://src.chromium.org/native_client/trunk", |
7 "webkit_revision": "93234", | 7 "webkit_revision": "93234", |
8 "chromium_git": "http://git.chromium.org/git", | 8 "chromium_git": "http://git.chromium.org/git", |
9 "swig_revision": "69281", | 9 "swig_revision": "69281", |
10 # These hashes need to be updated when nacl_revision is changed. | |
11 # After changing nacl_revision, run 'gclient runhooks' to get the new values. | |
12 "nacl_irt_hash_x86_32": "96f8b8602ee43b05898fb22302fb5eb2dded4d5c", | |
13 "nacl_irt_hash_x86_64": "9b04a640e6216aea7153654dee1ab264fb537478", | |
14 "nacl_revision": "6459", | 10 "nacl_revision": "6459", |
15 # After changing nacl_revision, run 'glient sync' and check native_client/DEPS | 11 # After changing nacl_revision, run 'glient sync' and check native_client/DEPS |
16 # to update other nacl_*_revision's. | 12 # to update other nacl_*_revision's. |
17 # TODO(brettw) We should use the "From" syntax to avoid hardcoding the | 13 # TODO(brettw) We should use the "From" syntax to avoid hardcoding the |
18 # revisions here, but it makes checkdeps confused. We should fix checkdeps. | 14 # revisions here, but it makes checkdeps confused. We should fix checkdeps. |
19 "nacl_chrome_ppapi_revision": "96903", # native_client/DEPS: chrome_ppapi_rev | 15 "nacl_chrome_ppapi_revision": "96903", # native_client/DEPS: chrome_ppapi_rev |
20 "nacl_tools_revision": "5360", # native_client/DEPS: tools_rev | 16 "nacl_tools_revision": "5360", # native_client/DEPS: tools_rev |
21 | 17 |
22 # These hashes need to be updated when nacl_toolchain_revision is changed. | 18 # These hashes need to be updated when nacl_toolchain_revision is changed. |
23 # After changing nacl_toolchain_revision, run 'gclient runhooks' to get the | 19 # After changing nacl_toolchain_revision, run 'gclient runhooks' to get the |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 ] | 407 ] |
412 | 408 |
413 | 409 |
414 hooks = [ | 410 hooks = [ |
415 { | 411 { |
416 # A change to a .gyp, .gypi, or to GYP itself should run the generator. | 412 # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
417 "pattern": ".", | 413 "pattern": ".", |
418 "action": ["python", "src/build/gyp_chromium"], | 414 "action": ["python", "src/build/gyp_chromium"], |
419 }, | 415 }, |
420 { | 416 { |
421 # This downloads binaries for Native Client's integrated runtime (IRT) | |
422 # library, which is built as NaCl untrusted code. | |
423 "pattern": ".", | |
424 "action": ["python", "src/build/download_nacl_irt.py", | |
425 "--nacl_revision", Var("nacl_revision"), | |
426 "--file_hash", "x86_32", Var("nacl_irt_hash_x86_32"), | |
427 "--file_hash", "x86_64", Var("nacl_irt_hash_x86_64")], | |
428 }, | |
429 { | |
430 # This downloads binaries for Native Client's newlib toolchain. | 417 # This downloads binaries for Native Client's newlib toolchain. |
431 # Done in lieu of building the toolchain from scratch as it can take | 418 # Done in lieu of building the toolchain from scratch as it can take |
432 # anywhere from 30 minutes to 4 hours depending on platform to build. | 419 # anywhere from 30 minutes to 4 hours depending on platform to build. |
433 "pattern": ".", | 420 "pattern": ".", |
434 "action": [ | 421 "action": [ |
435 "python", "src/build/download_nacl_toolchains.py", | 422 "python", "src/build/download_nacl_toolchains.py", |
436 "--x86-version", Var("nacl_toolchain_revision"), | 423 "--x86-version", Var("nacl_toolchain_revision"), |
437 "--nacl-newlib-only", | 424 "--nacl-newlib-only", |
438 "--file-hash", "mac_x86_newlib", | 425 "--file-hash", "mac_x86_newlib", |
439 Var("nacl_toolchain_mac_x86_newlib_hash"), | 426 Var("nacl_toolchain_mac_x86_newlib_hash"), |
440 "--file-hash", "win_x86_newlib", | 427 "--file-hash", "win_x86_newlib", |
441 Var("nacl_toolchain_win_x86_newlib_hash"), | 428 Var("nacl_toolchain_win_x86_newlib_hash"), |
442 "--file-hash", "linux_x86_newlib", | 429 "--file-hash", "linux_x86_newlib", |
443 Var("nacl_toolchain_linux_x86_newlib_hash"), | 430 Var("nacl_toolchain_linux_x86_newlib_hash"), |
444 ], | 431 ], |
445 }, | 432 }, |
446 ] | 433 ] |
OLD | NEW |