| 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("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
| 10 | 10 |
| (...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 # GYP version: chrome/chrome_resources.gyp:chrome_resources | 903 # GYP version: chrome/chrome_resources.gyp:chrome_resources |
| 904 # (generate_browser_resources action) | 904 # (generate_browser_resources action) |
| 905 grit("resources") { | 905 grit("resources") { |
| 906 source = "browser_resources.grd" | 906 source = "browser_resources.grd" |
| 907 output_dir = "$root_gen_dir/chrome" | 907 output_dir = "$root_gen_dir/chrome" |
| 908 outputs = [ | 908 outputs = [ |
| 909 "grit/browser_resources.h", | 909 "grit/browser_resources.h", |
| 910 "browser_resources.pak", | 910 "browser_resources.pak", |
| 911 ] | 911 ] |
| 912 | 912 |
| 913 omnibox_mojom_file = | |
| 914 "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom.js" | |
| 915 | |
| 916 grit_flags = [ | 913 grit_flags = [ |
| 917 "-E", | 914 "-E", |
| 918 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir), | 915 "about_credits_file=" + rebase_path(about_credits_file, root_build_dir), |
| 919 "-E", | 916 "-E", |
| 920 "additional_modules_list_file=" + | 917 "additional_modules_list_file=" + |
| 921 rebase_path(additional_modules_list_file, root_build_dir), | 918 rebase_path(additional_modules_list_file, root_build_dir), |
| 922 "-E", | 919 "-E", |
| 923 "omnibox_mojom_file=" + rebase_path(omnibox_mojom_file, root_build_dir), | 920 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
| 924 ] | 921 ] |
| 925 | 922 |
| 926 deps = [ | 923 deps = [ |
| 927 ":about_credits", | 924 ":about_credits", |
| 928 ":chrome_internal_resources_gen", | 925 ":chrome_internal_resources_gen", |
| 929 | 926 |
| 930 # Depend only on the generated mojo bindings since we read the .mojom.js | 927 # Depend only on the generated mojo bindings since we read the .mojom.js |
| 931 # file, rather than the whole mojo target which will link the C++ bindings. | 928 # file, rather than the whole mojo target which will link the C++ bindings. |
| 929 "//chrome/browser/ui/webui/engagement:mojo_bindings__generator", |
| 932 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", | 930 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", |
| 933 ] | 931 ] |
| 934 inputs = [ | |
| 935 omnibox_mojom_file, | |
| 936 ] | |
| 937 } | 932 } |
| 938 | 933 |
| 939 # GYP version: chrome/chrome_resource.gyp:about_credits | 934 # GYP version: chrome/chrome_resource.gyp:about_credits |
| 940 action("about_credits") { | 935 action("about_credits") { |
| 941 script = "//tools/licenses.py" | 936 script = "//tools/licenses.py" |
| 942 | 937 |
| 943 inputs = [ | 938 inputs = [ |
| 944 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to | 939 # This is not a complete list. TODO(phajdan.jr, dbeam): licenses.py needs to |
| 945 # generate a .d file with all the licenses/credits that about:credits uses. | 940 # generate a .d file with all the licenses/credits that about:credits uses. |
| 946 # Then about:credits will automatically rebuild when one of them changes. | 941 # Then about:credits will automatically rebuild when one of them changes. |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1232 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") | 1227 rebase_path(gypi_values.chrome_browser_rlz_sources, ".", "//chrome") |
| 1233 deps = [ | 1228 deps = [ |
| 1234 "//components/google/core/browser", | 1229 "//components/google/core/browser", |
| 1235 "//components/omnibox/browser", | 1230 "//components/omnibox/browser", |
| 1236 "//components/rlz", | 1231 "//components/rlz", |
| 1237 "//components/search_engines", | 1232 "//components/search_engines", |
| 1238 "//rlz:rlz_lib", | 1233 "//rlz:rlz_lib", |
| 1239 ] | 1234 ] |
| 1240 } | 1235 } |
| 1241 } | 1236 } |
| OLD | NEW |