Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: chrome/browser/BUILD.gn

Issue 1316043003: Add chrome://site-engagement WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigation_smarter
Patch Set: fix dependencies Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//third_party/protobuf/proto_library.gni") 9 import("//third_party/protobuf/proto_library.gni")
10 10
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 # GYP version: chrome/chrome_resources.gyp:chrome_resources 922 # GYP version: chrome/chrome_resources.gyp:chrome_resources
923 # (generate_browser_resources action) 923 # (generate_browser_resources action)
924 grit("resources") { 924 grit("resources") {
925 source = "browser_resources.grd" 925 source = "browser_resources.grd"
926 output_dir = "$root_gen_dir/chrome" 926 output_dir = "$root_gen_dir/chrome"
927 outputs = [ 927 outputs = [
928 "grit/browser_resources.h", 928 "grit/browser_resources.h",
929 "browser_resources.pak", 929 "browser_resources.pak",
930 ] 930 ]
931 931
932 omnibox_mojom_file =
933 "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js"
934
935 grit_flags = [ 932 grit_flags = [
936 "-E", 933 "-E",
937 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir), 934 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir),
938 "-E", 935 "-E",
939 "additional_modules_list_file=" + 936 "additional_modules_list_file=" +
940 rebase_path(additional_modules_list_file, root_build_dir), 937 rebase_path(additional_modules_list_file, root_build_dir),
941 "-E", 938 "-E",
942 "omnibox_mojom_file=" + rebase_path(omnibox_mojom_file, root_build_dir), 939 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
943 ] 940 ]
944 941
945 deps = [ 942 deps = [
946 ":about_credits", 943 ":about_credits",
947 ":chrome_internal_resources_gen", 944 ":chrome_internal_resources_gen",
948 945
949 # Depend only on the generated mojo bindings since we read the .mojom.js 946 # Depend only on the generated mojo bindings since we read the .mojom.js
950 # file, rather than the whole mojo target which will link the C++ bindings. 947 # file, rather than the whole mojo target which will link the C++ bindings.
948 "//chrome/browser/ui/webui/engagement:mojo_bindings__generator",
951 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", 949 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator",
952 ] 950 ]
953 inputs = [
954 omnibox_mojom_file,
955 ]
956 } 951 }
957 952
958 # GYP version: chrome/chrome_resource.gyp:about_credits 953 # GYP version: chrome/chrome_resource.gyp:about_credits
959 action("about_credits") { 954 action("about_credits") {
960 script = "//tools/licenses.py" 955 script = "//tools/licenses.py"
961 956
962 inputs = [ 957 inputs = [
963 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to 958 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to
964 # generate a .d file with all the licenses/credits that about:credits uses. 959 # generate a .d file with all the licenses/credits that about:credits uses.
965 # Then about:credits will automatically rebuild when one of them changes. 960 # Then about:credits will automatically rebuild when one of them changes.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1247 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1253 deps = [ 1248 deps = [
1254 "//components/google/core/browser", 1249 "//components/google/core/browser",
1255 "//components/omnibox/browser", 1250 "//components/omnibox/browser",
1256 "//components/rlz", 1251 "//components/rlz",
1257 "//components/search_engines", 1252 "//components/search_engines",
1258 "//rlz:rlz_lib", 1253 "//rlz:rlz_lib",
1259 ] 1254 ]
1260 } 1255 }
1261 } 1256 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698