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

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

Issue 672403002: Cleanup: Remove most enable_extensions logic in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 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/browser/api/api_registration.gyp ('k') | extensions/common/api/schemas.gni » ('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/json_schema_api.gni") 6 import("//build/json_schema_api.gni")
6 import("schemas.gni") 7 import("schemas.gni")
7 8
9 assert(enable_extensions)
10
8 # GYP version: extensions/common/api/api.gyp:extensions_api 11 # GYP version: extensions/common/api/api.gyp:extensions_api
9 json_schema_api("api") { 12 json_schema_api("api") {
10 schemas = true 13 schemas = true
11 bundle = true 14 bundle = true
12 } 15 }
13 16
14 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist ration 17 # GYP version: extensions/browser/api/api_registration.gyp:extensions_api_regist ration
15 json_schema_api("api_registration") { 18 json_schema_api("api_registration") {
16 impl_dir = "//extensions/browser/api" 19 impl_dir = "//extensions/browser/api"
17 bundle_registration = true 20 bundle_registration = true
18 21
19 deps = [ ":api" ] 22 deps = [
20 if (!is_android) { 23 ":api",
21 deps += [ 24 "//device/serial",
22 "//device/serial", 25 "//extensions/common/api/cast_channel:cast_channel_proto",
23 "//extensions/common/api/cast_channel:cast_channel_proto", 26 "//skia",
24 "//skia", 27 ]
25 ]
26 }
27 } 28 }
OLDNEW
« no previous file with comments | « extensions/browser/api/api_registration.gyp ('k') | extensions/common/api/schemas.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698