Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / apps / common / api / api.gyp
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'targets': [
7     {
8       'target_name': 'apps_api',
9       'type': 'static_library',
10       'sources': [
11         '<@(schema_files)',
12       ],
13       # TODO(jschuh): http://crbug.com/167187 size_t -> int
14       'msvs_disabled_warnings': [ 4267 ],
15       'includes': [
16         '../../../build/json_schema_bundle_compile.gypi',
17         '../../../build/json_schema_compile.gypi',
18       ],
19       'variables': {
20         'chromium_code': 1,
21         'non_compiled_schema_files': [
22         ],
23         # TODO: Eliminate these on Android. See crbug.com/305852.
24         'schema_files': [
25           'app_runtime.idl',
26         ],
27         'cc_dir': 'apps/common/api',
28         'root_namespace': 'apps::api',
29         'impl_dir': 'apps/browser/api',
30       },
31       'dependencies': [
32         # None yet, but some may need to be added as more APIs move in.
33       ],
34     },
35   ],
36 }