< prev index next >

make/Tools.gmk

Print this page




  24 #
  25 
  26 ifndef _TOOLS_GMK
  27 _TOOLS_GMK := 1
  28 
  29 include JavaCompilation.gmk
  30 
  31 ################################################################################
  32 # To avoid reevaluating the compilation setup for the tools each time this file
  33 # is included, the actual compilation is handled by CompileTools.gmk. The
  34 # following trick is used to be able to declare a dependency on the built tools.
  35 BUILD_TOOLS_JDK := $(call SetupJavaCompilationCompileTarget, \
  36     BUILD_TOOLS_JDK, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)
  37 
  38 ################################################################################
  39 
  40 # Add a checksum ("jsum") to the end of a text file. Prevents trivial tampering with class lists.
  41 TOOL_ADDJSUM = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  42     build.tools.addjsum.AddJsum
  43 
  44 # The buildmetaindex tool creates a meta-index to make core class loaders lazier.
  45 TOOL_BUILDMETAINDEX = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  46     build.tools.buildmetaindex.BuildMetaIndex
  47 
  48 TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  49     build.tools.compilefontconfig.CompileFontConfig
  50 
  51 TOOL_COMPILEPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  52     build.tools.compileproperties.CompileProperties
  53 
  54 TOOL_JARREORDER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  55     build.tools.jarreorder.JarReorder
  56 
  57 TOOL_GENERATECHARACTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  58     build.tools.generatecharacter.GenerateCharacter
  59 
  60 TOOL_CHARACTERNAME = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  61     build.tools.generatecharacter.CharacterName
  62 
  63 TOOL_DTDBUILDER = $(JAVA_SMALL) -Ddtd_home=$(JDK_TOPDIR)/make/data/dtdbuilder \
  64     -Djava.awt.headless=true \
  65     -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes build.tools.dtdbuilder.DTDBuilder
  66 
  67 TOOL_GENERATEBREAKITERATORDATA = $(JAVA_SMALL) \




  24 #
  25 
  26 ifndef _TOOLS_GMK
  27 _TOOLS_GMK := 1
  28 
  29 include JavaCompilation.gmk
  30 
  31 ################################################################################
  32 # To avoid reevaluating the compilation setup for the tools each time this file
  33 # is included, the actual compilation is handled by CompileTools.gmk. The
  34 # following trick is used to be able to declare a dependency on the built tools.
  35 BUILD_TOOLS_JDK := $(call SetupJavaCompilationCompileTarget, \
  36     BUILD_TOOLS_JDK, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)
  37 
  38 ################################################################################
  39 
  40 # Add a checksum ("jsum") to the end of a text file. Prevents trivial tampering with class lists.
  41 TOOL_ADDJSUM = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  42     build.tools.addjsum.AddJsum
  43 




  44 TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  45     build.tools.compilefontconfig.CompileFontConfig
  46 
  47 TOOL_COMPILEPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  48     build.tools.compileproperties.CompileProperties
  49 
  50 TOOL_JARREORDER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  51     build.tools.jarreorder.JarReorder
  52 
  53 TOOL_GENERATECHARACTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  54     build.tools.generatecharacter.GenerateCharacter
  55 
  56 TOOL_CHARACTERNAME = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
  57     build.tools.generatecharacter.CharacterName
  58 
  59 TOOL_DTDBUILDER = $(JAVA_SMALL) -Ddtd_home=$(JDK_TOPDIR)/make/data/dtdbuilder \
  60     -Djava.awt.headless=true \
  61     -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes build.tools.dtdbuilder.DTDBuilder
  62 
  63 TOOL_GENERATEBREAKITERATORDATA = $(JAVA_SMALL) \


< prev index next >