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

Side by Side Diff: extensions/shell/common/api/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase Created 3 years, 6 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
« no previous file with comments | « extensions/features/BUILD.gn ('k') | extensions/shell/installer/linux/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//extensions/features/features.gni")
5 import("//tools/json_schema_compiler/json_features.gni") 6 import("//tools/json_schema_compiler/json_features.gni")
6 import("//tools/json_schema_compiler/json_schema_api.gni") 7 import("//tools/json_schema_compiler/json_schema_api.gni")
7 8
9 assert(enable_extensions,
10 "Cannot depend on extensions because enable_extensions=false.")
11
8 schema_sources = [ "identity.idl" ] 12 schema_sources = [ "identity.idl" ]
9 root_namespace = "extensions::shell::api::%(namespace)s" 13 root_namespace = "extensions::shell::api::%(namespace)s"
10 14
11 json_schema_api("api") { 15 json_schema_api("api") {
12 sources = schema_sources 16 sources = schema_sources
13 schemas = true 17 schemas = true
14 bundle = true 18 bundle = true
15 bundle_name = "Shell" 19 bundle_name = "Shell"
16 } 20 }
17 21
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 65 }
62 66
63 group("extensions_features") { 67 group("extensions_features") {
64 public_deps = [ 68 public_deps = [
65 ":shell_api_features", 69 ":shell_api_features",
66 ":shell_behavior_features", 70 ":shell_behavior_features",
67 ":shell_manifest_features", 71 ":shell_manifest_features",
68 ":shell_permission_features", 72 ":shell_permission_features",
69 ] 73 ]
70 } 74 }
OLDNEW
« no previous file with comments | « extensions/features/BUILD.gn ('k') | extensions/shell/installer/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698