OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//base/android/linker/config.gni") | 5 import("//base/android/linker/config.gni") |
6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
7 import("//build/config/android/internal_rules.gni") | 7 import("//build/config/android/internal_rules.gni") |
8 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
10 import("//third_party/android_platform/config.gni") | 10 import("//third_party/android_platform/config.gni") |
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 # will be added to java_files and be included in this library. | 899 # will be added to java_files and be included in this library. |
900 # srcjars: List of srcjars to be included in this library, together with the | 900 # srcjars: List of srcjars to be included in this library, together with the |
901 # ones obtained from srcjar_deps. | 901 # ones obtained from srcjar_deps. |
902 # bypass_platform_checks: Disables checks about cross-platform (Java/Android) | 902 # bypass_platform_checks: Disables checks about cross-platform (Java/Android) |
903 # dependencies for this target. This will allow depending on an | 903 # dependencies for this target. This will allow depending on an |
904 # android_library target, for example. | 904 # android_library target, for example. |
905 # chromium_code: If true, extra analysis warning/errors will be enabled. | 905 # chromium_code: If true, extra analysis warning/errors will be enabled. |
906 # enable_errorprone: If true, enables the errorprone compiler. | 906 # enable_errorprone: If true, enables the errorprone compiler. |
907 # enable_incremental_javac: Overrides the global enable_incremental_javac. | 907 # enable_incremental_javac: Overrides the global enable_incremental_javac. |
908 # main_class: When specified, a wrapper script is created within | 908 # main_class: When specified, a wrapper script is created within |
909 # $target_out_dir/bin to launch the binary with the given class as the | 909 # $root_build_dir/bin to launch the binary with the given class as the |
910 # entrypoint. | 910 # entrypoint. |
911 # wrapper_script_args: List of additional arguments for the wrapper script. | 911 # wrapper_script_args: List of additional arguments for the wrapper script. |
912 # | 912 # |
913 # data_deps, testonly | 913 # data_deps, testonly |
914 # | 914 # |
915 # Example | 915 # Example |
916 # java_binary("foo") { | 916 # java_binary("foo") { |
917 # java_files = [ "org/chromium/foo/FooMain.java" ] | 917 # java_files = [ "org/chromium/foo/FooMain.java" ] |
918 # deps = [ ":bar_java" ] | 918 # deps = [ ":bar_java" ] |
919 # main_class = "org.chromium.foo.FooMain" | 919 # main_class = "org.chromium.foo.FooMain" |
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2417 "--target", | 2417 "--target", |
2418 rebase_path(invoker.target, root_build_dir), | 2418 rebase_path(invoker.target, root_build_dir), |
2419 "--output-directory", | 2419 "--output-directory", |
2420 rebase_path(root_out_dir, root_build_dir), | 2420 rebase_path(root_out_dir, root_build_dir), |
2421 ] | 2421 ] |
2422 if (defined(invoker.flag_name)) { | 2422 if (defined(invoker.flag_name)) { |
2423 args += [ "--flag-name=${invoker.flag_name}" ] | 2423 args += [ "--flag-name=${invoker.flag_name}" ] |
2424 } | 2424 } |
2425 } | 2425 } |
2426 } | 2426 } |
OLD | NEW |