| 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/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  Loading... | 
| 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), | 
| 628     "-E", "omnibox_mojom_file=" + | 629     "-E", "omnibox_mojom_file=" + | 
| 629           rebase_path(omnibox_mojom_file, root_build_dir), | 630           rebase_path(omnibox_mojom_file, root_build_dir), | 
|  | 631     "-E", "identity_internals_mojom_file=" + | 
|  | 632           rebase_path(identity_internals_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", | 
| 635     "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 638     "//chrome/browser/ui/webui/omnibox:mojo_bindings", | 
|  | 639     "//chrome/browser/ui/webui/identity_internals: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 | 
| 645   # that licenses.py should write a .d file listing the input dependencies (see | 649   # that licenses.py should write a .d file listing the input dependencies (see | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|