| /** |
| * Base rules for building chips. This build file is not used directly but rather |
| * included in scripts like build.gradle or standalone.gradle using 'apply from'. |
| * |
| * This allows the dependencies to be configured so that for builds in the Android tree, the |
| * dependencies like support library is built directly from source, while for standalone builds they |
| * will be fetched from maven central. |
| */ |
| |
| apply plugin: 'com.android.library' |
| |
| android { |
| sourceSets.main { |
| manifest.srcFile 'AndroidManifest.xml' |
| java.srcDirs = ['src'] |
| res.srcDirs = ['res'] |
| } |
| } |
| |
| dependencies { |
| compile deps['support-v4'] |
| } |