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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Test updates 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
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 use_new_wrapper_types = false 33 use_new_wrapper_types = false
29 } 34 }
30 35
31 group("api") { 36 group("api") {
32 public_deps = [ 37 public_deps = [
33 ":generated_api", 38 ":generated_api",
34 ":mojom", 39 ":mojom",
40 "//extensions/features",
35 ] 41 ]
36 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698