| OLD | NEW | 
|   1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |   1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|   2 # Use of this source code is governed by a BSD-style license that can be |   2 # Use of this source code is governed by a BSD-style license that can be | 
|   3 # found in the LICENSE file. |   3 # found in the LICENSE file. | 
|   4  |   4  | 
|   5 # This file is meant to be included into a target to provide a rule |   5 # This file is meant to be included into a target to provide a rule | 
|   6 # to build Java in a consistent manner. |   6 # to build Java in a consistent manner. | 
|   7 # |   7 # | 
|   8 # To use this, create a gyp target with the following form: |   8 # To use this, create a gyp target with the following form: | 
|   9 # { |   9 # { | 
|  10 #   'target_name': 'my-package_java', |  10 #   'target_name': 'my-package_java', | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
|  27 #  additional_input_paths - These paths will be included in the 'inputs' list to |  27 #  additional_input_paths - These paths will be included in the 'inputs' list to | 
|  28 #    ensure that this target is rebuilt when one of these paths changes. |  28 #    ensure that this target is rebuilt when one of these paths changes. | 
|  29 #  additional_src_dirs - Additional directories with .java files to be compiled |  29 #  additional_src_dirs - Additional directories with .java files to be compiled | 
|  30 #    and included in the output of this target. |  30 #    and included in the output of this target. | 
|  31 #  generated_src_dirs - Same as additional_src_dirs except used for .java files |  31 #  generated_src_dirs - Same as additional_src_dirs except used for .java files | 
|  32 #    that are generated at build time. This should be set automatically by a |  32 #    that are generated at build time. This should be set automatically by a | 
|  33 #    target's dependencies. The .java files in these directories are not |  33 #    target's dependencies. The .java files in these directories are not | 
|  34 #    included in the 'inputs' list (unlike additional_src_dirs). |  34 #    included in the 'inputs' list (unlike additional_src_dirs). | 
|  35 #  input_jars_paths - The path to jars to be included in the classpath. This |  35 #  input_jars_paths - The path to jars to be included in the classpath. This | 
|  36 #    should be filled automatically by depending on the appropriate targets. |  36 #    should be filled automatically by depending on the appropriate targets. | 
|  37 #  include_files - A list of specific files to include. This is by default |  37 #  javac_includes - A list of specific files to include. This is by default | 
|  38 #    empty, which leads to inclusion of all files specified. May include |  38 #    empty, which leads to inclusion of all files specified. May include | 
|  39 #    wildcard, and supports '**/' for recursive path wildcards, ie.: |  39 #    wildcard, and supports '**/' for recursive path wildcards, ie.: | 
|  40 #    '**/MyFileRegardlessOfDirectory.java', '**/IncludedPrefix*.java'. |  40 #    '**/MyFileRegardlessOfDirectory.java', '**/IncludedPrefix*.java'. | 
|  41  |  41  | 
|  42 { |  42 { | 
|  43   'dependencies': [ |  43   'dependencies': [ | 
|  44     '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' |  44     '<(DEPTH)/build/build_output_dirs_android.gyp:build_output_dirs' | 
|  45   ], |  45   ], | 
|  46   # This all_dependent_settings is used for java targets only. This will add the |  46   # This all_dependent_settings is used for java targets only. This will add the | 
|  47   # chromium_<(package_name) jar to the classpath of dependent java targets. |  47   # chromium_<(package_name) jar to the classpath of dependent java targets. | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  87         '-DPACKAGE_NAME=<(package_name)', |  87         '-DPACKAGE_NAME=<(package_name)', | 
|  88         '-DJAVAC_INCLUDES=>(javac_includes)', |  88         '-DJAVAC_INCLUDES=>(javac_includes)', | 
|  89  |  89  | 
|  90         '-Dbasedir=<(java_in_dir)', |  90         '-Dbasedir=<(java_in_dir)', | 
|  91         '-buildfile', |  91         '-buildfile', | 
|  92         '<(DEPTH)/build/android/ant/chromium-jars.xml' |  92         '<(DEPTH)/build/android/ant/chromium-jars.xml' | 
|  93       ] |  93       ] | 
|  94     }, |  94     }, | 
|  95   ], |  95   ], | 
|  96 } |  96 } | 
| OLD | NEW |