summaryrefslogtreecommitdiffstats
path: root/build/java.gypi
diff options
context:
space:
mode:
authornyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 01:23:40 +0000
committernyquist@chromium.org <nyquist@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-14 01:23:40 +0000
commit8b39347a55356fc4c30e48d350abc39b8aad79b9 (patch)
treef86222d91eb02170b6f22a4eeaf2d473cc8e2ead /build/java.gypi
parent8685432924dc4a2ff291f9faa53af7b35d7391bb (diff)
downloadchromium_src-8b39347a55356fc4c30e48d350abc39b8aad79b9.zip
chromium_src-8b39347a55356fc4c30e48d350abc39b8aad79b9.tar.gz
chromium_src-8b39347a55356fc4c30e48d350abc39b8aad79b9.tar.bz2
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
Diffstat (limited to 'build/java.gypi')
-rw-r--r--build/java.gypi6
1 files changed, 6 insertions, 0 deletions
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',