summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Collapse)Author
2018-04-09Integration tests w/ AndroidXYigit Boyar
This CL adds integration tests w/ AndroidX and fixes some androidX issues that i've discovered during the move. Old tests are copied to integration-tests-support so that we still run them. I tried to keep the tests as similar as possible but sometimes needed to move classes (e.g. for cases where we have package private access). I've changed the applicationId of TestApp to use a different package so that it wo't conflict w/ the other one while testing on the same device. For other simpler tests, we were not using android.databinding so i just changed their package names not to conflict w/ their twins. I've also removed App With Spaces test which does not work w/ gradle5 anymore and we were not running it anyways. Bug: 77166878 Test: new andoridX tests Change-Id: I86f68fd6bee2ca849c6472c0411234bb3a08b132
2018-03-30Data Binding Android X supportYigit Boyar
This CL adds partial support for Android X. We duplicate baseLibrary and extensions (runtime libs) to have copies that are in the androidX namespace. Gradle picks the right version to include based on shared androidX flag. Right now, we have only 1 test that use androidX (DataBindingIncrementalTest) so all other tests still use the old package. I'll add testing for androidX in a followup CL. Bug: 77166878 Test: existing tests pass Change-Id: I77ec65b872cae0821513ca78ef9b6ab1b0300ed1
2018-03-06Bazel and v2 integrationYigit Boyar
This CL adds necessary support to exec to enable v2 in google Bug: 73782031 Test: gw :dB:exec:test Change-Id: If6533f4df5495814ebccae9eb198d1c930713208
2017-12-12Fix exec script and also added a very simple script to update google3Yigit Boyar
Also fixed a bunch of warnings in binding adapters that makes errorprone prechecks fail. Bug: 70531942 Test: n/a Change-Id: I0678d2c19c5227bc499d170bca9ed7464feb894b
2017-11-28Generate base binding classes in gradleYigit Boyar
This CL adds a new gradle.property called android.databinding.enableV2 which enables a new compiler setup in data binding. In that setup, generated binding classes that are accessed by user code are created with the Data binding source gen task rather than the annotation processor. This works around a problem in javac where if the compilation fails for any reason, it would print an error for each place user accesses this generated code, practically hiding the actual error in a moderate size project. Bug: 68393034 Test: existing tests pass, gradle plugin runs tests both in v1/v2 Change-Id: If25049a308160c3646983f26e69580a10aabde1d
2017-11-10make data binding extensions compile independently, againYigit Boyar
Bug: 68392816 Test: local tests pass Change-Id: I98d799bb1ad902fe4d55a1769aca95a0d65bc971
2017-11-10Integrate data binding build with tools buildYigit Boyar
This CL makes data binding runtime build part of tools as well, allowing us to run presubmit with tools. Integration tests are now run via gradle or bazel. bazel/bazel test //tools/base/build-system/integration-test/src/test/java/com/android/build/gradle/integration/databinding/... --test_output=streamed Bug: 68392816 Test: existing tests pass Change-Id: I88a47dcde85e519b281fee63791757a713b314b0
2016-12-14Update gradle versions and support lib dependencyYigit Boyar
This CL moves the dependency of extensions to core-utils to avoid lint errors starting 2.3. It also updates the test projects to use gradle 3.2. Bug: https://code.google.com/p/android/issues/detail?id=229664 Test: existing tests pass Change-Id: I125c17d6cf6f18fa4d29f8831ba43a07ba20ccff
2016-09-02Ship data binding artifacts in AARYigit Boyar
This CL changes how data binding keeps information about library projects. Previously, we would produce a "bin" file inside the jar to be able to carry over information from a library into the app. Now we will use the aar file instead and gradle will merge them into a folder. We still keep the old code which checks the classpath jars for backward compatibility. This CL also adds new tests under an anchor task called "testBackwardCompatibility" which compiles a library project with an older android gradle plugin version and then compiles and tests an app that depends on the library. The app is compile with ToT. Bug: 31033895 Change-Id: I94c2b39391eece01c86e5c894e26a581d96c83db
2016-07-19Adds bazel BUILD filesestebandlc
Change-Id: Iedb49ba792b7f9ef8bc882d5e8d76bd3becd45d7
2016-01-29Add .idea/modules to gitignoreDeepanshu Gupta
Change-Id: I9a1eb0f4c34bfc630d2d34f09bb6c5b5ff22eb0b
2015-12-22Add iml files for intellij projectDeepanshu Gupta
Helps keeping settings like codeStyleSettings in sync. Change-Id: I3919d9f8c11a1ef5bdc628f9456efa094ed4111d
2015-10-28Data binding as studio dep + java6Yigit Boyar
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
2015-07-15Use aar to release base adapters.Yigit Boyar
This CL updates android gradle dependency to 1.3.0-beta4 which brings support for provided aar dependencies. Taking advantage of it, now base adapters release an AAR instead of a Jar w/o any hacks. Bug: 22491107 Change-Id: I18fdd75de806aa507504b34a18c030ee25133b4d
2015-04-16Add 3rd party licenses to fatJarYigit Boyar
This CL adds 3rd party licenses to compiler-fatJar so that we can use it in our build process w/o maven dependency. It also removes dependency on SDK folder for api level lookup by shipping versions.xml file with the bundle. It adds a new gradle task, preparePrebuilds, which bundsles all necessary builds to a prebuild folder which should be committed. These pre-builds will be used by the makefile to support make builds. Bug: 19945740 Change-Id: I0bba72bbb13770aba94317301217ddd842211e2d