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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "${root_gen_dir}/ui/strings/ui_strings_", | 64 "${root_gen_dir}/ui/strings/ui_strings_", |
65 ] | 65 ] |
66 deps += [ | 66 deps += [ |
67 "//blimp/client/support/resources:strings", | 67 "//blimp/client/support/resources:strings", |
68 "//content/app/strings", | 68 "//content/app/strings", |
69 "//device/bluetooth/strings", | 69 "//device/bluetooth/strings", |
70 "//third_party/libaddressinput:strings", | 70 "//third_party/libaddressinput:strings", |
71 "//ui/strings:app_locale_settings", | 71 "//ui/strings:app_locale_settings", |
72 "//ui/strings:ui_strings", | 72 "//ui/strings:ui_strings", |
73 ] | 73 ] |
| 74 if (is_android) { |
| 75 source_patterns += |
| 76 [ "${root_gen_dir}/blimp/client/public/resources/blimp_strings_" ] |
| 77 deps += [ "//blimp/client/public/resources" ] |
| 78 } |
74 } | 79 } |
| 80 |
75 if (enable_extensions) { | 81 if (enable_extensions) { |
76 source_patterns += | 82 source_patterns += |
77 [ "${root_gen_dir}/extensions/strings/extensions_strings_" ] | 83 [ "${root_gen_dir}/extensions/strings/extensions_strings_" ] |
78 deps += [ "//extensions/strings" ] | 84 deps += [ "//extensions/strings" ] |
79 } | 85 } |
80 | 86 |
81 if (is_chrome_branded) { | 87 if (is_chrome_branded) { |
82 source_patterns += [ | 88 source_patterns += [ |
83 "${root_gen_dir}/chrome/google_chrome_strings_", | 89 "${root_gen_dir}/chrome/google_chrome_strings_", |
84 "${root_gen_dir}/components/strings/components_google_chrome_strings_", | 90 "${root_gen_dir}/components/strings/components_google_chrome_strings_", |
(...skipping 11 matching lines...) Expand all Loading... |
96 "//chrome/app:chromium_strings", | 102 "//chrome/app:chromium_strings", |
97 "//components/strings:components_chromium_strings", | 103 "//components/strings:components_chromium_strings", |
98 ] | 104 ] |
99 } | 105 } |
100 | 106 |
101 if (defined(invoker.additional_source_patterns)) { | 107 if (defined(invoker.additional_source_patterns)) { |
102 source_patterns += invoker.additional_source_patterns | 108 source_patterns += invoker.additional_source_patterns |
103 } | 109 } |
104 } | 110 } |
105 } | 111 } |
OLD | NEW |