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

Side by Side Diff: chrome/android/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 | « build/android/rezip/BUILD.gn ('k') | chrome/android/java_sources.gni » ('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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 import("//build_overrides/v8.gni") 7 import("//build_overrides/v8.gni")
8 import("//chrome/android/chrome_public_apk_tmpl.gni") 8 import("//chrome/android/chrome_public_apk_tmpl.gni")
9 import("//chrome/common/features.gni") 9 import("//chrome/common/features.gni")
10 import("//chrome/version.gni") 10 import("//chrome/version.gni")
11 import("//testing/test.gni") 11 import("//testing/test.gni")
12 import("//third_party/icu/config.gni") 12 import("//third_party/icu/config.gni")
13 import("//third_party/protobuf/proto_library.gni") 13 import("//third_party/protobuf/proto_library.gni")
14 import("channel.gni") 14 import("channel.gni")
15 import("java_sources.gni")
15 16
16 manifest_package = "org.chromium.chrome" 17 manifest_package = "org.chromium.chrome"
17 18
18 chrome_public_jinja_variables = default_chrome_public_jinja_variables + 19 chrome_public_jinja_variables = default_chrome_public_jinja_variables +
19 [ "manifest_package=$manifest_package" ] 20 [ "manifest_package=$manifest_package" ]
20 21
21 chrome_sync_shell_jinja_variables = 22 chrome_sync_shell_jinja_variables =
22 default_chrome_public_jinja_variables + 23 default_chrome_public_jinja_variables +
23 [ "manifest_package=org.chromium.chrome.sync_shell" ] 24 [ "manifest_package=org.chromium.chrome.sync_shell" ]
24 25
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "//chrome:data_use_ui_message_enum_javagen", 161 "//chrome:data_use_ui_message_enum_javagen",
161 "//chrome:signin_metrics_enum_javagen", 162 "//chrome:signin_metrics_enum_javagen",
162 ] 163 ]
163 164
164 # New versions of BuildConfig.java will be created when creating an apk. 165 # New versions of BuildConfig.java will be created when creating an apk.
165 jar_excluded_patterns = [ "*/BuildConfig.class" ] 166 jar_excluded_patterns = [ "*/BuildConfig.class" ]
166 167
167 # TODO(sievers): Split java code into components. Not everything 168 # TODO(sievers): Split java code into components. Not everything
168 # is really all that UI related here. 169 # is really all that UI related here.
169 if (android_java_ui) { 170 if (android_java_ui) {
170 DEPRECATED_java_in_dir = "java/src" 171 # From java_sources.gni.
172 java_files = chrome_java_sources
171 173
172 srcjar_deps += [ 174 srcjar_deps += [
173 ":custom_tabs_service_aidl", 175 ":custom_tabs_service_aidl",
174 "//chrome:page_info_connection_type_javagen", 176 "//chrome:page_info_connection_type_javagen",
175 "//chrome:website_settings_action_javagen", 177 "//chrome:website_settings_action_javagen",
176 "//components/infobars/core:infobar_enums_java", 178 "//components/infobars/core:infobar_enums_java",
177 "//components/offline_pages:offline_page_feature_enums_java", 179 "//components/offline_pages:offline_page_feature_enums_java",
178 "//components/offline_pages:offline_page_model_enums_java", 180 "//components/offline_pages:offline_page_model_enums_java",
179 "//components/omnibox/browser:autocomplete_match_javagen", 181 "//components/omnibox/browser:autocomplete_match_javagen",
180 "//components/omnibox/browser:autocomplete_match_type_javagen", 182 "//components/omnibox/browser:autocomplete_match_type_javagen",
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 interface_file = "java/src/android/support/customtabs/common.aidl" 337 interface_file = "java/src/android/support/customtabs/common.aidl"
336 sources = [ 338 sources = [
337 "java/src/android/support/customtabs/ICustomTabsCallback.aidl", 339 "java/src/android/support/customtabs/ICustomTabsCallback.aidl",
338 "java/src/android/support/customtabs/ICustomTabsService.aidl", 340 "java/src/android/support/customtabs/ICustomTabsService.aidl",
339 ] 341 ]
340 } 342 }
341 343
342 # GYP: //chrome/android/chrome_apk.gyp:chrome_shared_test_java 344 # GYP: //chrome/android/chrome_apk.gyp:chrome_shared_test_java
343 android_library("chrome_shared_test_java") { 345 android_library("chrome_shared_test_java") {
344 testonly = true 346 testonly = true
345 DEPRECATED_java_in_dir = "javatests/src" 347
348 # From java_sources.gni.
349 java_files = chrome_shared_test_java_sources
346 350
347 deps = [ 351 deps = [
348 "//base:base_java", 352 "//base:base_java",
349 "//base:base_java_test_support", 353 "//base:base_java_test_support",
350 "//chrome/android:chrome_java", 354 "//chrome/android:chrome_java",
351 "//chrome/android:chrome_java_resources", 355 "//chrome/android:chrome_java_resources",
352 "//chrome/test/android:chrome_java_test_support", 356 "//chrome/test/android:chrome_java_test_support",
353 "//components/bookmarks/common/android:bookmarks_java", 357 "//components/bookmarks/common/android:bookmarks_java",
354 "//components/dom_distiller/android:dom_distiller_core_java", 358 "//components/dom_distiller/android:dom_distiller_core_java",
355 "//components/gcm_driver/android:gcm_driver_java", 359 "//components/gcm_driver/android:gcm_driver_java",
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 additional_apks = [ 552 additional_apks = [
549 "//chrome/test/android/chrome_public_test_support:chrome_public_test_support _apk", 553 "//chrome/test/android/chrome_public_test_support:chrome_public_test_support _apk",
550 "//net/android:net_test_support_apk", 554 "//net/android:net_test_support_apk",
551 ] 555 ]
552 isolate_file = "../chrome_public_test_apk.isolate" 556 isolate_file = "../chrome_public_test_apk.isolate"
553 proguard_enabled = !is_debug 557 proguard_enabled = !is_debug
554 } 558 }
555 559
556 android_library("chrome_sync_shell_test_apk_java") { 560 android_library("chrome_sync_shell_test_apk_java") {
557 testonly = true 561 testonly = true
558 DEPRECATED_java_in_dir = "sync_shell/javatests/src" 562 java_files = [
563 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/AutofillTest.java ",
564 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/BookmarksTest.jav a",
565 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/FakeServerHelper. java",
566 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/FirstRunTest.java ",
567 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/GmsCoreSyncListen erTest.java",
568 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/OpenTabsTest.java ",
569 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncCustomization FragmentTest.java",
570 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncTest.java",
571 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/SyncTestBase.java ",
572 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/TypedUrlsTest.jav a",
573 "sync_shell/javatests/src/org/chromium/chrome/browser/sync/ui/PassphraseType DialogFragmentTest.java",
574 ]
559 575
560 deps = [ 576 deps = [
561 "//base:base_java", 577 "//base:base_java",
562 "//base:base_java_test_support", 578 "//base:base_java_test_support",
563 "//chrome/android:chrome_java", 579 "//chrome/android:chrome_java",
564 "//chrome/android:chrome_java_resources", 580 "//chrome/android:chrome_java_resources",
565 "//chrome/test/android:chrome_java_test_support", 581 "//chrome/test/android:chrome_java_test_support",
566 "//components/bookmarks/common/android:bookmarks_java", 582 "//components/bookmarks/common/android:bookmarks_java",
567 "//components/policy/android:policy_java", 583 "//components/policy/android:policy_java",
568 "//content/public/android:content_java", 584 "//content/public/android:content_java",
(...skipping 13 matching lines...) Expand all
582 apk_name = "ChromeSyncShellTest" 598 apk_name = "ChromeSyncShellTest"
583 apk_under_test = ":chrome_sync_shell_apk" 599 apk_under_test = ":chrome_sync_shell_apk"
584 android_manifest = chrome_sync_shell_test_apk_manifest 600 android_manifest = chrome_sync_shell_test_apk_manifest
585 deps = [ 601 deps = [
586 ":chrome_sync_shell_test_apk_java", 602 ":chrome_sync_shell_test_apk_java",
587 ":chrome_sync_shell_test_apk_manifest", 603 ":chrome_sync_shell_test_apk_manifest",
588 ] 604 ]
589 isolate_file = "../chrome_sync_shell_test_apk.isolate" 605 isolate_file = "../chrome_sync_shell_test_apk.isolate"
590 proguard_enabled = !is_debug 606 proguard_enabled = !is_debug
591 } 607 }
OLDNEW
« no previous file with comments | « build/android/rezip/BUILD.gn ('k') | chrome/android/java_sources.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698