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

Side by Side Diff: base/BUILD.gn

Issue 1829823002: Replace usages of DEPRECATED_java_in_dir with java_files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: zap random comment Created 4 years, 9 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 | « no previous file | base/android/jni_generator/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after
2122 ":base_android_java_enums_srcjar", 2122 ":base_android_java_enums_srcjar",
2123 ":base_build_config_gen", 2123 ":base_build_config_gen",
2124 ":base_native_libraries_gen", 2124 ":base_native_libraries_gen",
2125 ] 2125 ]
2126 2126
2127 deps = [ 2127 deps = [
2128 "//third_party/android_tools:android_support_multidex_java", 2128 "//third_party/android_tools:android_support_multidex_java",
2129 "//third_party/jsr-305:jsr_305_javalib", 2129 "//third_party/jsr-305:jsr_305_javalib",
2130 ] 2130 ]
2131 2131
2132 DEPRECATED_java_in_dir = "android/java/src" 2132 java_files = [
2133 "android/java/src/org/chromium/base/ActivityState.java",
2134 "android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java",
2135 "android/java/src/org/chromium/base/ApiCompatibilityUtils.java",
2136 "android/java/src/org/chromium/base/ApkAssets.java",
2137 "android/java/src/org/chromium/base/ApplicationStatus.java",
2138 "android/java/src/org/chromium/base/BaseChromiumApplication.java",
2139 "android/java/src/org/chromium/base/BaseSwitches.java",
2140 "android/java/src/org/chromium/base/BuildInfo.java",
2141 "android/java/src/org/chromium/base/Callback.java",
2142 "android/java/src/org/chromium/base/CollectionUtil.java",
2143 "android/java/src/org/chromium/base/CommandLine.java",
2144 "android/java/src/org/chromium/base/CommandLineInitUtil.java",
2145 "android/java/src/org/chromium/base/ContentUriUtils.java",
2146 "android/java/src/org/chromium/base/ContextUtils.java",
2147 "android/java/src/org/chromium/base/CpuFeatures.java",
2148 "android/java/src/org/chromium/base/EventLog.java",
2149 "android/java/src/org/chromium/base/FieldTrialList.java",
2150 "android/java/src/org/chromium/base/FileUtils.java",
2151 "android/java/src/org/chromium/base/ImportantFileWriterAndroid.java",
2152 "android/java/src/org/chromium/base/JNIUtils.java",
2153 "android/java/src/org/chromium/base/JavaHandlerThread.java",
2154 "android/java/src/org/chromium/base/LocaleUtils.java",
2155 "android/java/src/org/chromium/base/Log.java",
2156 "android/java/src/org/chromium/base/MemoryPressureListener.java",
2157 "android/java/src/org/chromium/base/ObserverList.java",
2158 "android/java/src/org/chromium/base/PackageUtils.java",
2159 "android/java/src/org/chromium/base/PathService.java",
2160 "android/java/src/org/chromium/base/PathUtils.java",
2161 "android/java/src/org/chromium/base/PerfTraceEvent.java",
2162 "android/java/src/org/chromium/base/PowerMonitor.java",
2163 "android/java/src/org/chromium/base/PowerStatusReceiver.java",
2164 "android/java/src/org/chromium/base/ResourceExtractor.java",
2165 "android/java/src/org/chromium/base/SecureRandomInitializer.java",
2166 "android/java/src/org/chromium/base/StreamUtil.java",
2167 "android/java/src/org/chromium/base/SysUtils.java",
2168 "android/java/src/org/chromium/base/SystemMessageHandler.java",
2169 "android/java/src/org/chromium/base/ThreadUtils.java",
2170 "android/java/src/org/chromium/base/TraceEvent.java",
2171 "android/java/src/org/chromium/base/VisibleForTesting.java",
2172 "android/java/src/org/chromium/base/annotations/AccessedByNative.java",
2173 "android/java/src/org/chromium/base/annotations/CalledByNative.java",
2174 "android/java/src/org/chromium/base/annotations/CalledByNativeUnchecked.ja va",
2175 "android/java/src/org/chromium/base/annotations/JNIAdditionalImport.java",
2176 "android/java/src/org/chromium/base/annotations/JNINamespace.java",
2177 "android/java/src/org/chromium/base/annotations/MainDex.java",
2178 "android/java/src/org/chromium/base/annotations/NativeCall.java",
2179 "android/java/src/org/chromium/base/annotations/NativeClassQualifiedName.j ava",
2180 "android/java/src/org/chromium/base/annotations/RemovableInRelease.java",
2181 "android/java/src/org/chromium/base/annotations/SuppressFBWarnings.java",
2182 "android/java/src/org/chromium/base/annotations/UsedByReflection.java",
2183 "android/java/src/org/chromium/base/library_loader/LegacyLinker.java",
2184 "android/java/src/org/chromium/base/library_loader/LibraryLoader.java",
2185 "android/java/src/org/chromium/base/library_loader/Linker.java",
2186 "android/java/src/org/chromium/base/library_loader/LoaderErrors.java",
2187 "android/java/src/org/chromium/base/library_loader/ModernLinker.java",
2188 "android/java/src/org/chromium/base/library_loader/ProcessInitException.ja va",
2189 "android/java/src/org/chromium/base/metrics/RecordHistogram.java",
2190 "android/java/src/org/chromium/base/metrics/RecordUserAction.java",
2191 "android/java/src/org/chromium/base/multidex/ChromiumMultiDexInstaller.jav a",
2192 ]
2133 2193
2134 # New versions of BuildConfig.java and NativeLibraries.java 2194 # New versions of BuildConfig.java and NativeLibraries.java
2135 # (with the actual correct values) will be created when creating an apk. 2195 # (with the actual correct values) will be created when creating an apk.
2136 jar_excluded_patterns = [ 2196 jar_excluded_patterns = [
2137 "*/BuildConfig.class", 2197 "*/BuildConfig.class",
2138 "*/NativeLibraries.class", 2198 "*/NativeLibraries.class",
2139 "*/NativeLibraries##*.class", 2199 "*/NativeLibraries##*.class",
2140 ] 2200 ]
2141 } 2201 }
2142 2202
2143 # GYP: //base.gyp:base_javatests 2203 # GYP: //base.gyp:base_javatests
2144 android_library("base_javatests") { 2204 android_library("base_javatests") {
2145 deps = [ 2205 deps = [
2146 ":base_java", 2206 ":base_java",
2147 ":base_java_test_support", 2207 ":base_java_test_support",
2148 ] 2208 ]
2149 DEPRECATED_java_in_dir = "android/javatests/src" 2209 java_files = [
2210 "android/javatests/src/org/chromium/base/AdvancedMockContextTest.java",
2211 "android/javatests/src/org/chromium/base/ApiCompatibilityUtilsTest.java",
2212 "android/javatests/src/org/chromium/base/CommandLineInitUtilTest.java",
2213 "android/javatests/src/org/chromium/base/CommandLineTest.java",
2214 "android/javatests/src/org/chromium/base/ObserverListTest.java",
2215 "android/javatests/src/org/chromium/base/metrics/RecordHistogramTest.java" ,
2216 ]
2150 } 2217 }
2151 2218
2152 # GYP: //base.gyp:base_java_test_support 2219 # GYP: //base.gyp:base_java_test_support
2153 android_library("base_java_test_support") { 2220 android_library("base_java_test_support") {
2154 deps = [ 2221 deps = [
2155 ":base_java", 2222 ":base_java",
2156 "//testing/android/reporter:reporter_java", 2223 "//testing/android/reporter:reporter_java",
2157 ] 2224 ]
2158 DEPRECATED_java_in_dir = "test/android/javatests/src" 2225 java_files = [
2226 "test/android/javatests/src/org/chromium/base/test/BaseActivityInstrumenta tionTestCase.java",
2227 "test/android/javatests/src/org/chromium/base/test/BaseInstrumentationTest Runner.java",
2228 "test/android/javatests/src/org/chromium/base/test/BaseTestResult.java",
2229 "test/android/javatests/src/org/chromium/base/test/util/AdvancedMockContex t.java",
2230 "test/android/javatests/src/org/chromium/base/test/util/CommandLineFlags.j ava",
2231 "test/android/javatests/src/org/chromium/base/test/util/DisableIf.java",
2232 "test/android/javatests/src/org/chromium/base/test/util/DisableIfSkipCheck .java",
2233 "test/android/javatests/src/org/chromium/base/test/util/DisabledTest.java" ,
2234 "test/android/javatests/src/org/chromium/base/test/util/EnormousTest.java" ,
2235 "test/android/javatests/src/org/chromium/base/test/util/Feature.java",
2236 "test/android/javatests/src/org/chromium/base/test/util/HostDrivenTest.jav a",
2237 "test/android/javatests/src/org/chromium/base/test/util/InMemorySharedPref erences.java",
2238 "test/android/javatests/src/org/chromium/base/test/util/InstrumentationUti ls.java",
2239 "test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.ja va",
2240 "test/android/javatests/src/org/chromium/base/test/util/Manual.java",
2241 "test/android/javatests/src/org/chromium/base/test/util/MetricsUtils.java" ,
2242 "test/android/javatests/src/org/chromium/base/test/util/MinAndroidSdkLevel .java",
2243 "test/android/javatests/src/org/chromium/base/test/util/MinAndroidSdkLevel SkipCheck.java",
2244 "test/android/javatests/src/org/chromium/base/test/util/PerfTest.java",
2245 "test/android/javatests/src/org/chromium/base/test/util/Restriction.java",
2246 "test/android/javatests/src/org/chromium/base/test/util/RestrictionSkipChe ck.java",
2247 "test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.ja va",
2248 "test/android/javatests/src/org/chromium/base/test/util/SkipCheck.java",
2249 "test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java" ,
2250 "test/android/javatests/src/org/chromium/base/test/util/TestThread.java",
2251 "test/android/javatests/src/org/chromium/base/test/util/TimeoutScale.java" ,
2252 "test/android/javatests/src/org/chromium/base/test/util/UrlUtils.java",
2253 "test/android/javatests/src/org/chromium/base/test/util/parameter/BasePara meter.java",
2254 "test/android/javatests/src/org/chromium/base/test/util/parameter/Paramete r.java",
2255 "test/android/javatests/src/org/chromium/base/test/util/parameter/Paramete rizable.java",
2256 "test/android/javatests/src/org/chromium/base/test/util/parameter/Paramete rizedTest.java",
2257 "test/android/javatests/src/org/chromium/base/test/util/parameter/paramete rs/MethodParameter.java",
2258 ]
2159 } 2259 }
2160 2260
2161 # TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull 2261 # TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull
2162 # in the multidex shadow library. crbug.com/522043 2262 # in the multidex shadow library. crbug.com/522043
2163 # GYP: //base.gyp:base_junit_test_support 2263 # GYP: //base.gyp:base_junit_test_support
2164 java_library("base_junit_test_support") { 2264 java_library("base_junit_test_support") {
2165 testonly = true 2265 testonly = true
2166 java_files = [ "test/android/junit/src/org/chromium/base/test/shadows/Shadow MultiDex.java" ] 2266 java_files = [ "test/android/junit/src/org/chromium/base/test/shadows/Shadow MultiDex.java" ]
2167 deps = [ 2267 deps = [
2168 "//third_party/android_tools:android_support_multidex_java", 2268 "//third_party/android_tools:android_support_multidex_java",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
2220 2320
2221 # GYP: //base.gyp:base_java_unittest_support 2321 # GYP: //base.gyp:base_java_unittest_support
2222 android_library("base_java_unittest_support") { 2322 android_library("base_java_unittest_support") {
2223 deps = [ 2323 deps = [
2224 ":base_java", 2324 ":base_java",
2225 ] 2325 ]
2226 java_files = 2326 java_files =
2227 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 2327 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
2228 } 2328 }
2229 } 2329 }
OLDNEW
« no previous file with comments | « no previous file | base/android/jni_generator/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698