Only remove a backslash, nothing more. Otherwise a line with just
a backslash will cause a crash.
Bug: 28218145
Change-Id: I540a2508ba1fbd3f03cf8258d1fe4b99e0472c88
Previously, After idegen command executed, Android Studio
and Intellij didn't start with Android facet.
Android Device Monitor, AVD, etc are necessary,
so edit template android.iml for opening project with them.
Change-Id: I7734e45afc268aa4eabdd96854c775452f8426a7
Signed-off-by: dbgsprw <dbgsprw@gmail.com>
The code currently tries to parse all "$" as variables. Now narrow it
down to only "$()" as it should.
Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
We may have broken symlinks in the experimental directories. They
shouldn't fail the idegen.
Bug: 25389477
Change-Id: Ie94ebba9225c928a0990347da259ed7bbd4c9fe1
The common usage from a couple fellow engineers shows that we tend to
put the idea project right at the module root. This update simplifies
this common use case.
Change-Id: I6020a4e13e376fa2f7641f36a5d4b1b8637fbd86
The code currently tries to parse all "$" as variables. Now narrow it
down to only "$()" as it should.
Bug: 23155276
Change-Id: I1732ce757a9f7d611e90138b595a0aa1d3ce6009
Some module dir may not be the git root itself. Some modules may
share the same git root. e.g. "development/tools/apkcheck" module's
git root is "development/". So we need to look at the parent
directories too when going through all the modules.
Change-Id: Id2ce859efc0d5f6286eb8545fd6a21244e7d40a6
1.7 language features seems already used in Android codebase. Let's
move the generated project config to match that.
Change-Id: I0269f2e73417393bcd7894356caaea5c48b9d0e1
FrameworkModule has special case dependencies generation. It is
currently missing some. This cl fixes that and also fixed an edge case
when finding src directories.
Change-Id: I1593d92530715f3bbc8683cc32164fde4a29f0d8
Overall much better at find proper dependencies.
* No more need for aggregate modules.
* Source file searching.
* Make file token substitution.
* Inclusion src directories.
* Multi project/package support.
* Made framework module optional as some unbundled
branches do not include it.
Change-Id: Ie5ee66c488fc9141043137f716a3891f952bfe7f
- Creates modules and includes only dependencies that are needed by
the parent module instead of including the entire source tree. The
new structure makes intellij much more responsive and fast.
- Adds proper android facets when AndroidManifest.xml exists for
quick resource lookup.
- Automatically includes intermediates directory for generated R files.
- Exclusion of un-neccessary language resource folders from id lookups.
- Automatic vcs configuration for git roots.
- Multi-module make file support.
- Aggregate modules for multi-module make files.
Change-Id: I181670b269faa1cc3ab257692833821fab20f73c
Also excluding prebuilt jars from classpath. These include all
previous versions of the android sdk jars. Increased heap size to 800
so google intellij plugin does not complain. Changed default
configuration to use global code style insead of per project code
style.
Change-Id: If97550000fdc282cf6d506eb80b830ff4c1b87b9
Add some excludeFolder lines to android.iml generated by idegen.sh.
This removes a large number of non-Java files that IntelliJ would
otherwise have to stat and parse.
Change-Id: I362711daba6cc0c7ebec761d013c57c27a29d58d