Skip to content

Commit

Permalink
Removing per-board compilation speedup checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
damellis committed Dec 16, 2011
1 parent b0ae6e7 commit 1a7fe19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions app/src/processing/app/Sketch.java
Original file line number Diff line number Diff line change
Expand Up @@ -1626,8 +1626,7 @@ public boolean exportApplet(String appletPath, boolean usingProgrammer)
}

File appletFolder = new File(appletPath);
String use_dep = Base.getBoardPreferences().get("build.dependency");
if (use_dep == null || use_dep.compareToIgnoreCase("true") != 0 || deleteFilesOnNextBuild) {
if (deleteFilesOnNextBuild) {
// delete the entire directory and all contents
// when we know something changed and all objects
// need to be recompiled, or if the board does not
Expand Down
3 changes: 0 additions & 3 deletions app/src/processing/app/debug/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ private List<File> compileFiles(String avrBasePath,
}

private boolean is_already_compiled(File src, File obj, File dep, Map<String, String> prefs) {
String build_dep = prefs.get("build.dependency");
if (build_dep == null) return false;
if (build_dep.compareToIgnoreCase("true") != 0) return false;
boolean ret=true;
try {
//System.out.println("\n is_already_compiled: begin checks: " + obj.getPath());
Expand Down

0 comments on commit 1a7fe19

Please sign in to comment.