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

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

Issue 2944153002: Mojo JS bindings: introduce new targets "foo_js"/"foo_js_data_deps" for mojom("foo"). (Closed)
Patch Set: . Created 3 years, 6 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 | « BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('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("//build/split_static_library.gni") 9 import("//build/split_static_library.gni")
10 import("//chrome/common/features.gni") 10 import("//chrome/common/features.gni")
(...skipping 4435 matching lines...) Expand 10 before | Expand all | Expand 10 after
4446 grit_flags = [ 4446 grit_flags = [
4447 "-E", 4447 "-E",
4448 "additional_modules_list_file=" + 4448 "additional_modules_list_file=" +
4449 rebase_path(additional_modules_list_file, root_build_dir), 4449 rebase_path(additional_modules_list_file, root_build_dir),
4450 "-E", 4450 "-E",
4451 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), 4451 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir),
4452 ] 4452 ]
4453 4453
4454 deps = [ 4454 deps = [
4455 ":chrome_internal_resources_gen", 4455 ":chrome_internal_resources_gen",
4456
4457 # Depend only on the generated mojo bindings since we read the .mojom.js
4458 # file, rather than the whole mojo target which will link the C++ bindings.
4459 "//chrome/app:chrome_content_manifest_overlays", 4456 "//chrome/app:chrome_content_manifest_overlays",
4460 "//chrome/browser/engagement:mojo_bindings__generator", 4457 "//chrome/browser/engagement:mojo_bindings_js",
4461 "//chrome/browser/ui/webui/omnibox:mojo_bindings__generator", 4458 "//chrome/browser/ui/webui/omnibox:mojo_bindings_js",
4462 "//chrome/browser/ui/webui/usb_internals:mojo_bindings__generator", 4459 "//chrome/browser/ui/webui/usb_internals:mojo_bindings_js",
4463 "//device/bluetooth/public/interfaces:experimental_interfaces__generator", 4460 "//device/bluetooth/public/interfaces:experimental_interfaces_js",
4464 "//device/bluetooth/public/interfaces:interfaces__generator", 4461 "//device/bluetooth/public/interfaces:interfaces_js",
4465 "//url/mojo:url_mojom_gurl__generator", 4462 "//url/mojo:url_mojom_gurl_js",
4466 "//url/mojo:url_mojom_origin__generator", 4463 "//url/mojo:url_mojom_origin_js",
4467 ] 4464 ]
4468 4465
4469 if (use_vulcanize) { 4466 if (use_vulcanize) {
4470 deps += [ 4467 deps += [
4471 "//chrome/browser/resources/md_bookmarks:build", 4468 "//chrome/browser/resources/md_bookmarks:build",
4472 "//chrome/browser/resources/md_downloads:build", 4469 "//chrome/browser/resources/md_downloads:build",
4473 "//chrome/browser/resources/md_history:build", 4470 "//chrome/browser/resources/md_history:build",
4474 ] 4471 ]
4475 } 4472 }
4476 4473
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
4814 "//components/search_engines", 4811 "//components/search_engines",
4815 "//rlz:rlz_lib", 4812 "//rlz:rlz_lib",
4816 ] 4813 ]
4817 } 4814 }
4818 } 4815 }
4819 4816
4820 service_manifest("preferences_forwarder_manifest") { 4817 service_manifest("preferences_forwarder_manifest") {
4821 name = "preferences_forwarder" 4818 name = "preferences_forwarder"
4822 source = "prefs/forwarder_manifest.json" 4819 source = "prefs/forwarder_manifest.json"
4823 } 4820 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698