OSDN Git Service

Improvements to RenderScript support:
authorXavier Ducrohet <xav@android.com>
Tue, 1 Feb 2011 20:21:46 +0000 (12:21 -0800)
committerXavier Ducrohet <xav@android.com>
Tue, 1 Feb 2011 20:29:00 +0000 (12:29 -0800)
commit9bf7eaf8969ed3c28467aae1f7d7debf5bc1917c
tree79637b7c400a05b03a123ccc0eb667647e6aa320
parentf3fa02c6e326fe1cb6c35788b3287b07e1ec2f3b
Improvements to RenderScript support:

- change dependency file location to be in the gen folder
  in the same package as the source file. This prevents collisions
  if there are two classes named the same in different packages
  or source folders.

- Now that the dependency files are visible, track their deletion
  and force recompilation if this happens

- Missing dependency files during generator initialization force
  a recompilation of the source file.

- Prevent packaging from taking .rs, .rsh, and .d files from the
  source folders. This also impacts the Ant build system.

Change-Id: Iede9193f67370e1784bd8ba661198bbf99238074
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/AndroidConstants.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/AidlGenerator.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/GeneratorDeltaVisitor.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/JavaGenerator.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/RenderScriptGenerator.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PostCompilerBuilder.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerDeltaVisitor.java
sdkmanager/libs/sdklib/src/com/android/sdklib/build/ApkBuilder.java