OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //extensions/common/api:mojom | 8 # GN version: //extensions/common/api:mojom |
9 'target_name': 'extensions_api_mojom', | 9 'target_name': 'extensions_api_mojom', |
10 # The type of this target must be none. This is so that resources can | 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 | 11 # depend upon this target for generating the js bindings files. Any |
12 # generated cpp files must be listed explicitly in chrome_api. | 12 # generated cpp files must be listed explicitly in chrome_api. |
13 'type': 'none', | 13 'type': 'none', |
14 'includes': [ | 14 'includes': [ |
15 '../../../mojo/mojom_bindings_generator.gypi', | 15 '../../../mojo/mojom_bindings_generator.gypi', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 'mime_handler.mojom', | 18 'mime_handler.mojom', |
19 ], | 19 ], |
| 20 'variables': { |
| 21 'use_new_wrapper_types': 'false', |
| 22 }, |
20 }, | 23 }, |
21 { | 24 { |
22 # GN version: //extensions/common/api | 25 # GN version: //extensions/common/api |
23 'target_name': 'extensions_api', | 26 'target_name': 'extensions_api', |
24 'type': 'static_library', | 27 'type': 'static_library', |
25 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 28 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
26 'msvs_disabled_warnings': [ 4267 ], | 29 'msvs_disabled_warnings': [ 4267 ], |
27 'includes': [ | 30 'includes': [ |
28 '../../../build/json_schema_bundle_compile.gypi', | 31 '../../../build/json_schema_bundle_compile.gypi', |
29 '../../../build/json_schema_compile.gypi', | 32 '../../../build/json_schema_compile.gypi', |
(...skipping 19 matching lines...) Expand all Loading... |
49 'cast_channel/logging.proto', | 52 'cast_channel/logging.proto', |
50 ], | 53 ], |
51 'variables': { | 54 'variables': { |
52 'proto_in_dir': 'cast_channel', | 55 'proto_in_dir': 'cast_channel', |
53 'proto_out_dir': 'extensions/common/api/cast_channel', | 56 'proto_out_dir': 'extensions/common/api/cast_channel', |
54 }, | 57 }, |
55 'includes': [ '../../../build/protoc.gypi' ] | 58 'includes': [ '../../../build/protoc.gypi' ] |
56 }, | 59 }, |
57 ], | 60 ], |
58 } | 61 } |
OLD | NEW |