| 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 # Arguments: | 10 # Arguments: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", | 47 "${root_gen_dir}/ui/chromeos/strings/ui_chromeos_strings_${locale}.pak", |
| 48 ] | 48 ] |
| 49 deps += [ | 49 deps += [ |
| 50 "//remoting/resources", | 50 "//remoting/resources", |
| 51 "//ui/chromeos/strings", | 51 "//ui/chromeos/strings", |
| 52 ] | 52 ] |
| 53 } | 53 } |
| 54 if (!is_ios) { | 54 if (!is_ios) { |
| 55 sources += [ | 55 sources += [ |
| 56 "${root_gen_dir}/content/app/strings/content_strings_${locale}.pak", | 56 "${root_gen_dir}/content/app/strings/content_strings_${locale}.pak", |
| 57 "${root_gen_dir}/device/bluetooth/strings/device_bluetooth_strings_${loc
ale}.pak", |
| 57 "${root_gen_dir}/ui/strings/app_locale_settings_${locale}.pak", | 58 "${root_gen_dir}/ui/strings/app_locale_settings_${locale}.pak", |
| 58 "${root_gen_dir}/ui/strings/ui_strings_${locale}.pak", | 59 "${root_gen_dir}/ui/strings/ui_strings_${locale}.pak", |
| 59 ] | 60 ] |
| 60 deps += [ | 61 deps += [ |
| 61 "//content/app/strings", | 62 "//content/app/strings", |
| 63 "//device/bluetooth/strings", |
| 62 "//ui/strings:ui_strings", | 64 "//ui/strings:ui_strings", |
| 63 "//ui/strings:app_locale_settings", | 65 "//ui/strings:app_locale_settings", |
| 64 ] | 66 ] |
| 65 } | 67 } |
| 66 if (enable_autofill_dialog) { | 68 if (enable_autofill_dialog) { |
| 67 sources += [ "${root_gen_dir}/third_party/libaddressinput/address_input_st
rings_${locale}.pak" ] | 69 sources += [ "${root_gen_dir}/third_party/libaddressinput/address_input_st
rings_${locale}.pak" ] |
| 68 deps += [ "//third_party/libaddressinput:strings" ] | 70 deps += [ "//third_party/libaddressinput:strings" ] |
| 69 } | 71 } |
| 70 if (enable_extensions) { | 72 if (enable_extensions) { |
| 71 sources += [ | 73 sources += [ |
| 72 "${root_gen_dir}/device/bluetooth/device_bluetooth_strings_${locale}.pak
", | |
| 73 | |
| 74 # TODO(jamescook): When Android stops building extensions code move | 74 # TODO(jamescook): When Android stops building extensions code move |
| 75 # this to the OS != 'ios' and OS != 'android' section. | 75 # this to the OS != 'ios' and OS != 'android' section. |
| 76 "${root_gen_dir}/extensions/strings/extensions_strings_${locale}.pak", | 76 "${root_gen_dir}/extensions/strings/extensions_strings_${locale}.pak", |
| 77 ] | 77 ] |
| 78 deps += [ | 78 deps += [ "//extensions/strings" ] |
| 79 "//device/bluetooth:strings", | |
| 80 "//extensions/strings", | |
| 81 ] | |
| 82 } | 79 } |
| 83 | 80 |
| 84 if (is_chrome_branded) { | 81 if (is_chrome_branded) { |
| 85 sources += | 82 sources += |
| 86 [ "${root_gen_dir}/chrome/google_chrome_strings_${locale}.pak" ] | 83 [ "${root_gen_dir}/chrome/google_chrome_strings_${locale}.pak" ] |
| 87 deps += [ "//chrome/app:google_chrome_strings" ] | 84 deps += [ "//chrome/app:google_chrome_strings" ] |
| 88 } else { | 85 } else { |
| 89 sources += [ "${root_gen_dir}/chrome/chromium_strings_${locale}.pak" ] | 86 sources += [ "${root_gen_dir}/chrome/chromium_strings_${locale}.pak" ] |
| 90 deps += [ "//chrome/app:chromium_strings" ] | 87 deps += [ "//chrome/app:chromium_strings" ] |
| 91 } | 88 } |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 } | 151 } |
| 155 | 152 |
| 156 # The group that external targets depend on which collects all deps. | 153 # The group that external targets depend on which collects all deps. |
| 157 group(group_target_name) { | 154 group(group_target_name) { |
| 158 if (defined(invoker.visibility)) { | 155 if (defined(invoker.visibility)) { |
| 159 visibility = invoker.visibility | 156 visibility = invoker.visibility |
| 160 } | 157 } |
| 161 deps = locale_targets | 158 deps = locale_targets |
| 162 } | 159 } |
| 163 } | 160 } |
| OLD | NEW |