| 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("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
| 9 | 9 |
| 10 # Wraps repack_locales(), setting the source_patterns and deps required for | 10 # Wraps repack_locales(), setting the source_patterns and deps required for |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 "${root_gen_dir}/remoting/resources/", | 49 "${root_gen_dir}/remoting/resources/", |
| 50 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_", | 50 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_", |
| 51 ] | 51 ] |
| 52 deps += [ | 52 deps += [ |
| 53 "//remoting/resources", | 53 "//remoting/resources", |
| 54 "//ui/chromeos/strings", | 54 "//ui/chromeos/strings", |
| 55 ] | 55 ] |
| 56 } | 56 } |
| 57 if (!is_ios) { | 57 if (!is_ios) { |
| 58 source_patterns += [ | 58 source_patterns += [ |
| 59 "${root_gen_dir}/blimp/client/support/resources/blimp_strings_", | |
| 60 "${root_gen_dir}/content/app/strings/content_strings_", | 59 "${root_gen_dir}/content/app/strings/content_strings_", |
| 61 "${root_gen_dir}/device/bluetooth/strings/bluetooth_strings_", | 60 "${root_gen_dir}/device/bluetooth/strings/bluetooth_strings_", |
| 62 "${root_gen_dir}/third_party/libaddressinput/address_input_strings_", | 61 "${root_gen_dir}/third_party/libaddressinput/address_input_strings_", |
| 63 "${root_gen_dir}/ui/strings/app_locale_settings_", | 62 "${root_gen_dir}/ui/strings/app_locale_settings_", |
| 64 "${root_gen_dir}/ui/strings/ui_strings_", | 63 "${root_gen_dir}/ui/strings/ui_strings_", |
| 65 ] | 64 ] |
| 66 deps += [ | 65 deps += [ |
| 67 "//blimp/client/support/resources:strings", | |
| 68 "//content/app/strings", | 66 "//content/app/strings", |
| 69 "//device/bluetooth/strings", | 67 "//device/bluetooth/strings", |
| 70 "//third_party/libaddressinput:strings", | 68 "//third_party/libaddressinput:strings", |
| 71 "//ui/strings:app_locale_settings", | 69 "//ui/strings:app_locale_settings", |
| 72 "//ui/strings:ui_strings", | 70 "//ui/strings:ui_strings", |
| 73 ] | 71 ] |
| 74 } | 72 } |
| 73 if (is_android) { |
| 74 source_patterns += [ |
| 75 "${root_gen_dir}/blimp/client/public/resources/blimp_strings_", |
| 76 "${root_gen_dir}/blimp/client/support/resources/blimp_strings_", |
| 77 ] |
| 78 deps += [ |
| 79 "//blimp/client/public/resources:strings", |
| 80 "//blimp/client/support/resources:strings", |
| 81 ] |
| 82 } |
| 75 if (enable_extensions) { | 83 if (enable_extensions) { |
| 76 source_patterns += | 84 source_patterns += |
| 77 [ "${root_gen_dir}/extensions/strings/extensions_strings_" ] | 85 [ "${root_gen_dir}/extensions/strings/extensions_strings_" ] |
| 78 deps += [ "//extensions/strings" ] | 86 deps += [ "//extensions/strings" ] |
| 79 } | 87 } |
| 80 | 88 |
| 81 if (is_chrome_branded) { | 89 if (is_chrome_branded) { |
| 82 source_patterns += [ | 90 source_patterns += [ |
| 83 "${root_gen_dir}/chrome/google_chrome_strings_", | 91 "${root_gen_dir}/chrome/google_chrome_strings_", |
| 84 "${root_gen_dir}/components/strings/components_google_chrome_strings_", | 92 "${root_gen_dir}/components/strings/components_google_chrome_strings_", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 96 "//chrome/app:chromium_strings", | 104 "//chrome/app:chromium_strings", |
| 97 "//components/strings:components_chromium_strings", | 105 "//components/strings:components_chromium_strings", |
| 98 ] | 106 ] |
| 99 } | 107 } |
| 100 | 108 |
| 101 if (defined(invoker.additional_source_patterns)) { | 109 if (defined(invoker.additional_source_patterns)) { |
| 102 source_patterns += invoker.additional_source_patterns | 110 source_patterns += invoker.additional_source_patterns |
| 103 } | 111 } |
| 104 } | 112 } |
| 105 } | 113 } |
| OLD | NEW |