1. 02 Mar, 2016 1 commit
    • Neil Fuller's avatar
      Add JarJar support to BUILD_HOST_JAVA_LIBRARY · 30b21ad5
      Neil Fuller authored
      This will allow us to convert icu4j-icudata / icu4j-icutzdata
      targets to "host" targets rather than "target" targets.
      Right now they are forcing Jack off just so they can use
      javac + jarjar (even though the resulting file is used on
      host).
      
      Bug: 27218410
      Change-Id: I7062c698389d98b0dde5690280a9140c3b12cbf7
      30b21ad5
  2. 28 Sep, 2015 1 commit
    • Colin Cross's avatar
      Don't add dependencies on Makefiles when using ninja · a4447e8c
      Colin Cross authored
      Ninja has an implicit dependency on the command being run, and kati will
      regenerate the ninja manifest if any read makefile changes, so there is no
      need to have dependencies on makefiles.
      This won't catch all the cases where LOCAL_ADDITIONAL_DEPENDENCIES contains
      a .mk file, because a few users of LOCAL_ADDITIONAL_DEPENDENCIES don't
      include base_rules.mk, but it will fix the most common ones.
      
      Bug: 23566977
      Change-Id: I66de882421376303ab7233c8ce7274548f6b2199
      a4447e8c
  3. 02 Sep, 2015 1 commit
    • Ying Wang's avatar
      Clean up Javac a little bit. · 447d6967
      Ying Wang authored
      - Added GLOBAL_JAVAC_DEBUG_FLAGS and merge it to
        PRIVATE_JAVACFLAGS/PRIVATE_JACK_FLAGS to get rid of
        PRIVATE_JAVAC_DEBUG_FLAGS/PRIVATE_JACK_DEBUG_FLAGS.
      - With Java rules out of base_rules.mk we can get rid
        of java_alternative_checked_module now.
      
      Change-Id: I1a14716c785e3d49330a75044107662ce96a9307
      447d6967
  4. 29 Aug, 2015 1 commit
    • Ying Wang's avatar
      Move Java stuff out of base_rules.mk · 956dcccf
      Ying Wang authored
      - Moved the target-only .aidl and .logtag rules to java.mk.
      - Moved the .proto rules,  Java library dependency calculation,
        Java resource processing and Java-related
        target-specific and global variables setup to a new java_common.java,
        which is shared by both target and host Java modules.
      - Minor cleanup for the moved code.
      
      Bug: 23597357
      Change-Id: Ic3eb72e26bb1a663e5739abe0a935f96b88bc352
      956dcccf
  5. 02 Jun, 2015 1 commit
  6. 28 May, 2015 1 commit
  7. 19 May, 2015 1 commit
  8. 18 Feb, 2015 1 commit
    • Yohann Roussel's avatar
      Change built module of static java libraries · d2a76c14
      Yohann Roussel authored
      Set LOCAL_BUILT_MODULE of static java libraries when Jack is enabled
      to classes.jack instead of javalib.jar.
      This allows that running mm in those libraries will build classes.jack
      instead of the jar.
      
      Change-Id: I96b4b227848e971df96331b3f0cc731e856be349
      d2a76c14
  9. 11 Nov, 2014 1 commit
    • Dan Albert's avatar
      Make modules depend on their makefile. · 954b5bdc
      Dan Albert authored
      This should obviate much of the need for cleanspecs, and also make it
      unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this
      sort of thing all over the tree.
      
      Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce
      954b5bdc
  10. 24 May, 2014 1 commit
    • Jeff Brown's avatar
      Support more precise package exclusion from JAR files. · 4c4aa99c
      Jeff Brown authored
      Allow LOCAL_JAR_PACKAGES to work on subpackages.  Previously it
      only worked on top-level packages due to a bug in how the directories
      were recursively deleted.
      
      Add LOCAL_JAR_EXCLUDE_PACKAGES to allow specific subpackages to
      be excluded.  This rule applies after LOCAL_JAR_PACKAGES has
      selected which packages to include.  It may also be used independently.
      
      Change-Id: Ibd0e495be1a20c84b59c9da132e92100ef3f8705
      4c4aa99c
  11. 30 Dec, 2013 1 commit
    • Ying Wang's avatar
      Emma support for host Java libraries. · 1ff0836c
      Ying Wang authored
      To run emma on a host Java library, in the module definition use:
      LOCAL_EMMA_INSTRUMENT := true
      then run make with "EMMA_INSTRUMENT=true".
      
      Bug: 12178695
      Change-Id: Ie31582b94f5c45381f534912e810f88d21dde9b2
      1ff0836c
  12. 25 Nov, 2013 1 commit
    • Narayan Kamath's avatar
      Rework the generation of host java libraries. · 40dae1fe
      Narayan Kamath authored
      We currently have two types of host libraries, those
      meant for the host VM (Sun, OpenJDK etc.) and those meant
      for a host dalvik build. The former need to be compiled
      against the host standard libraries and the latter need
      to be compiled against libcore. This change introduces
      two new build rules to complement the existing the existing
      host rules.
      
      BUILD_HOST_DALVIK_JAVA_LIBRARY : Build a java library for
      a host build of dalvik. Bootclasspath will be set to a host
      build of libcore.
      BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY : Build a static java
      library for a host build of dalvik. Bootclasspath will be set
      to a host build of libcore.
      
      This change also removes support for the LOCAL_BUILD_HOST_DEX
      flag, which is now unnecessary.
      
      bug: 8992787
      
      (cherry picked from commit 0dd273a3)
      
      Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
      40dae1fe
  13. 07 Nov, 2013 1 commit
    • Narayan Kamath's avatar
      Rework the generation of host java libraries. · 0dd273a3
      Narayan Kamath authored
      We currently have two types of host libraries, those
      meant for the host VM (Sun, OpenJDK etc.) and those meant
      for a host dalvik build. The former need to be compiled
      against the host standard libraries and the latter need
      to be compiled against libcore. This change introduces
      two new build rules to complement the existing the existing
      host rules.
      
      BUILD_HOST_DALVIK_JAVA_LIBRARY : Build a java library for
      a host build of dalvik. Bootclasspath will be set to a host
      build of libcore.
      BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY : Build a static java
      library for a host build of dalvik. Bootclasspath will be set
      to a host build of libcore.
      
      This change also removes support for the LOCAL_BUILD_HOST_DEX
      flag, which is now unnecessary.
      
      bug: 8992787
      
      Change-Id: I3569fff8eaa4d26d55fcc317bd98471f55d74c14
      0dd273a3
  14. 02 Oct, 2013 1 commit
  15. 28 Aug, 2013 1 commit
  16. 15 Aug, 2013 1 commit
  17. 02 Aug, 2013 1 commit
  18. 05 Jun, 2013 1 commit
  19. 27 Mar, 2013 1 commit
  20. 30 Jan, 2013 1 commit
  21. 03 Dec, 2012 1 commit
  22. 26 Oct, 2012 2 commits
    • Joe Onorato's avatar
      Fix broken dependencies with the layers.txt files. · 9a6a326c
      Joe Onorato authored
      When a device java module was using the layers.txt files, and that device java module depenended on
      a host java module, when building the host java module, the layer checker tried to run and would
      fail, complaining about the host module.
      
      The problem was that since the value wasn't set for the host module, it would be inherited from its
      dependent module (a make "feature") and would cause the layer checker to run.  So this change makes
      it explicitly set PRIVATE_JAVA_LAYERS_FILE for host java modules too.
      
      Change-Id: Ifbc085295d0995a2da5d6d63d8cb379ef2631cc4
      9a6a326c
    • Joe Onorato's avatar
      Fix broken dependencies with the layers.txt files. · 47c4d6d0
      Joe Onorato authored
      When a device java module was using the layers.txt files, and that device java module depenended on
      a host java module, when building the host java module, the layer checker tried to run and would
      fail, complaining about the host module.
      
      The problem was that since the value wasn't set for the host module, it would be inherited from its
      dependent module (a make "feature") and would cause the layer checker to run.  So this change makes
      it explicitly set PRIVATE_JAVA_LAYERS_FILE for host java modules too.
      
      Change-Id: Ifbc085295d0995a2da5d6d63d8cb379ef2631cc4
      47c4d6d0
  23. 12 Oct, 2012 2 commits
  24. 27 Aug, 2012 1 commit
  25. 09 Aug, 2012 1 commit
  26. 16 Dec, 2011 1 commit
    • Ying Wang's avatar
      Remove the R/Manifest classes when building the static Java library · 5758b8ed
      Ying Wang authored
      Bug: 5448433
      
      Instead of deferring the removal to building the app.
      In that case any R/Manifest classes in any static Java libraries will be
      deleted, no matter if they are generated from Android resource, or just
      source R.java/Manifest.java in the source tree by accident.
      
      Change-Id: I656f45e3cbc3796c5d4832363231480b3f1dc5b8
      5758b8ed
  27. 26 Jan, 2011 1 commit
  28. 23 Sep, 2010 1 commit
  29. 10 Sep, 2010 1 commit
  30. 20 Jul, 2010 1 commit
  31. 05 Feb, 2010 1 commit
    • Brian Carlstrom's avatar
      Add support for LOCAL_JAVACFLAGS · f184a0f2
      Brian Carlstrom authored
      The Dalvik core libraries team would like to start making warnings
      errors in certain packages by definition LOCAL_JAVACFLAGS. This will
      allow easier debuging of warnings in other packages by supplying
      "-Xlint:..."  options.
      f184a0f2
  32. 04 Mar, 2009 2 commits
  33. 21 Oct, 2008 1 commit