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/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//chrome/common/features.gni") |
9 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 11 import("//third_party/protobuf/proto_library.gni") |
11 | 12 |
12 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which | 13 # //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which |
13 # produces a conflict for the "grit" template so we have to only include one. | 14 # produces a conflict for the "grit" template so we have to only include one. |
14 if (is_android) { | 15 if (is_android) { |
15 import("//build/config/android/rules.gni") | 16 import("//build/config/android/rules.gni") |
16 } else { | 17 } else { |
17 import("//tools/grit/grit_rule.gni") | 18 import("//tools/grit/grit_rule.gni") |
18 } | 19 } |
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 if (enable_configuration_policy) { | 952 if (enable_configuration_policy) { |
952 deps += [ "//chrome/browser/policy:path_parser" ] | 953 deps += [ "//chrome/browser/policy:path_parser" ] |
953 } | 954 } |
954 } | 955 } |
955 } | 956 } |
956 | 957 |
957 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 958 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
958 # (generate_browser_resources action) | 959 # (generate_browser_resources action) |
959 grit("resources") { | 960 grit("resources") { |
960 source = "browser_resources.grd" | 961 source = "browser_resources.grd" |
| 962 defines = chrome_grit_defines |
961 output_dir = "$root_gen_dir/chrome" | 963 output_dir = "$root_gen_dir/chrome" |
962 outputs = [ | 964 outputs = [ |
963 "grit/browser_resources.h", | 965 "grit/browser_resources.h", |
964 "browser_resources.pak", | 966 "browser_resources.pak", |
965 ] | 967 ] |
966 | 968 |
967 grit_flags = [ | 969 grit_flags = [ |
968 "-E", | 970 "-E", |
969 "additional_modules_list_file=" + | 971 "additional_modules_list_file=" + |
970 rebase_path(additional_modules_list_file, root_build_dir), | 972 rebase_path(additional_modules_list_file, root_build_dir), |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1276 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
1275 deps = [ | 1277 deps = [ |
1276 "//components/google/core/browser", | 1278 "//components/google/core/browser", |
1277 "//components/omnibox/browser", | 1279 "//components/omnibox/browser", |
1278 "//components/rlz", | 1280 "//components/rlz", |
1279 "//components/search_engines", | 1281 "//components/search_engines", |
1280 "//rlz:rlz_lib", | 1282 "//rlz:rlz_lib", |
1281 ] | 1283 ] |
1282 } | 1284 } |
1283 } | 1285 } |
OLD | NEW |