Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Side by Side Diff: extensions/common/api/api.gyp

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 },
21 {
8 # GN version: //extensions/common/api 22 # GN version: //extensions/common/api
9 'target_name': 'extensions_api', 23 'target_name': 'extensions_api',
10 'type': 'static_library', 24 'type': 'static_library',
11 # TODO(jschuh): http://crbug.com/167187 size_t -> int 25 # TODO(jschuh): http://crbug.com/167187 size_t -> int
12 'msvs_disabled_warnings': [ 4267 ], 26 'msvs_disabled_warnings': [ 4267 ],
13 'includes': [ 27 'includes': [
14 '../../../build/json_schema_bundle_compile.gypi', 28 '../../../build/json_schema_bundle_compile.gypi',
15 '../../../build/json_schema_compile.gypi', 29 '../../../build/json_schema_compile.gypi',
16 'schemas.gypi', 30 'schemas.gypi',
17 ], 31 ],
32 'dependencies': [
33 'extensions_api_mojom',
34 ],
35 'sources': [
36 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.cc' ,
37 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/api/mime_handler.mojom.h',
38 ],
18 }, 39 },
19 { 40 {
20 # Protobuf compiler / generator for chrome.cast.channel-related protocol b uffers. 41 # Protobuf compiler / generator for chrome.cast.channel-related protocol b uffers.
21 # GN version: //extensions/browser/api/cast_channel:cast_channel_proto 42 # GN version: //extensions/browser/api/cast_channel:cast_channel_proto
22 'target_name': 'cast_channel_proto', 43 'target_name': 'cast_channel_proto',
23 'type': 'static_library', 44 'type': 'static_library',
24 'sources': [ 45 'sources': [
25 'cast_channel/authority_keys.proto', 46 'cast_channel/authority_keys.proto',
26 'cast_channel/cast_channel.proto', 47 'cast_channel/cast_channel.proto',
27 'cast_channel/logging.proto', 48 'cast_channel/logging.proto',
28 ], 49 ],
29 'variables': { 50 'variables': {
30 'proto_in_dir': 'cast_channel', 51 'proto_in_dir': 'cast_channel',
31 'proto_out_dir': 'extensions/common/api/cast_channel', 52 'proto_out_dir': 'extensions/common/api/cast_channel',
32 }, 53 },
33 'includes': [ '../../../build/protoc.gypi' ] 54 'includes': [ '../../../build/protoc.gypi' ]
34 }, 55 },
35 ], 56 ],
36 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698