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