History log of /frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89e50f43810ee32d8fc8ea359cd8e0ca4e9c8de4 23-Jan-2016 Yigit Boyar <yboyar@google.com> Fix incremental compilation when dependency layout is removed

This CL fixes a bug where if gradle dependency of a module is removed,
we would not delete its layout files properly.

Change-Id: Ifa5529768ed959acd8b6a903ad33d8f1e42159f7
Bug: 25755539
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
9784c9aaedeb863018f5fcaa0a598e8e2f8ed2f3 13-Oct-2015 Yigit Boyar <yboyar@google.com> Data binding as studio dep + java6

This CL gets rid of the gradle plugin and instead provides
DataBindingBuilder for the gradle plugin to directly use.

Now, everything that is deployed via SDK Manager (lib and adapters)
are included as prebuilts so that we avoid accidently changing
them w/o an SDK manager release.

There is still work to do:
> re-enable proguard for externel dependencies
> release a batch to ensure everything works

Bug: 22516688
Change-Id: I83ace15bd6d3d23bf5b4ad850f36453dd23ebd43
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
ddeffcc2d89275528b2001836da2795b14ea7909 08-Oct-2015 Yigit Boyar <yboyar@google.com> Create tag from original file

XMLEditor was creating root view tag from the file in build folder
which becomes a problem if android gradle plugin decides to create
more variations of the source file. This CL fixes that issue and always
uses the folder name from the original file if exists.

Bug: 24745000
Change-Id: I169db02ffa4985328e408cc347d83c984bd2f5ad
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
fd8342a51a96282df315cd27055ba539e89a8c9e 07-Oct-2015 Yigit Boyar <yboyar@google.com> Report syntax errors even though Antlr can recover

This CL makes Antlr parser more strict by not allowing errors.
Antlr usually tries to recover from these errors but thats
not what we really want for this use case.

This CL also updates version codes to rc4 since rc3 is already out.

Change-Id: I0d305e06a6cdcbae2f37573c3c6ae4233cdd7958
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
92a428505b9102bc0560d2d5be1768da097909c2 06-Aug-2015 George Mount <mount@google.com> Support binding expressions in android:tag attribute.

Bug 22972105

Also added error reporting for tags on root elements
and tests. ICS+ supports tags on root elements.

Change-Id: I1f3fe5e59b68a04fd80e3e2638a7b7743fac027d
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
24bec1cc542de69e0e21cc774469f20d34811ad9 09-Jul-2015 Yigit Boyar <yboyar@google.com> Localize Maven

This CL introduces a new development plugin that downloads all
dependencies into the given repository. This will allow us to
build data binding in build servers w/o internet connection.

By default, it is setup to disable public repositories to avoid
adding a new dependency w/o running the script.
Public repositories can be added by running -PaddRemoteRepos=true.
There is also a convenience script to fetch dependencies.
localize.sh

Bug: 19626302
Change-Id: I9d200550b76c3b60119cdbbdb4e1e7772d0da1d7
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
aafbe5a2394ff9826201cca97d3298a9f355e311 01-Jul-2015 Yigit Boyar <yboyar@google.com> Add errors for layout files in different configs

This CL adds ScopedExceptions to multi-config layout parsing.

Bug: 21953001
Change-Id: I5d62b711120e890733e7f5c08108041109e4eefd
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
731b74f7f44e67312a1fc4161c4e0aae221b2417 25-Jun-2015 Yigit Boyar <yboyar@google.com> Introduce Scopes to track logical stack traces

This CL introduces a static class called Scope, which is
used the logical processing stack for data binding.
These scopes are used to generate meaningful error messages
when an error is detected.

Bug: 21953001
Change-Id: I5470a8c4ad94401d34a140762baae9d53c5a0402
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
3e3bf43a2e11fb433b43558e2e05255edfa5b6a8 23-Jun-2015 George Mount <mount@google.com> Give an error when includes are in the root of data bound layouts.

Bug 22032146

Change-Id: Ia20264a843edf70358ea37cdf31ab8b5686052b8
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
8b1da958f181639d33dfaa907c0ee66add2decd6 23-Jun-2015 Yigit Boyar <yboyar@google.com> Don't generate inflators for libraries

If a library project (A) depends on anohter library project (B),
we would generate code that accesses R file of project B while
compiling project A. Unfortunately, gradle does not generate that
R file when compiling A, it only exists when compiling the app
and B.
This CL changes the base class generation to not to generate
real code for base classes unless we are building the final app.

Bug: 22001270
Change-Id: Ic107001ab58c94016f37f7f6fc0470a822db3aa7
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java
9064a1dd60eb8c2f9d2ed705b36bb5f0b1629771 09-Jun-2015 Yigit Boyar <yboyar@google.com> Compilation tests module

This CL adds a new module which is a java project that can be
used to create one-off project setups. This module will be
used to test error cases and to make sure we detect errors
and dispatch proper error messages.

I've also updated antlr to 4.5 which gets rid of the annoying
annotation processor source compatibility error:
https://github.com/antlr/antlr4/issues/487

Bug: 21735564
Change-Id: I16c04923c7d69ca40fe13139acaf87c08166ad95
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/SimpleCompilationTest.java