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("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
7 import("//chrome/version.gni") | 7 import("//chrome/version.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 | 10 |
11 grit("resources") { | 11 grit("resources") { |
12 source = "common_resources.grd" | 12 source = "common_resources.grd" |
13 use_qualified_include = true | 13 use_qualified_include = true |
14 output_dir = "$root_gen_dir/chrome" | 14 output_dir = "$root_gen_dir/chrome" |
15 output_name = "common_resources" | 15 output_name = "common_resources" |
16 outputs = [ | 16 outputs = [ |
17 "grit/common_resources.h", | 17 "grit/common_resources.h", |
18 "common_resources.pak", | 18 "common_resources.pak", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 buildflag_header("features") { | 22 buildflag_header("features") { |
23 header = "features.h" | 23 header = "features.h" |
24 flags = [ | 24 flags = [ |
25 "ANDROID_JAVA_UI=$android_java_ui", | 25 "ANDROID_JAVA_UI=$android_java_ui", |
26 "ENABLE_BACKGROUND=$enable_background", | 26 "ENABLE_BACKGROUND=$enable_background", |
27 "ENABLE_GOOGLE_NOW=$enable_google_now", | 27 "ENABLE_GOOGLE_NOW=$enable_google_now", |
28 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", | 28 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", |
29 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", | 29 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", |
| 30 "ENABLE_XPC_NOTIFICATIONS=$enable_xpc_notifications", |
30 "USE_VULCANIZE=$use_vulcanize", | 31 "USE_VULCANIZE=$use_vulcanize", |
31 "PGO_BUILD=$pgo_build", | 32 "PGO_BUILD=$pgo_build", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 # Use a static library here because many test binaries depend on this but don't | 36 # Use a static library here because many test binaries depend on this but don't |
36 # require many files from it. This makes linking more efficient. | 37 # require many files from it. This makes linking more efficient. |
37 static_library("common") { | 38 static_library("common") { |
38 sources = [ | 39 sources = [ |
39 "all_messages.h", | 40 "all_messages.h", |
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 "resource_usage_reporter.mojom", | 643 "resource_usage_reporter.mojom", |
643 "shell_handler_win.mojom", | 644 "shell_handler_win.mojom", |
644 ] | 645 ] |
645 | 646 |
646 public_deps = [ | 647 public_deps = [ |
647 "//skia/public/interfaces", | 648 "//skia/public/interfaces", |
648 ] | 649 ] |
649 | 650 |
650 use_new_wrapper_types = false | 651 use_new_wrapper_types = false |
651 } | 652 } |
OLD | NEW |