Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: chrome/common/BUILD.gn

Issue 2257003002: [Extensions] Generate all schema resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready Created 4 years, 4 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
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/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 gypi_values = exec_script("//build/gypi_to_gn.py", 11 gypi_values = exec_script("//build/gypi_to_gn.py",
12 [ rebase_path("../chrome_common.gypi") ], 12 [ rebase_path("../chrome_common.gypi") ],
13 "scope", 13 "scope",
14 [ "../chrome_common.gypi" ]) 14 [ "../chrome_common.gypi" ])
15 15
16 # GYP version: chrome/chrome_resources.gyp:chrome_resources 16 # GYP version: chrome/chrome_resources.gyp:chrome_resources
17 # (generate_common_resources action) 17 # (generate_common_resources action)
18 grit("resources") { 18 grit("resources") {
19 source = "common_resources.grd" 19 source = "common_resources.grd"
20 output_dir = "$root_gen_dir/chrome" 20 output_dir = "$root_gen_dir/chrome"
21 output_name = "common_resources" 21 output_name = "common_resources"
22 outputs = [ 22 outputs = [
23 "grit/common_resources.h", 23 "grit/common_resources.h",
24 "common_resources.pak", 24 "common_resources.pak",
25 ] 25 ]
26 } 26 }
27 27
28 # GYP version: chrome/chrome_resources.gyp:chrome_resources
29 # (generate_extensions_api_resources action)
30 if (enable_extensions) {
31 grit("extensions_api_resources") {
32 source = "extensions_api_resources.grd"
33 output_dir = "$root_gen_dir/chrome"
34 outputs = [
35 "grit/extensions_api_resources.h",
36 "extensions_api_resources.pak",
37 ]
38 }
39 }
40
41 buildflag_header("features") { 28 buildflag_header("features") {
42 header = "features.h" 29 header = "features.h"
43 flags = [ 30 flags = [
44 "ANDROID_JAVA_UI=$android_java_ui", 31 "ANDROID_JAVA_UI=$android_java_ui",
45 "ENABLE_BACKGROUND=$enable_background", 32 "ENABLE_BACKGROUND=$enable_background",
46 "ENABLE_GOOGLE_NOW=$enable_google_now", 33 "ENABLE_GOOGLE_NOW=$enable_google_now",
47 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin", 34 "ENABLE_ONE_CLICK_SIGNIN=$enable_one_click_signin",
48 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services", 35 "ENABLE_PACKAGE_MASH_SERVICES=$enable_package_mash_services",
49 "USE_VULCANIZE=$use_vulcanize", 36 "USE_VULCANIZE=$use_vulcanize",
50 "PGO_BUILD=$pgo_build", 37 "PGO_BUILD=$pgo_build",
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 "resource_usage_reporter.mojom", 419 "resource_usage_reporter.mojom",
433 "shell_handler_win.mojom", 420 "shell_handler_win.mojom",
434 ] 421 ]
435 422
436 public_deps = [ 423 public_deps = [
437 "//skia/public/interfaces", 424 "//skia/public/interfaces",
438 ] 425 ]
439 426
440 use_new_wrapper_types = false 427 use_new_wrapper_types = false
441 } 428 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698