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

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: Rework to use promises. Created 6 years, 5 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
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("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 about_credits_file = "$target_gen_dir/about_credits.html" 10 about_credits_file = "$target_gen_dir/about_credits.html"
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 } 607 }
608 } 608 }
609 } 609 }
610 610
611 # GYP version: chrome/chrome_resources.gyp:chrome_resources 611 # GYP version: chrome/chrome_resources.gyp:chrome_resources
612 # (generate_browser_resources action) 612 # (generate_browser_resources action)
613 grit("resources") { 613 grit("resources") {
614 source = "browser_resources.grd" 614 source = "browser_resources.grd"
615 615
616 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js" 616 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js"
617 identity_internals_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/identit y_internals/identity_internals.mojom.js"
617 618
618 grit_flags = [ 619 grit_flags = [
619 "-E", "about_credits_file=" + 620 "-E", "about_credits_file=" +
620 rebase_path(about_credits_file, root_build_dir), 621 rebase_path(about_credits_file, root_build_dir),
621 "-E", "additional_modules_list_file=" + 622 "-E", "additional_modules_list_file=" +
622 rebase_path(additional_modules_list_file, root_build_dir), 623 rebase_path(additional_modules_list_file, root_build_dir),
623 "-E", "omnibox_mojom_file=" + 624 "-E", "omnibox_mojom_file=" +
624 rebase_path(omnibox_mojom_file, root_build_dir), 625 rebase_path(omnibox_mojom_file, root_build_dir),
626 "-E", "identity_internals_mojom_file=" +
627 rebase_path(identity_internals_mojom_file, root_build_dir),
625 ] 628 ]
626 629
627 deps = [ 630 deps = [
628 ":about_credits", 631 ":about_credits",
629 ":chrome_internal_resources_gen", 632 ":chrome_internal_resources_gen",
630 "//chrome/browser/ui/webui/omnibox:mojo_bindings", 633 "//chrome/browser/ui/webui/omnibox:mojo_bindings",
634 "//chrome/browser/ui/webui/identity_internals:mojo_bindings",
631 ] 635 ]
632 } 636 }
633 637
634 # GYP version: chrome/chrome_resource.gyp:about_credits 638 # GYP version: chrome/chrome_resource.gyp:about_credits
635 action("about_credits") { 639 action("about_credits") {
636 script = "//tools/licenses.py" 640 script = "//tools/licenses.py"
637 641
638 # TODO(phajdan.jr): input dependencies so this can be regenerated 642 # TODO(phajdan.jr): input dependencies so this can be regenerated
639 # automatically when one of the credits changes. The way this should work is 643 # automatically when one of the credits changes. The way this should work is
640 # that licenses.py should write a .d file listing the input dependencies (see 644 # that licenses.py should write a .d file listing the input dependencies (see
(...skipping 10 matching lines...) Expand all
651 # TODO(GYP) write internal action 655 # TODO(GYP) write internal action
652 if (false) { #if (is_chrome_branded) { 656 if (false) { #if (is_chrome_branded) {
653 action("chrome_internal_resources_gen") { 657 action("chrome_internal_resources_gen") {
654 # TODO(GYP) 658 # TODO(GYP)
655 } 659 }
656 } else { 660 } else {
657 group("chrome_internal_resources_gen") { 661 group("chrome_internal_resources_gen") {
658 # Empty placeholder. 662 # Empty placeholder.
659 } 663 }
660 } 664 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | chrome/browser/resources/identity_internals.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698