summaryrefslogtreecommitdiffstats
path: root/build/common.croc
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.croc')
-rw-r--r--build/common.croc27
1 files changed, 27 insertions, 0 deletions
diff --git a/build/common.croc b/build/common.croc
index 3c07d63..5588990 100644
--- a/build/common.croc
+++ b/build/common.croc
@@ -43,6 +43,33 @@
'regexp' : '.*\\.(cc|cpp|hpp)$',
'language' : 'C++',
},
+
+ # Files/paths to include. Specify these before the excludes, since rules
+ # are in order.
+ {
+ 'regexp' : '^CHROMIUM/(base|media|net|printing|chrome|webkit/glue|native_client)/',
+ 'include' : 1,
+ },
+ # Don't include subversion or mercurial SCM dirs
+ {
+ 'regexp' : '.*/(\\.svn|\\.hg)/',
+ 'include' : 0,
+ },
+ # Don't include output dirs
+ {
+ 'regexp' : '.*/(Debug|Release|sconsbuild|out|xcodebuild)/',
+ 'include' : 0,
+ },
+ # Don't include third-party source
+ {
+ 'regexp' : '.*/third_party/',
+ 'include' : 0,
+ },
+ # We don't run the V8 test suite, so we don't care about V8 coverage.
+ {
+ 'regexp' : '.*/v8/',
+ 'include' : 0,
+ },
],
# Paths to add source from