Package com.android.builder.compiler

Examples of com.android.builder.compiler.SourceGenerator


        checkState(mTarget != null, "Target not set.");
        checkNotNull(sourceFolders, "sourceFolders cannot be null.");
        checkNotNull(sourceOutputDir, "sourceOutputDir cannot be null.");
        checkNotNull(importFolders, "importFolders cannot be null.");

        SourceGenerator compiler = new SourceGenerator(mLogger);

        @SuppressWarnings("deprecation")
        String aidlPath = mTarget.getPath(IAndroidTarget.AIDL);

        AidlProcessor processor = new AidlProcessor(
                aidlPath,
                mTarget.getPath(IAndroidTarget.ANDROID_AIDL),
                importFolders,
                mCmdLineRunner);

        compiler.processFiles(processor, sourceFolders, sourceOutputDir);
    }
View Full Code Here


        checkState(mTarget != null, "Target not set.");
        checkNotNull(sourceFolders, "sourceFolders cannot be null.");
        checkNotNull(sourceOutputDir, "sourceOutputDir cannot be null.");
        checkNotNull(importFolders, "importFolders cannot be null.");

        SourceGenerator compiler = new SourceGenerator(mLogger);

        @SuppressWarnings("deprecation")
        String aidlPath = mTarget.getPath(IAndroidTarget.AIDL);

        AidlProcessor processor = new AidlProcessor(
                aidlPath,
                mTarget.getPath(IAndroidTarget.ANDROID_AIDL),
                importFolders,
                mCmdLineRunner);

        compiler.processFiles(processor, sourceFolders, sourceOutputDir);
    }
View Full Code Here

TOP

Related Classes of com.android.builder.compiler.SourceGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.