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

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

Issue 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT for commit Created 6 years, 4 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 | Annotate | Revision Log
« 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/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//native_client/build/config/nacl_defines.gni") 8 import("//native_client/build/config/nacl_defines.gni")
9 import("//tools/grit/grit_rule.gni") 9 import("//tools/grit/grit_rule.gni")
10 10
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 # GYP version: chrome/chrome_resources.gyp:chrome_resources 612 # GYP version: chrome/chrome_resources.gyp:chrome_resources
613 # (generate_browser_resources action) 613 # (generate_browser_resources action)
614 grit("resources") { 614 grit("resources") {
615 source = "browser_resources.grd" 615 source = "browser_resources.grd"
616 outputs = [ 616 outputs = [
617 "grit/browser_resources.h", 617 "grit/browser_resources.h",
618 "browser_resources.pak", 618 "browser_resources.pak",
619 ] 619 ]
620 620
621 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js" 621 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js"
622 identity_internals_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/identit y_internals/identity_internals.mojom.js"
622 623
623 grit_flags = [ 624 grit_flags = [
624 "-E", "about_credits_file=" + 625 "-E", "about_credits_file=" +
625 rebase_path(about_credits_file, root_build_dir), 626 rebase_path(about_credits_file, root_build_dir),
626 "-E", "additional_modules_list_file=" + 627 "-E", "additional_modules_list_file=" +
627 rebase_path(additional_modules_list_file, root_build_dir), 628 rebase_path(additional_modules_list_file, root_build_dir),
629 "-E", "identity_internals_mojom_file=" +
630 rebase_path(identity_internals_mojom_file, root_build_dir),
628 "-E", "omnibox_mojom_file=" + 631 "-E", "omnibox_mojom_file=" +
629 rebase_path(omnibox_mojom_file, root_build_dir), 632 rebase_path(omnibox_mojom_file, root_build_dir),
630 ] 633 ]
631 634
632 deps = [ 635 deps = [
633 ":about_credits", 636 ":about_credits",
634 ":chrome_internal_resources_gen", 637 ":chrome_internal_resources_gen",
638 "//chrome/browser/ui/webui/identity_internals:mojo_bindings",
635 "//chrome/browser/ui/webui/omnibox:mojo_bindings", 639 "//chrome/browser/ui/webui/omnibox:mojo_bindings",
636 ] 640 ]
637 } 641 }
638 642
639 # GYP version: chrome/chrome_resource.gyp:about_credits 643 # GYP version: chrome/chrome_resource.gyp:about_credits
640 action("about_credits") { 644 action("about_credits") {
641 script = "//tools/licenses.py" 645 script = "//tools/licenses.py"
642 646
643 # TODO(phajdan.jr): input dependencies so this can be regenerated 647 # TODO(phajdan.jr): input dependencies so this can be regenerated
644 # automatically when one of the credits changes. The way this should work is 648 # automatically when one of the credits changes. The way this should work is
(...skipping 11 matching lines...) Expand all
656 # TODO(GYP) write internal action 660 # TODO(GYP) write internal action
657 if (false) { #if (is_chrome_branded) { 661 if (false) { #if (is_chrome_branded) {
658 action("chrome_internal_resources_gen") { 662 action("chrome_internal_resources_gen") {
659 # TODO(GYP) 663 # TODO(GYP)
660 } 664 }
661 } else { 665 } else {
662 group("chrome_internal_resources_gen") { 666 group("chrome_internal_resources_gen") {
663 # Empty placeholder. 667 # Empty placeholder.
664 } 668 }
665 } 669 }
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