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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 if (enable_configuration_policy) { | 941 if (enable_configuration_policy) { |
941 deps += [ "//chrome/browser/policy:path_parser" ] | 942 deps += [ "//chrome/browser/policy:path_parser" ] |
942 } | 943 } |
943 } | 944 } |
944 } | 945 } |
945 | 946 |
946 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 947 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
947 # (generate_browser_resources action) | 948 # (generate_browser_resources action) |
948 grit("resources") { | 949 grit("resources") { |
949 source = "browser_resources.grd" | 950 source = "browser_resources.grd" |
| 951 defines = chrome_grit_defines |
950 output_dir = "$root_gen_dir/chrome" | 952 output_dir = "$root_gen_dir/chrome" |
951 outputs = [ | 953 outputs = [ |
952 "grit/browser_resources.h", | 954 "grit/browser_resources.h", |
953 "browser_resources.pak", | 955 "browser_resources.pak", |
954 ] | 956 ] |
955 | 957 |
956 grit_flags = [ | 958 grit_flags = [ |
957 "-E", | 959 "-E", |
958 "additional_modules_list_file=" + | 960 "additional_modules_list_file=" + |
959 rebase_path(additional_modules_list_file, root_build_dir), | 961 rebase_path(additional_modules_list_file, root_build_dir), |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1263 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1265 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
1264 deps = [ | 1266 deps = [ |
1265 "//components/google/core/browser", | 1267 "//components/google/core/browser", |
1266 "//components/omnibox/browser", | 1268 "//components/omnibox/browser", |
1267 "//components/rlz", | 1269 "//components/rlz", |
1268 "//components/search_engines", | 1270 "//components/search_engines", |
1269 "//rlz:rlz_lib", | 1271 "//rlz:rlz_lib", |
1270 ] | 1272 ] |
1271 } | 1273 } |
1272 } | 1274 } |
OLD | NEW |