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