summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/api/api.gyp
blob: e9d07deddf47c7d4ecf5443b99fb543876be51f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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': [
    {
      # GN version: //extensions/common/api
      'target_name': 'extensions_api',
      'type': 'static_library',
      # 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',
        'schemas.gypi',
      ],
    },
    {
      # Protobuf compiler / generator for chrome.cast.channel-related protocol buffers.
      # GN version: //extensions/browser/api/cast_channel:cast_channel_proto
      'target_name': 'cast_channel_proto',
      'type': 'static_library',
      'sources': [
          'cast_channel/authority_keys.proto',
          'cast_channel/cast_channel.proto',
          'cast_channel/logging.proto',
      ],
      'variables': {
          'proto_in_dir': 'cast_channel',
          'proto_out_dir': 'extensions/common/api/cast_channel',
      },
      'includes': [ '../../../build/protoc.gypi' ]
    },
  ],
}