summaryrefslogtreecommitdiffstats
path: root/chromium/apps/common/api/api.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/apps/common/api/api.gyp')
-rw-r--r--chromium/apps/common/api/api.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/chromium/apps/common/api/api.gyp b/chromium/apps/common/api/api.gyp
new file mode 100644
index 00000000000..5f1fb93be46
--- /dev/null
+++ b/chromium/apps/common/api/api.gyp
@@ -0,0 +1,36 @@
+# 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'apps_api',
+ 'type': 'static_library',
+ 'sources': [
+ '<@(schema_files)',
+ ],
+ # TODO(jschuh): http://crbug.com/167187 size_t -> int
+ 'msvs_disabled_warnings': [ 4267 ],
+ 'includes': [
+ '../../../build/json_schema_bundle_compile.gypi',
+ '../../../build/json_schema_compile.gypi',
+ ],
+ 'variables': {
+ 'chromium_code': 1,
+ 'non_compiled_schema_files': [
+ ],
+ # TODO: Eliminate these on Android. See crbug.com/305852.
+ 'schema_files': [
+ 'app_runtime.idl',
+ ],
+ 'cc_dir': 'apps/common/api',
+ 'root_namespace': 'apps::api',
+ 'impl_dir': 'apps/browser/api',
+ },
+ 'dependencies': [
+ # None yet, but some may need to be added as more APIs move in.
+ ],
+ },
+ ],
+}