From 8b39347a55356fc4c30e48d350abc39b8aad79b9 Mon Sep 17 00:00:00 2001 From: "nyquist@chromium.org" Date: Wed, 14 Nov 2012 01:23:40 +0000 Subject: Check in protobuf java code and generate lite jar. Since we only need the lite version of protobuf, we generate a jar file based on includes in the maven pom.xml file for the lite profile. BUG=158382 Review URL: https://chromiumcodereview.appspot.com/11347026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167557 0039d316-1c4b-4281-b951-d872f2087c98 --- build/java.gypi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/java.gypi') diff --git a/build/java.gypi b/build/java.gypi index 56af2e1..0f180b2 100644 --- a/build/java.gypi +++ b/build/java.gypi @@ -34,6 +34,10 @@ # included in the 'inputs' list (unlike additional_src_dirs). # input_jars_paths - The path to jars to be included in the classpath. This # should be filled automatically by depending on the appropriate targets. +# include_files - A list of specific files to include. This is by default +# empty, which leads to inclusion of all files specified. May include +# wildcard, and supports '**/' for recursive path wildcards, ie.: +# '**/MyFileRegardlessOfDirectory.java', '**/IncludedPrefix*.java'. { 'dependencies': [ @@ -51,6 +55,7 @@ 'additional_src_dirs': [], 'additional_input_paths': [], 'generated_src_dirs': [], + 'javac_includes': [], }, 'actions': [ { @@ -80,6 +85,7 @@ '-DGENERATED_SRC_DIRS=>(generated_src_dirs)', '-DINPUT_JARS_PATHS=>(input_jars_paths)', '-DPACKAGE_NAME=<(package_name)', + '-DJAVAC_INCLUDES=>(javac_includes)', '-Dbasedir=<(java_in_dir)', '-buildfile', -- cgit v1.1