Home | History | Annotate | Download | only in checkdeps

Lines Matching refs:directory

41     # And it can include files from this other directory even though there is
51 files within this directory and subdirectories, you can write a
68 There is an implicit rule for the current directory (where the DEPS file lives)
70 allow the current directory everywhere. This implicit rule is applied first,
74 directory and then take away permissions from sub-parts, or the reverse.
76 Note that all directory separators must be slashes (Unix-style) and not
154 # Map of normalized directory paths to rules to use for those
175 cur_dir: The current directory, normalized path. We will create an
176 implicit rule that allows inclusion from this directory.
183 # First apply the implicit "allow" rule for the current directory.
193 raise Exception('Internal error: base directory is not at the beginning' +
228 """Combines rules from the existing rules and the new directory.
230 Any directory can contain a DEPS file. Toplevel DEPS files can contain
232 additional include rules and implicit rules for the given directory, to
233 come up with a combined set of rules to apply for the directory.
236 existing_rules: The rules for the parent directory. We'll add-on to these.
237 dir_name: The directory name that the deps file may live in (if
247 # Check for a .svn directory in this directory or check this directory is
249 # directory and should be checked.
254 # Check the DEPS file in this directory.
285 # violations under the testdata directory. On the other hand when
287 # directory to trigger those intended violations and see that they
296 # to apply the implicit "allow" rule for the current directory
308 directory that owns the |parent_rules|, add |dir_path|'s rules to
320 """Returns a Rules object to use for the given directory, or None
321 if the given directory should be skipped. This takes care of
326 dir_path: A real (non-normalized) path to the directory you want
348 # If the parent directory should be skipped, then the current
349 # directory should also be skipped.
356 """Checks all relevant source files in the specified directory and
388 # First check all files in this directory.
440 # Add the directory as well as all the parent directories. Use
457 tocheck Specifies the directory, relative to root, to check. This defaults
501 # Figure out which directory we have to check.
504 # Directory specified. Start here. It's supposed to be relative to the
505 # base directory.
514 print 'Using base directory:', deps_checker.base_directory