| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/util/process_version.gni") | 6 import("//build/util/process_version.gni") |
| 7 import("//chrome/common/features.gni") | 7 import("//chrome/common/features.gni") |
| 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. | 8 import("//chrome/process_version_rc_template.gni") # For branding_file_path. |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| 11 | 11 |
| 12 grit("resources") { | 12 grit("resources") { |
| 13 source = "common_resources.grd" | 13 source = "common_resources.grd" |
| 14 use_qualified_include = true | 14 use_qualified_include = true |
| 15 output_dir = "$root_gen_dir/chrome" | 15 output_dir = "$root_gen_dir/chrome" |
| 16 output_name = "common_resources" | 16 output_name = "common_resources" |
| 17 outputs = [ | 17 outputs = [ |
| 18 "grit/common_resources.h", | 18 "grit/common_resources.h", |
| 19 "common_resources.pak", | 19 "common_resources.pak", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 buildflag_header("features") { | 23 buildflag_header("features") { |
| 24 header = "features.h" | 24 header = "features.h" |
| 25 flags = [ | 25 flags = [ |
| 26 "ANDROID_JAVA_UI=$android_java_ui", | 26 "ANDROID_JAVA_UI=$android_java_ui", |
| 27 "ENABLE_BACKGROUND=$enable_background", | 27 "ENABLE_BACKGROUND=$enable_background", |
| 28 "ENABLE_BASIC_PRINT_DIALOG=$enable_basic_print_dialog", |
| 28 "ENABLE_GOOGLE_NOW=$enable_google_now", | 29 "ENABLE_GOOGLE_NOW=$enable_google_now", |
| 29 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", | 30 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", |
| 30 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", | 31 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", |
| 31 "ENABLE_XPC_NOTIFICATIONS=$enable_xpc_notifications", | 32 "ENABLE_XPC_NOTIFICATIONS=$enable_xpc_notifications", |
| 32 "USE_VULCANIZE=$use_vulcanize", | 33 "USE_VULCANIZE=$use_vulcanize", |
| 33 "PGO_BUILD=$pgo_build", | 34 "PGO_BUILD=$pgo_build", |
| 34 ] | 35 ] |
| 35 } | 36 } |
| 36 | 37 |
| 37 # Use a static library here because many test binaries depend on this but don't | 38 # Use a static library here because many test binaries depend on this but don't |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 "shell_handler_win.mojom", | 665 "shell_handler_win.mojom", |
| 665 ] | 666 ] |
| 666 | 667 |
| 667 public_deps = [ | 668 public_deps = [ |
| 668 "//skia/public/interfaces", | 669 "//skia/public/interfaces", |
| 669 "//url/mojo:url_mojom_gurl", | 670 "//url/mojo:url_mojom_gurl", |
| 670 ] | 671 ] |
| 671 | 672 |
| 672 use_new_wrapper_types = false | 673 use_new_wrapper_types = false |
| 673 } | 674 } |
| OLD | NEW |