aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/databinding_annotation_template.txt
blob: f847a20be4ca13efc46910ca304f5fbd7c70f643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package android.databinding.layouts;

import android.databinding.BindingBuildInfo;

/**
 * Template for the file that feeds data binding's annotation processor. The
 * processor reads the values set here to generate .java files that link XML
 * data binding declarations (from layoutInfoDir) to app code.
 */
@BindingBuildInfo(
  // Setting a random build ID triggers incremental recompiling for the
  // annotation processor. But Bazel is already incrementally correct, so
  // this is unnecessary.
  buildId="not_used_here",
  modulePackage="%module_package%",
  sdkRoot="%sdk_root%",
  // The layout info file's *directory* (not the file itself):
  layoutInfoDir="%layout_info_dir%",
  exportClassListTo="%export_class_list_to%",
  isLibrary=%is_library%,
  minSdk=%min_sdk%,
  enableDebugLogs=false,
  printEncodedError=true
)
public class DataBindingInfo {
  /* This only exists for annotation processing. */
}