Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: build/config/android/rules.gni

Issue 1373723003: Fix javac --incremental by using jmake for dependency analysis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aidl
Patch Set: fix license check Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/devscripts/licensecheck.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/toolchain/toolchain.gni") 8 import("//build/toolchain/toolchain.gni")
9 import("//third_party/android_platform/config.gni") 9 import("//third_party/android_platform/config.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 # java_files: List of .java files included in this library. 810 # java_files: List of .java files included in this library.
811 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars 811 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars
812 # will be added to java_files and be included in this library. 812 # will be added to java_files and be included in this library.
813 # srcjars: List of srcjars to be included in this library, together with the 813 # srcjars: List of srcjars to be included in this library, together with the
814 # ones obtained from srcjar_deps. 814 # ones obtained from srcjar_deps.
815 # bypass_platform_checks: Disables checks about cross-platform (Java/Android) 815 # bypass_platform_checks: Disables checks about cross-platform (Java/Android)
816 # dependencies for this target. This will allow depending on an 816 # dependencies for this target. This will allow depending on an
817 # android_library target, for example. 817 # android_library target, for example.
818 # chromium_code: If true, extra analysis warning/errors will be enabled. 818 # chromium_code: If true, extra analysis warning/errors will be enabled.
819 # enable_errorprone: If true, enables the errorprone compiler. 819 # enable_errorprone: If true, enables the errorprone compiler.
820 # enable_incremental_javac: Overrides the global enable_incremental_javac.
820 # main_class: When specified, a wrapper script is created within 821 # main_class: When specified, a wrapper script is created within
821 # $target_out_dir/bin to launch the binary with the given class as the 822 # $target_out_dir/bin to launch the binary with the given class as the
822 # entrypoint. 823 # entrypoint.
823 # wrapper_script_args: List of additional arguments for the wrapper script. 824 # wrapper_script_args: List of additional arguments for the wrapper script.
824 # 825 #
825 # data_deps, testonly 826 # data_deps, testonly
826 # 827 #
827 # Example 828 # Example
828 # java_binary("foo") { 829 # java_binary("foo") {
829 # java_files = [ "org/chromium/foo/FooMain.java" ] 830 # java_files = [ "org/chromium/foo/FooMain.java" ]
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars 899 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars
899 # will be added to java_files and be included in this library. 900 # 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 901 # srcjars: List of srcjars to be included in this library, together with the
901 # ones obtained from srcjar_deps. 902 # ones obtained from srcjar_deps.
902 # DEPRECATED_java_in_dir: Directory containing java files. All .java files in 903 # DEPRECATED_java_in_dir: Directory containing java files. All .java files in
903 # this directory will be included in the library. This is only supported to 904 # this directory will be included in the library. This is only supported to
904 # ease the gyp->gn conversion and will be removed in the future. 905 # ease the gyp->gn conversion and will be removed in the future.
905 # 906 #
906 # chromium_code: If true, extra analysis warning/errors will be enabled. 907 # chromium_code: If true, extra analysis warning/errors will be enabled.
907 # enable_errorprone: If true, enables the errorprone compiler. 908 # enable_errorprone: If true, enables the errorprone compiler.
909 # enable_incremental_javac: Overrides the global enable_incremental_javac.
908 # 910 #
909 # jar_excluded_patterns: List of patterns of .class files to exclude from the 911 # jar_excluded_patterns: List of patterns of .class files to exclude from the
910 # final jar. 912 # final jar.
911 # 913 #
912 # proguard_preprocess: If true, proguard preprocessing will be run. This can 914 # proguard_preprocess: If true, proguard preprocessing will be run. This can
913 # be used to remove unwanted parts of the library. 915 # be used to remove unwanted parts of the library.
914 # proguard_config: Path to the proguard config for preprocessing. 916 # proguard_config: Path to the proguard config for preprocessing.
915 # 917 #
916 # supports_android: If true, Android targets (android_library, android_apk) 918 # supports_android: If true, Android targets (android_library, android_apk)
917 # may depend on this target. Note: if true, this target must only use the 919 # may depend on this target. Note: if true, this target must only use the
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars 991 # srcjar_deps: List of srcjar dependencies. The .java files in the srcjars
990 # will be added to java_files and be included in this library. 992 # will be added to java_files and be included in this library.
991 # srcjars: List of srcjars to be included in this library, together with the 993 # srcjars: List of srcjars to be included in this library, together with the
992 # ones obtained from srcjar_deps. 994 # ones obtained from srcjar_deps.
993 # DEPRECATED_java_in_dir: Directory containing java files. All .java files in 995 # DEPRECATED_java_in_dir: Directory containing java files. All .java files in
994 # this directory will be included in the library. This is only supported to 996 # this directory will be included in the library. This is only supported to
995 # ease the gyp->gn conversion and will be removed in the future. 997 # ease the gyp->gn conversion and will be removed in the future.
996 # 998 #
997 # chromium_code: If true, extra analysis warning/errors will be enabled. 999 # chromium_code: If true, extra analysis warning/errors will be enabled.
998 # enable_errorprone: If true, enables the errorprone compiler. 1000 # enable_errorprone: If true, enables the errorprone compiler.
1001 # enable_incremental_javac: Overrides the global enable_incremental_javac.
999 # 1002 #
1000 # jar_excluded_patterns: List of patterns of .class files to exclude from the 1003 # jar_excluded_patterns: List of patterns of .class files to exclude from the
1001 # final jar. 1004 # final jar.
1002 # 1005 #
1003 # proguard_preprocess: If true, proguard preprocessing will be run. This can 1006 # proguard_preprocess: If true, proguard preprocessing will be run. This can
1004 # be used to remove unwanted parts of the library. 1007 # be used to remove unwanted parts of the library.
1005 # proguard_config: Path to the proguard config for preprocessing. 1008 # proguard_config: Path to the proguard config for preprocessing.
1006 # 1009 #
1007 # dex_path: If set, the resulting .dex.jar file will be placed under this 1010 # dex_path: If set, the resulting .dex.jar file will be placed under this
1008 # path. 1011 # path.
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 native_libs = [ unittests_binary ] 1795 native_libs = [ unittests_binary ]
1793 deps = [ 1796 deps = [
1794 "//base:base_java", 1797 "//base:base_java",
1795 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk", 1798 "//build/android/pylib/remote/device/dummy:remote_device_dummy_apk",
1796 "//testing/android/appurify_support:appurify_support_java", 1799 "//testing/android/appurify_support:appurify_support_java",
1797 "//testing/android/reporter:reporter_java", 1800 "//testing/android/reporter:reporter_java",
1798 ] 1801 ]
1799 if (defined(invoker.deps)) { 1802 if (defined(invoker.deps)) {
1800 deps += invoker.deps 1803 deps += invoker.deps
1801 } 1804 }
1802 data_deps = [ "//tools/android/md5sum" ] 1805 data_deps = [
1806 "//tools/android/md5sum",
1807 ]
1803 if (host_os == "linux") { 1808 if (host_os == "linux") {
1804 data_deps += [ "//tools/android/forwarder2" ] 1809 data_deps += [ "//tools/android/forwarder2" ]
1805 } 1810 }
1806 if (defined(invoker.data_deps)) { 1811 if (defined(invoker.data_deps)) {
1807 data_deps += invoker.data_deps 1812 data_deps += invoker.data_deps
1808 } 1813 }
1809 } 1814 }
1810 } 1815 }
1811 1816
1812 # Generate .java files from .aidl files. 1817 # Generate .java files from .aidl files.
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 2041
2037 # TODO(GYP): implement this. 2042 # TODO(GYP): implement this.
2038 template("uiautomator_test") { 2043 template("uiautomator_test") {
2039 set_sources_assignment_filter([]) 2044 set_sources_assignment_filter([])
2040 forward_variables_from(invoker, [ "testonly" ]) 2045 forward_variables_from(invoker, [ "testonly" ])
2041 assert(target_name != "") 2046 assert(target_name != "")
2042 assert(invoker.deps != [] || true) 2047 assert(invoker.deps != [] || true)
2043 group(target_name) { 2048 group(target_name) {
2044 } 2049 }
2045 } 2050 }
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | third_party/devscripts/licensecheck.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698