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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/common/BUILD.gn ('k') | extensions/common/extension.h » ('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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/json_schema_api.gni") 6 import("//build/json_schema_api.gni")
7 import("//extensions/common/api/schema.gni") 7 import("//extensions/common/api/schema.gni")
8 import("//extensions/features/features.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
9 10
10 assert(enable_extensions) 11 assert(enable_extensions)
11 12
12 json_schema_api("generated_api") { 13 json_schema_api("generated_api") {
13 sources = extensions_api_schema_files 14 sources = extensions_api_schema_files
14 schemas = true 15 schemas = true
15 bundle = true 16 bundle = true
16 bundle_name = "" 17 bundle_name = ""
17 root_namespace = extensions_api_root_namespace 18 root_namespace = extensions_api_root_namespace
18 uncompiled_sources = extensions_api_uncompiled_sources 19 uncompiled_sources = extensions_api_uncompiled_sources
19 uncompiled_bundle_schema_sources = 20 uncompiled_bundle_schema_sources =
20 extensions_api_uncompiled_bundle_schema_sources 21 extensions_api_uncompiled_bundle_schema_sources
22 deps = [
23 "//base",
24 "//extensions/features",
25 ]
21 } 26 }
22 27
23 mojom("mojom") { 28 mojom("mojom") {
24 sources = [ 29 sources = [
25 "mime_handler.mojom", 30 "mime_handler.mojom",
26 ] 31 ]
27 } 32 }
28 33
29 group("api") { 34 group("api") {
30 public_deps = [ 35 public_deps = [
31 ":generated_api", 36 ":generated_api",
32 ":mojom", 37 ":mojom",
38 "//extensions/features",
33 ] 39 ]
34 } 40 }
OLDNEW
« no previous file with comments | « extensions/common/BUILD.gn ('k') | extensions/common/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698