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("//build/json_schema_api.gni") |
| 6 import("//extensions/common/api/schema.gni") |
| 7 |
5 source_set("api") { | 8 source_set("api") { |
6 sources = [ | 9 sources = [ |
7 "api_resource.cc", | 10 "api_resource.cc", |
8 "api_resource.h", | 11 "api_resource.h", |
9 "api_resource_manager.h", | 12 "api_resource_manager.h", |
10 "async_api_function.cc", | 13 "async_api_function.cc", |
11 "async_api_function.h", | 14 "async_api_function.h", |
12 "device_permissions_manager.cc", | 15 "device_permissions_manager.cc", |
13 "device_permissions_manager.h", | 16 "device_permissions_manager.h", |
14 "device_permissions_prompt.cc", | 17 "device_permissions_prompt.cc", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 "//extensions/browser/api/system_storage", | 71 "//extensions/browser/api/system_storage", |
69 "//extensions/browser/api/test", | 72 "//extensions/browser/api/test", |
70 "//extensions/browser/api/usb", | 73 "//extensions/browser/api/usb", |
71 "//extensions/browser/api/virtual_keyboard_private", | 74 "//extensions/browser/api/virtual_keyboard_private", |
72 "//extensions/browser/api/web_request", | 75 "//extensions/browser/api/web_request", |
73 ] | 76 ] |
74 | 77 |
75 deps = [ | 78 deps = [ |
76 "//base:i18n", | 79 "//base:i18n", |
77 "//content/public/browser", | 80 "//content/public/browser", |
| 81 "//extensions/strings", |
78 ] | 82 ] |
79 | 83 |
80 if (is_chromeos) { | 84 if (is_chromeos) { |
81 public_deps += [ | 85 public_deps += [ |
82 "//extensions/browser/api/diagnostics", | 86 "//extensions/browser/api/diagnostics", |
83 "//extensions/browser/api/networking_config", | 87 "//extensions/browser/api/networking_config", |
84 "//extensions/browser/api/vpn_provider", | 88 "//extensions/browser/api/vpn_provider", |
85 "//extensions/browser/api/webcam_private", | 89 "//extensions/browser/api/webcam_private", |
86 ] | 90 ] |
87 } | 91 } |
88 } | 92 } |
| 93 |
| 94 json_schema_api("api_registration") { |
| 95 sources = extensions_api_schema_files |
| 96 impl_dir = "//extensions/browser/api" |
| 97 bundle_registration = true |
| 98 bundle_name = "" |
| 99 root_namespace = extensions_api_root_namespace |
| 100 uncompiled_sources = extensions_api_uncompiled_sources |
| 101 |
| 102 deps = [ |
| 103 ":api", |
| 104 "//device/serial", |
| 105 "//extensions/common/api", |
| 106 "//extensions/common/api/cast_channel:cast_channel_proto", |
| 107 "//skia", |
| 108 ] |
| 109 } |
OLD | NEW |