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 defines = chrome_grit_defines |
15 output_dir = "$root_gen_dir/chrome" | 16 output_dir = "$root_gen_dir/chrome" |
16 output_name = "common_resources" | 17 output_name = "common_resources" |
17 outputs = [ | 18 outputs = [ |
18 "grit/common_resources.h", | 19 "grit/common_resources.h", |
19 "common_resources.pak", | 20 "common_resources.pak", |
20 ] | 21 ] |
21 } | 22 } |
22 | 23 |
23 buildflag_header("features") { | 24 buildflag_header("features") { |
24 header = "features.h" | 25 header = "features.h" |
25 flags = [ | 26 flags = [ |
26 "ANDROID_JAVA_UI=$android_java_ui", | 27 "ANDROID_JAVA_UI=$android_java_ui", |
| 28 "ENABLE_APP_LIST=$enable_app_list", |
27 "ENABLE_BACKGROUND=$enable_background", | 29 "ENABLE_BACKGROUND=$enable_background", |
28 "ENABLE_BASIC_PRINT_DIALOG=$enable_basic_print_dialog", | 30 "ENABLE_BASIC_PRINT_DIALOG=$enable_basic_print_dialog", |
29 "ENABLE_CAPTIVE_PORTAL_DETECTION=$enable_captive_portal_detection", | 31 "ENABLE_CAPTIVE_PORTAL_DETECTION=$enable_captive_portal_detection", |
30 "ENABLE_GOOGLE_NOW=$enable_google_now", | 32 "ENABLE_GOOGLE_NOW=$enable_google_now", |
31 "ENABLE_HANGOUT_SERVICES_EXTENSION=$enable_hangout_services_extension", | 33 "ENABLE_HANGOUT_SERVICES_EXTENSION=$enable_hangout_services_extension", |
32 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", | 34 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", |
33 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", | 35 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", |
34 "ENABLE_PLUGIN_INSTALLATION=$enable_plugin_installation", | 36 "ENABLE_PLUGIN_INSTALLATION=$enable_plugin_installation", |
35 "ENABLE_SERVICE_DISCOVERY=$enable_service_discovery", | 37 "ENABLE_SERVICE_DISCOVERY=$enable_service_discovery", |
36 "ENABLE_XPC_NOTIFICATIONS=$enable_xpc_notifications", | 38 "ENABLE_XPC_NOTIFICATIONS=$enable_xpc_notifications", |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 "shell_handler_win.mojom", | 675 "shell_handler_win.mojom", |
674 ] | 676 ] |
675 | 677 |
676 public_deps = [ | 678 public_deps = [ |
677 "//skia/public/interfaces", | 679 "//skia/public/interfaces", |
678 "//url/mojo:url_mojom_gurl", | 680 "//url/mojo:url_mojom_gurl", |
679 ] | 681 ] |
680 | 682 |
681 use_new_wrapper_types = false | 683 use_new_wrapper_types = false |
682 } | 684 } |
OLD | NEW |