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

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: address_comments 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
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 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 # GYP version: chrome/chrome_resources.gyp:chrome_resources 916 # GYP version: chrome/chrome_resources.gyp:chrome_resources
917 # (generate_browser_resources action) 917 # (generate_browser_resources action)
918 grit("resources") { 918 grit("resources") {
919 source = "browser_resources.grd" 919 source = "browser_resources.grd"
920 output_dir = "$root_gen_dir/chrome" 920 output_dir = "$root_gen_dir/chrome"
921 outputs = [ 921 outputs = [
922 "grit/browser_resources.h", 922 "grit/browser_resources.h",
923 "browser_resources.pak", 923 "browser_resources.pak",
924 ] 924 ]
925 925
926 omnibox_mojom_file =
927 "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js"
928
929 grit_flags = [ 926 grit_flags = [
930 "-E", 927 "-E",
931 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir), 928 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir),
932 "-E", 929 "-E",
933 "additional_modules_list_file=" + 930 "additional_modules_list_file=" +
934 rebase_path(additional_modules_list_file, root_build_dir), 931 rebase_path(additional_modules_list_file, root_build_dir),
935 "-E", 932 "-E",
936 "omnibox_mojom_file=" + rebase_path(omnibox_mojom_file, root_build_dir), 933 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
937 ] 934 ]
938 935
939 deps = [ 936 deps = [
940 ":about_credits", 937 ":about_credits",
941 ":chrome_internal_resources_gen", 938 ":chrome_internal_resources_gen",
942 939
943 # Depend only on the generated mojo bindings since we read the .mojom.js 940 # Depend only on the generated mojo bindings since we read the .mojom.js
944 # file, rather than the whole mojo target which will link the C++ bindings. 941 # file, rather than the whole mojo target which will link the C++ bindings.
942 "//chrome/browser/ui/webui/engagement:mojo_bindings__generator",
945 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", 943 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator",
946 ] 944 ]
947 inputs = [
948 omnibox_mojom_file,
949 ]
950 } 945 }
951 946
952 # GYP version: chrome/chrome_resource.gyp:about_credits 947 # GYP version: chrome/chrome_resource.gyp:about_credits
953 action("about_credits") { 948 action("about_credits") {
954 script = "//tools/licenses.py" 949 script = "//tools/licenses.py"
955 950
956 inputs = [ 951 inputs = [
957 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to 952 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to
958 # generate a .d file with all the licenses/credits that about:credits uses. 953 # generate a .d file with all the licenses/credits that about:credits uses.
959 # Then about:credits will automatically rebuild when one of them changes. 954 # Then about:credits will automatically rebuild when one of them changes.
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1247 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") 1242 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome")
1248 deps = [ 1243 deps = [
1249 "//components/google/core/browser", 1244 "//components/google/core/browser",
1250 "//components/omnibox/browser", 1245 "//components/omnibox/browser",
1251 "//components/rlz", 1246 "//components/rlz",
1252 "//components/search_engines", 1247 "//components/search_engines",
1253 "//rlz:rlz_lib", 1248 "//rlz:rlz_lib",
1254 ] 1249 ]
1255 } 1250 }
1256 } 1251 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | chrome/browser/engagement/site_engagement_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698