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

Unified Diff: extensions/common/api/schemas.gypi

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/common/api/schemas.gni ('k') | extensions/common/common_manifest_handlers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/api/schemas.gypi
diff --git a/extensions/common/api/schemas.gypi b/extensions/common/api/schemas.gypi
index 36715aaaafd5d2ae80745c153bd07a1284d1f149..c3cac8cd3375ec9e8bab64910f1f1f8d976a0a54 100644
--- a/extensions/common/api/schemas.gypi
+++ b/extensions/common/api/schemas.gypi
@@ -8,7 +8,7 @@
],
'variables': {
'chromium_code': 1,
- 'main_schema_files': [
+ 'schema_files': [
'app_current_window_internal.idl',
'app_runtime.idl',
'app_view_guest_internal.json',
@@ -47,26 +47,8 @@
'web_view_internal.json',
],
'non_compiled_schema_files': [
- ],
- 'main_non_compiled_schema_files': [
'web_request_internal.json',
],
- # TODO(thestig) Do not include this file in non-extensions builds.
- # Then the conditional and else block can go away.
- # Do the same for extensions/common/api/schemas.gni.
- 'conditions': [
- ['enable_extensions==1', {
- 'non_compiled_schema_files': [
- '<@(main_non_compiled_schema_files)',
- ],
- 'schema_files': [
- '<@(main_schema_files)',
- ],
- }, {
- 'schema_files': [
- ],
- }],
- ],
'cc_dir': 'extensions/common/api',
'root_namespace': 'extensions::core_api::%(namespace)s',
'impl_dir_': 'extensions/browser/api',
« no previous file with comments | « extensions/common/api/schemas.gni ('k') | extensions/common/common_manifest_handlers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698