| OLD | NEW |
| (Empty) |
| 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:mojom | |
| 9 'target_name': 'extensions_api_mojom', | |
| 10 # The type of this target must be none. This is so that resources can | |
| 11 # depend upon this target for generating the js bindings files. Any | |
| 12 # generated cpp files must be listed explicitly in chrome_api. | |
| 13 'type': 'none', | |
| 14 'includes': [ | |
| 15 '../../../mojo/mojom_bindings_generator.gypi', | |
| 16 ], | |
| 17 'sources': [ | |
| 18 'mime_handler.mojom', | |
| 19 ], | |
| 20 'variables': { | |
| 21 'use_new_wrapper_types': 'false', | |
| 22 }, | |
| 23 }, | |
| 24 { | |
| 25 # GN version: //extensions/common/api | |
| 26 'target_name': 'extensions_api', | |
| 27 'type': 'static_library', | |
| 28 # TODO(jschuh): http://crbug.com/167187 size_t -> int | |
| 29 'msvs_disabled_warnings': [ 4267 ], | |
| 30 'includes': [ | |
| 31 '../../../build/json_schema_bundle_compile.gypi', | |
| 32 '../../../build/json_schema_compile.gypi', | |
| 33 'schemas.gypi', | |
| 34 ], | |
| 35 'dependencies': [ | |
| 36 'extensions_api_mojom', | |
| 37 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 38 ], | |
| 39 'sources': [ | |
| 40 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.cc'
, | |
| 41 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.h', | |
| 42 ], | |
| 43 }, | |
| 44 { | |
| 45 # Protobuf compiler / generator for chrome.cast.channel-related protocol b
uffers. | |
| 46 # GN version: //extensions/browser/api/cast_channel:cast_channel_proto | |
| 47 'target_name': 'cast_channel_proto', | |
| 48 'type': 'static_library', | |
| 49 'sources': [ | |
| 50 'cast_channel/authority_keys.proto', | |
| 51 'cast_channel/cast_channel.proto', | |
| 52 'cast_channel/logging.proto', | |
| 53 ], | |
| 54 'variables': { | |
| 55 'proto_in_dir': 'cast_channel', | |
| 56 'proto_out_dir': 'extensions/common/api/cast_channel', | |
| 57 }, | |
| 58 'includes': [ '../../../build/protoc.gypi' ] | |
| 59 }, | |
| 60 ], | |
| 61 } | |
| OLD | NEW |