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

Unified 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, 2 months 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/BUILD.gn
diff --git a/extensions/common/api/BUILD.gn b/extensions/common/api/BUILD.gn
index e8b4ac5075300286c3348e212dae591cf5a32553..33126e687a632a4e77b304cdf17a166dc2059a41 100644
--- a/extensions/common/api/BUILD.gn
+++ b/extensions/common/api/BUILD.gn
@@ -2,9 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
import("//build/json_schema_api.gni")
import("schemas.gni")
+assert(enable_extensions)
+
# GYP version: extensions/common/api/api.gyp:extensions_api
json_schema_api("api") {
schemas = true
@@ -16,12 +19,10 @@ json_schema_api("api_registration") {
impl_dir = "//extensions/browser/api"
bundle_registration = true
- deps = [ ":api" ]
- if (!is_android) {
- deps += [
- "//device/serial",
- "//extensions/common/api/cast_channel:cast_channel_proto",
- "//skia",
- ]
- }
+ deps = [
+ ":api",
+ "//device/serial",
+ "//extensions/common/api/cast_channel:cast_channel_proto",
+ "//skia",
+ ]
}
« 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