| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/common/api/schema.gni") | 5 import("//extensions/common/api/schema.gni") |
| 6 import("//extensions/features/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 source_set("api") { | 12 source_set("api") { |
| 9 sources = [ | 13 sources = [ |
| 10 "api_resource.cc", | 14 "api_resource.cc", |
| 11 "api_resource.h", | 15 "api_resource.h", |
| 12 "api_resource_manager.h", | 16 "api_resource_manager.h", |
| 13 "async_api_function.cc", | 17 "async_api_function.cc", |
| 14 "async_api_function.h", | 18 "async_api_function.h", |
| 15 "device_permissions_manager.cc", | 19 "device_permissions_manager.cc", |
| 16 "device_permissions_manager.h", | 20 "device_permissions_manager.h", |
| 17 "device_permissions_prompt.cc", | 21 "device_permissions_prompt.cc", |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 root_namespace = extensions_api_root_namespace | 141 root_namespace = extensions_api_root_namespace |
| 138 uncompiled_sources = extensions_api_uncompiled_sources | 142 uncompiled_sources = extensions_api_uncompiled_sources |
| 139 | 143 |
| 140 deps = [ | 144 deps = [ |
| 141 ":api", | 145 ":api", |
| 142 "//device/serial", | 146 "//device/serial", |
| 143 "//extensions/common/api", | 147 "//extensions/common/api", |
| 144 "//skia", | 148 "//skia", |
| 145 ] | 149 ] |
| 146 } | 150 } |
| OLD | NEW |