• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Default Idegen excluded paths file. Contains regular expressions, one per
2# line, which match paths of directories and .jar files that should be excluded
3# from the IDE configuration.
4#
5# We want to exclude as litte as possible by default, so it's important to
6# document the reason for each exclusion.
7#
8# Developers can also create an 'excluded-paths' file in the project's root
9# directory or their vendor directory and add their own excludes to slim
10# down their build.
11#
12# Currently, we lump all the .java files together into one big module, so you
13# can't have two classes with the same name at once. In the future, we'll
14# generate individual modules, each with their own dependencies, much like the
15# build, so we won't have to worry about duplicate names any more than the
16# build does.
17#
18# Note: Google-specific excludes go in vendor/google/excluded-paths.
19
20# Generated API stubs. We only want the originals in our IDE.
21android_stubs
22
23# Extra copies of JUnit.
24^dalvik/dx/src/junit$
25^dalvik/libcore/luni/src/test/java/junit$
26
27# Duplicate R.java files. We'll keep the versions from the "intermediates"
28# directories.
29^out/target/common/R$
30
31# Not actually built. Also disabled in make file.
32^development/samples/MySampleRss$
33^development/apps/OBJViewer$
34^packages/apps/IM/samples/PluginDemo$
35
36# We don't currently support development tool source code. Development tools
37# typically have their own IDE configurations anyway.
38#
39# The main problem is that the development tools are meant to run against a
40# fully featured desktop VM while almost everything in our IDE configuration
41# is meant to run against Android's more limited APIs. Mixing the two
42# environments in one IDE configuration doesn't work well.
43^development/tools$
44^external/jdiff$
45^external/emma$
46^external/clearsilver$
47layoutlib
48^prebuilt/.*\.jar$
49^dalvik/.*\.jar$
50^build/tools/droiddoc$
51
52# Each test has a Main.java in the default package, so they conflict with
53# each other.
54^dalvik/tests$
55
56# We can only support one policy impl at a time.
57^frameworks/policies/base/mid$
58#^frameworks/policies/base/phone$
59
60# We don't want compiled jars.
61^out/.*\.jar$
62
63# This directory contains only an R.java file which is the same as the one in
64# Camera_intermediates.
65^out/target/common/obj/APPS/CameraTests_intermediates$
66
67# Exclude all prebuilts jars.
68^prebuilts/.*\.jar$
69