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

Side by Side Diff: chrome/android/BUILD.gn

Issue 2372923002: Move Monochrome locale .pak files upstream (Closed)
Patch Set: remove unused target: monochrome_assets Created 4 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 | « no previous file | chrome/android/chrome_public_apk_tmpl.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("//android_webview/webview_repack_locales_list.gni")
5 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
6 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
7 import("//build/util/process_version.gni") 8 import("//build/util/process_version.gni")
8 import("//build_overrides/v8.gni") 9 import("//build_overrides/v8.gni")
9 import("//chrome/android/chrome_public_apk_tmpl.gni") 10 import("//chrome/android/chrome_public_apk_tmpl.gni")
10 import("//chrome/chrome_paks.gni") 11 import("//chrome/chrome_paks.gni")
11 import("//chrome/common/features.gni") 12 import("//chrome/common/features.gni")
12 import("//chrome/process_version_rc_template.gni") # For branding_file_path. 13 import("//chrome/process_version_rc_template.gni") # For branding_file_path.
13 import("//testing/test.gni") 14 import("//testing/test.gni")
14 import("//third_party/icu/config.gni") 15 import("//third_party/icu/config.gni")
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 } 543 }
543 544
544 chrome_paks("monochrome_paks") { 545 chrome_paks("monochrome_paks") {
545 output_dir = "$target_gen_dir/$target_name" 546 output_dir = "$target_gen_dir/$target_name"
546 547
547 additional_extra_paks = [ "$root_gen_dir/android_webview/aw_resources.pak" ] 548 additional_extra_paks = [ "$root_gen_dir/android_webview/aw_resources.pak" ]
548 deps = [ 549 deps = [
549 "//android_webview:generate_aw_resources", 550 "//android_webview:generate_aw_resources",
550 ] 551 ]
551 552
553 additional_locale_source_patterns = webview_repack_locales_source_patterns
554 deps += webview_repack_locales_deps
555
552 if (enable_resource_whitelist_generation) { 556 if (enable_resource_whitelist_generation) {
553 repack_whitelist = monochrome_resource_whitelist 557 repack_whitelist = monochrome_resource_whitelist
554 deps += [ ":monochrome_resource_whitelist" ] 558 deps += [ ":monochrome_resource_whitelist" ]
555 } 559 }
556 } 560 }
561
562 locale_pak_resources("monochrome_locale_paks") {
563 sources = []
564 foreach(_locale, locales) {
565 sources += [ "$target_gen_dir/monochrome_paks/locales/$_locale.pak" ]
566 }
567
568 deps = [
569 ":monochrome_paks",
570 ]
571 }
557 } # current_toolchain == host_toolchain 572 } # current_toolchain == host_toolchain
558 573
559 java_group("monochrome_assets") {
560 deps = [
561 ":monochrome_pak_assets",
562 "//android_webview:monochrome_webview_assets",
michaelbai 2016/09/28 00:35:29 Where those assets defined in android_webview:mono
agrieve 2016/09/28 00:46:58 They are referenced directly downstream.
563 ]
564 }
565
566 android_assets("monochrome_pak_assets") { 574 android_assets("monochrome_pak_assets") {
567 sources = [ 575 sources = [
568 "$target_gen_dir/monochrome_paks/chrome_100_percent.pak", 576 "$target_gen_dir/monochrome_paks/chrome_100_percent.pak",
569 "$target_gen_dir/monochrome_paks/resources.pak", 577 "$target_gen_dir/monochrome_paks/resources.pak",
570 ] 578 ]
571 deps = [ 579 deps = [
572 ":monochrome_paks", 580 ":monochrome_paks",
573 ] 581 ]
574 disable_compression = true 582 disable_compression = true
575 } 583 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 instrumentation_test_apk("chrome_sync_shell_test_apk") { 737 instrumentation_test_apk("chrome_sync_shell_test_apk") {
730 apk_name = "ChromeSyncShellTest" 738 apk_name = "ChromeSyncShellTest"
731 apk_under_test = ":chrome_sync_shell_apk" 739 apk_under_test = ":chrome_sync_shell_apk"
732 android_manifest = chrome_sync_shell_test_apk_manifest 740 android_manifest = chrome_sync_shell_test_apk_manifest
733 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest" 741 android_manifest_dep = ":chrome_sync_shell_test_apk_manifest"
734 deps = [ 742 deps = [
735 ":chrome_sync_shell_test_apk_java", 743 ":chrome_sync_shell_test_apk_java",
736 ] 744 ]
737 proguard_enabled = !is_java_debug 745 proguard_enabled = !is_java_debug
738 } 746 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/chrome_public_apk_tmpl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698