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

Unified Diff: extensions/common/api/api.gyp

Issue 349543002: Android: Eliminate a bunch of unused extensions APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/api.gyp
diff --git a/extensions/common/api/api.gyp b/extensions/common/api/api.gyp
index 400701d1654dff769998a5b5bd9c5cfc70195820..cd623d8149114d35344ac9aff96fb6b6205ae762 100644
--- a/extensions/common/api/api.gyp
+++ b/extensions/common/api/api.gyp
@@ -20,18 +20,27 @@
'chromium_code': 1,
'non_compiled_schema_files': [
],
- # TODO: Eliminate these on Android. See crbug.com/305852.
- 'schema_files': [
- 'dns.idl',
- 'extensions_manifest_types.json',
- 'runtime.json',
- 'socket.idl',
- 'sockets_tcp.idl',
- 'sockets_tcp_server.idl',
- 'sockets_udp.idl',
- 'storage.json',
- 'test.json',
- 'usb.idl',
+ 'conditions': [
+ ['enable_extensions==1', {
+ 'schema_files': [
+ 'dns.idl',
+ 'extensions_manifest_types.json',
+ 'runtime.json',
+ 'socket.idl',
+ 'sockets_tcp.idl',
+ 'sockets_tcp_server.idl',
+ 'sockets_udp.idl',
+ 'storage.json',
+ 'test.json',
+ 'usb.idl',
+ ],
+ }, {
+ # TODO: Eliminate these on Android. See crbug.com/305852.
+ 'schema_files': [
+ 'extensions_manifest_types.json',
+ 'runtime.json',
+ ],
+ }],
],
'cc_dir': 'extensions/common/api',
'root_namespace': 'extensions::core_api',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698