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