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 365513002: Port identity_internals to mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Maybe fix the gn build. 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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 } 610 }
611 611
612 } # comment out chrome/browser 612 } # comment out chrome/browser
613 613
614 # GYP version: chrome/chrome_resources.gyp:chrome_resources 614 # GYP version: chrome/chrome_resources.gyp:chrome_resources
615 # (generate_browser_resources action) 615 # (generate_browser_resources action)
616 grit("resources") { 616 grit("resources") {
617 source = "browser_resources.grd" 617 source = "browser_resources.grd"
618 618
619 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js" 619 omnibox_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mo jom.js"
620 identity_internals_mojom_file = "$root_gen_dir/chrome/browser/ui/webui/identit y_internals/identity_internals.mojom.js"
620 621
621 grit_flags = [ 622 grit_flags = [
622 "-E", "about_credits_file=" + 623 "-E", "about_credits_file=" +
623 rebase_path(about_credits_file, root_build_dir), 624 rebase_path(about_credits_file, root_build_dir),
624 "-E", "additional_modules_list_file=" + 625 "-E", "additional_modules_list_file=" +
625 rebase_path(additional_modules_list_file, root_build_dir), 626 rebase_path(additional_modules_list_file, root_build_dir),
626 "-E", "omnibox_mojom_file=" + 627 "-E", "omnibox_mojom_file=" +
627 rebase_path(omnibox_mojom_file, root_build_dir), 628 rebase_path(omnibox_mojom_file, root_build_dir),
629 "-E", "identity_internals_mojom_file=" +
630 rebase_path(identity_internals_mojom_file, root_build_dir),
628 ] 631 ]
629 632
630 deps = [ 633 deps = [
631 ":about_credits", 634 ":about_credits",
632 ":chrome_internal_resources_gen", 635 ":chrome_internal_resources_gen",
633 "//chrome/browser/ui/webui/omnibox:mojo_bindings", 636 "//chrome/browser/ui/webui/omnibox:mojo_bindings",
637 "//chrome/browser/ui/webui/identity_internals:mojo_bindings",
634 ] 638 ]
635 } 639 }
636 640
637 # GYP version: chrome/chrome_resource.gyp:about_credits 641 # GYP version: chrome/chrome_resource.gyp:about_credits
638 action("about_credits") { 642 action("about_credits") {
639 script = "//tools/licenses.py" 643 script = "//tools/licenses.py"
640 644
641 # TODO(phajdan.jr): input dependencies so this can be regenerated 645 # TODO(phajdan.jr): input dependencies so this can be regenerated
642 # automatically when one of the credits changes. The way this should work is 646 # automatically when one of the credits changes. The way this should work is
643 # that licenses.py should write a .d file listing the input dependencies (see 647 # that licenses.py should write a .d file listing the input dependencies (see
(...skipping 10 matching lines...) Expand all
654 # TODO(GYP) write internal action 658 # TODO(GYP) write internal action
655 if (false) { #if (is_chrome_branded) { 659 if (false) { #if (is_chrome_branded) {
656 action("chrome_internal_resources_gen") { 660 action("chrome_internal_resources_gen") {
657 # TODO(GYP) 661 # TODO(GYP)
658 } 662 }
659 } else { 663 } else {
660 group("chrome_internal_resources_gen") { 664 group("chrome_internal_resources_gen") {
661 # Empty placeholder. 665 # Empty placeholder.
662 } 666 }
663 } 667 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698