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

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

Issue 489153003: Split bundle generation steps so that API registration is generated in browser, not common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra targets Created 6 years, 4 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
Index: extensions/common/api/schemas.gypi
diff --git a/extensions/common/api/schemas.gypi b/extensions/common/api/schemas.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..e07f2897d990361c452cc1e46833c8725b77637c
--- /dev/null
+++ b/extensions/common/api/schemas.gypi
@@ -0,0 +1,59 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'sources': [
+ '<@(schema_files)',
+ ],
+ 'variables': {
+ 'chromium_code': 1,
+ # TODO: Eliminate these on Android. See crbug.com/305852.
+ 'android_schema_files': [
+ 'runtime.json',
+ ],
+ 'main_schema_files': [
+ 'app_runtime.idl',
+ 'app_view_internal.json',
+ 'cast_channel.idl',
+ 'dns.idl',
+ 'extensions_manifest_types.json',
+ 'hid.idl',
+ 'power.idl',
+ 'runtime.json',
+ 'serial.idl',
+ 'socket.idl',
+ 'sockets_tcp.idl',
+ 'sockets_tcp_server.idl',
+ 'sockets_udp.idl',
+ 'storage.json',
+ 'test.json',
+ 'usb.idl',
+ 'usb_private.idl',
+ ],
+ 'non_compiled_schema_files': [
+ ],
+ 'conditions': [
+ ['enable_extensions==1', {
+ 'schema_files': [
+ '<@(main_schema_files)',
+ ],
+ }, {
+ 'schema_files': [
+ '<@(android_schema_files)',
+ ],
+ }],
+ ],
+ 'cc_dir': 'extensions/common/api',
+ 'root_namespace': 'extensions::core_api::%(namespace)s',
+ 'impl_dir_': 'extensions/browser/api',
scottmg 2014/08/25 17:09:01 I think this or the target it's included into need
+ },
+ 'conditions': [
+ ['enable_extensions==1', {
+ 'dependencies': [
+ '<(DEPTH)/device/serial/serial.gyp:device_serial',
+ '<(DEPTH)/skia/skia.gyp:skia',
+ ],
+ }],
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698