diff options
-rw-r--r-- | DEPS | 8 | ||||
-rw-r--r-- | README.md | 11 |
2 files changed, 12 insertions, 7 deletions
@@ -40,7 +40,7 @@ hooks = [ # A change to a .gyp, .gypi, or to GYP itself should run the generator. 'name': 'gyp', 'pattern': '.', - 'action': ['python', 'build/gyp_pdfium'], + 'action': ['python', 'pdfium/build/gyp_pdfium'], }, # Pull clang-format binaries using checked-in hashes. { @@ -51,7 +51,7 @@ hooks = [ '--platform=win32', '--no_auth', '--bucket', 'chromium-clang-format', - '-s', 'buildtools/win/clang-format.exe.sha1', + '-s', 'pdfium/buildtools/win/clang-format.exe.sha1', ], }, { @@ -62,7 +62,7 @@ hooks = [ '--platform=darwin', '--no_auth', '--bucket', 'chromium-clang-format', - '-s', 'buildtools/mac/clang-format.sha1', + '-s', 'pdfium/buildtools/mac/clang-format.sha1', ], }, { @@ -73,7 +73,7 @@ hooks = [ '--platform=linux*', '--no_auth', '--bucket', 'chromium-clang-format', - '-s', 'buildtools/linux64/clang-format.sha1', + '-s', 'pdfium/buildtools/linux64/clang-format.sha1', ], }, ] @@ -10,11 +10,16 @@ Also install Python, Subversion, and Git and make sure they're in your path. ## Get the code +The name of the top-level directory does not matter. In our examples, we use +"repo". This directory must not have been used before by `gclient config` as +each directory can only house a single gclient configuration. + ``` -mkdir pdfium -cd pdfium -gclient config --name . --unmanaged https://pdfium.googlesource.com/pdfium.git +mkdir repo +cd repo +gclient config --unmanaged https://pdfium.googlesource.com/pdfium.git gclient sync +cd pdfium ``` ## Generate the build files |