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

Unified Diff: chrome/common/extensions/api/BUILD.gn

Issue 680213003: Cleanup: Remove most enable_extensions logic in chrome/ extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/common/common_message_generator.h ('k') | chrome/common/extensions/api/schemas.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/BUILD.gn
diff --git a/chrome/common/extensions/api/BUILD.gn b/chrome/common/extensions/api/BUILD.gn
index 497a03eb042b9f5b7000c15e36bff6072307e5c6..a760cd28820a132888996b12da89ffbe68522a5f 100644
--- a/chrome/common/extensions/api/BUILD.gn
+++ b/chrome/common/extensions/api/BUILD.gn
@@ -5,6 +5,8 @@
import("//build/json_schema_api.gni")
import("schemas.gni")
+assert(enable_extensions)
+
# GYP version: chrome/common/extensions/api/api.gyp:chrome_api
json_schema_api("api") {
schemas = true
@@ -23,14 +25,12 @@ json_schema_api("api_registration") {
# include generated headers from these targets.
# TODO(brettw) this should be made unnecessary if possible.
":api",
+ "//components/copresence/proto",
"//components/metrics/proto",
"//skia",
"//sync",
"//ui/accessibility:ax_gen",
]
- if (!is_ios && !is_android) {
- deps += ["//components/copresence/proto"]
- }
if (is_chromeos) {
# deps += [ "<(DEPTH)/chrome/chrome.gyp:drive_proto" ] TODO(GYP)
}
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/extensions/api/schemas.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698