Skip to content

Commit

Permalink
Deletes library compilation support.
Browse files Browse the repository at this point in the history
Incremental monolithic compiles replace this functionality.

Change-Id: I351ed910a10df38ebcb2146d5cebcd83e8493746
Review-Link: https://gwt-review.googlesource.com/#/c/11150/
  • Loading branch information
stalcup committed Jan 13, 2015
1 parent b8de31d commit 7a8254b
Show file tree
Hide file tree
Showing 82 changed files with 133 additions and 8,672 deletions.
23 changes: 0 additions & 23 deletions dev/BUILD
Expand Up @@ -303,24 +303,6 @@ java_library(
],
)

gwt_test(
name = "tests_dev.IncrementalBuilderTest",
data = [
"//third_party/java_src/gwt:gwt-dev-full.jar",
"//third_party/java_src/gwt:gwt-user-full",
"//third_party/java_src/gwt/svn/trunk/user:incremental-build-system-test-res.jar",
],
jvm_flags = [
"-Dgwt.cp=third_party/java_src/gwt/svn/trunk/user/incremental-build-system-test-res.jar\;third_party/java_src/gwt/gwt-dev-full.jar\;third_party/java_src/gwt/gwt-user-full.jar",
"-ea",
],
main_class = "com.google.gwt.dev.IncrementalBuilderTest",
deps = [
":dev-test-code",
"//third_party/java_src/gwt/svn/trunk/user:incremental-build-system-test-res",
],
)

# The "dev" directory is tested by loose tests. Some of them fail because of
# classpath expectations that are invalid in Google's distributed build
# environment.
Expand All @@ -333,11 +315,6 @@ GWT_DEV_TESTS = glob(
exclude = [
"core/test/**/ClassPathEntryTest.java",
"core/test/**/ResourceOracleImplTest.java",
] +
# Handled separately because it needs a custom test target with
# custom classpath.
[
"core/test/**/IncrementalBuilderTest.java",
],
)

Expand Down
7 changes: 2 additions & 5 deletions dev/build.xml
Expand Up @@ -8,12 +8,9 @@

<property name="alldeps.jar" location="${project.build}/alldeps.jar"/>
<property name="gwt.junit.testcase.dev.core.includes" value="**/com/google/**/*Test.class"/>
<!-- BrowserManagerTest is brought in from user and is not instantiable.
IncrementalBuilderTest needs a special setup.
TODO(stalcup): Add the correct setup for IncrementalBuilderTest and reenable.
-->
<!-- BrowserManagerTest is brought in from user and is not instantiable. -->
<property name="gwt.junit.testcase.dev.core.excludes"
value="**/BrowserManagerTest.class **/IncrementalBuilderTest.class"/>
value="**/BrowserManagerTest.class"/>

<target name="clean" description="Cleans this project's intermediate and output files">
<delete dir="${project.build}" failonerror="false"/>
Expand Down
Expand Up @@ -111,6 +111,7 @@ public OptionJsInteropMode.Mode getJsInteropMode() {
}

@Override
@Deprecated
public List<String> getLibraryPaths() {
return ImmutableList.of();
}
Expand Down Expand Up @@ -139,6 +140,7 @@ public OptionMethodNameDisplayMode.Mode getMethodNameDisplayMode() {
}

@Override
@Deprecated
public File getMissingDepsFile() {
return null; // Don't record and save missing dependency information to a file.
}
Expand All @@ -164,6 +166,7 @@ public JsOutputOption getOutput() {
}

@Override
@Deprecated
public String getOutputLibraryPath() {
return null;
}
Expand Down
Expand Up @@ -146,6 +146,7 @@ public void setJsonSoycEnabled(boolean jsonSoycEnabled) {
}

@Override
@Deprecated
public void setLibraryPaths(List<String> libraryPaths) {
throw new UnsupportedOperationException();
}
Expand All @@ -171,6 +172,7 @@ public final void setMaxPermsPerPrecompile(int maxPerms) {
}

@Override
@Deprecated
public final void setMissingDepsFile(File file) {
throw new UnsupportedOperationException();
}
Expand Down Expand Up @@ -211,6 +213,7 @@ public final void setOutput(JsOutputOption obfuscated) {
}

@Override
@Deprecated
public void setOutputLibraryPath(String outputLibraryPath) {
throw new UnsupportedOperationException();
}
Expand Down Expand Up @@ -281,11 +284,13 @@ public final void setWarDir(File dir) {
}

@Override
@Deprecated
public final void setWarnOverlappingSource(boolean warnOverlappingSource) {
throw new UnsupportedOperationException();
}

@Override
@Deprecated
public final void setWarnMissingDeps(boolean warnMissingDeps) {
throw new UnsupportedOperationException();
}
Expand Down
233 changes: 0 additions & 233 deletions dev/core/src/com/google/gwt/dev/BuildTarget.java

This file was deleted.

0 comments on commit 7a8254b

Please sign in to comment.