Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / extensions / 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       # GN version: //extensions/common/api
9       'target_name': 'extensions_api',
10       'type': 'static_library',
11       # TODO(jschuh): http://crbug.com/167187 size_t -> int
12       'msvs_disabled_warnings': [ 4267 ],
13       'includes': [
14         '../../../build/json_schema_bundle_compile.gypi',
15         '../../../build/json_schema_compile.gypi',
16         'schemas.gypi',
17       ],
18     },
19     {
20       # Protobuf compiler / generator for chrome.cast.channel-related protocol buffers.
21       # GN version: //extensions/browser/api/cast_channel:cast_channel_proto
22       'target_name': 'cast_channel_proto',
23       'type': 'static_library',
24       'sources': [
25           'cast_channel/cast_channel.proto',
26           'cast_channel/logging.proto'
27       ],
28       'variables': {
29           'proto_in_dir': 'cast_channel',
30           'proto_out_dir': 'extensions/common/api/cast_channel',
31       },
32       'includes': [ '../../../build/protoc.gypi' ]
33     },
34   ],
35 }