| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/locales.gni") | 5 import("//build/config/locales.gni") |
| 6 import("//chrome/common/features.gni") |
| 6 import("//ui/base/ui_features.gni") | 7 import("//ui/base/ui_features.gni") |
| 7 import("chrome_repack_locales.gni") | 8 import("chrome_repack_locales.gni") |
| 8 | 9 |
| 9 # Generates a rule to repack a set of resources, substituting a given string | 10 # Generates a rule to repack a set of resources, substituting a given string |
| 10 # in for the percentage (e.g. "100", "200"). It generates the repacked files in | 11 # in for the percentage (e.g. "100", "200"). It generates the repacked files in |
| 11 # the "gen" directory, and then introduces a copy rule to copy it to the root | 12 # the "gen" directory, and then introduces a copy rule to copy it to the root |
| 12 # build directory. | 13 # build directory. |
| 13 # | 14 # |
| 14 # Argument: | 15 # Argument: |
| 15 # percent [required] | 16 # percent [required] |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 ":${target_name}_locales", | 251 ":${target_name}_locales", |
| 251 ] | 252 ] |
| 252 if (enable_hidpi) { | 253 if (enable_hidpi) { |
| 253 public_deps += [ ":${target_name}_200_percent" ] | 254 public_deps += [ ":${target_name}_200_percent" ] |
| 254 } | 255 } |
| 255 if (defined(invoker.public_deps)) { | 256 if (defined(invoker.public_deps)) { |
| 256 public_deps += invoker.public_deps | 257 public_deps += invoker.public_deps |
| 257 } | 258 } |
| 258 } | 259 } |
| 259 } | 260 } |
| OLD | NEW |