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

Side by Side Diff: media/mojo/interfaces/mojo_bindings.gyp

Issue 2156303003: Mojo C++ bindings: make the generator use STL/WTF string/vector/map by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into 72_switch_default Created 4 years, 5 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
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 'targets': [ 5 'targets': [
6 { 6 {
7 # GN version: //media/mojo/interfaces 7 # GN version: //media/mojo/interfaces
8 'target_name': 'audio_output_mojom', 8 'target_name': 'audio_output_mojom',
9 'type': 'none', 9 'type': 'none',
10 'variables': { 10 'variables': {
11 'mojom_files': [ 11 'mojom_files': [
12 'audio_output.mojom', 12 'audio_output.mojom',
13 'audio_parameters.mojom', 13 'audio_parameters.mojom',
14 ], 14 ],
15 'use_new_wrapper_types': 'false',
15 }, 16 },
16 'dependencies': [ 17 'dependencies': [
17 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', 18 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
18 ], 19 ],
19 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ], 20 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ],
20 'mojom_typemaps': [ 21 'mojom_typemaps': [
21 'audio_parameters.typemap', 22 'audio_parameters.typemap',
22 ], 23 ],
23 }, 24 },
24 { 25 {
25 'target_name': 'audio_output_mojom_bindings', 26 'target_name': 'audio_output_mojom_bindings',
26 'type': 'static_library', 27 'type': 'static_library',
27 'dependencies': [ 28 'dependencies': [
28 'audio_output_mojom', 29 'audio_output_mojom',
29 ], 30 ],
30 }, 31 },
31 { 32 {
32 # GN version: //media/mojo/interfaces 33 # GN version: //media/mojo/interfaces
33 'target_name': 'platform_verification_mojo_bindings', 34 'target_name': 'platform_verification_mojo_bindings',
34 'type': 'none', 35 'type': 'none',
35 'sources': [ 36 'sources': [
36 'platform_verification.mojom', 37 'platform_verification.mojom',
37 ], 38 ],
38 'includes': [ '../../../mojo/mojom_bindings_generator.gypi' ], 39 'includes': [ '../../../mojo/mojom_bindings_generator.gypi' ],
40 'variables': {
41 'use_new_wrapper_types': 'false',
42 },
39 }, 43 },
40 { 44 {
41 'target_name': 'platform_verification_api', 45 'target_name': 'platform_verification_api',
42 'type': 'static_library', 46 'type': 'static_library',
43 'dependencies': [ 47 'dependencies': [
44 'platform_verification_mojo_bindings', 48 'platform_verification_mojo_bindings',
45 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', 49 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
46 '../../../services/shell/shell_public.gyp:shell_public', 50 '../../../services/shell/shell_public.gyp:shell_public',
47 ], 51 ],
48 'sources': [ 52 'sources': [
49 '<(SHARED_INTERMEDIATE_DIR)/media/mojo/interfaces/platform_verification. mojom.cc', 53 '<(SHARED_INTERMEDIATE_DIR)/media/mojo/interfaces/platform_verification. mojom.cc',
50 '<(SHARED_INTERMEDIATE_DIR)/media/mojo/interfaces/platform_verification. mojom.h', 54 '<(SHARED_INTERMEDIATE_DIR)/media/mojo/interfaces/platform_verification. mojom.h',
51 ], 55 ],
52 }, 56 },
53 { 57 {
54 # GN version: //media/mojo/interfaces 58 # GN version: //media/mojo/interfaces
55 'target_name': 'provision_fetcher_mojo_bindings', 59 'target_name': 'provision_fetcher_mojo_bindings',
56 'type': 'none', 60 'type': 'none',
57 'variables': { 61 'variables': {
58 'mojom_files': [ 62 'mojom_files': [
59 'provision_fetcher.mojom', 63 'provision_fetcher.mojom',
60 ], 64 ],
65 'use_new_wrapper_types': 'false',
61 }, 66 },
62 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ], 67 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ],
63 }, 68 },
64 { 69 {
65 'target_name': 'provision_fetcher_api', 70 'target_name': 'provision_fetcher_api',
66 'type': 'static_library', 71 'type': 'static_library',
67 'dependencies': [ 72 'dependencies': [
68 'provision_fetcher_mojo_bindings', 73 'provision_fetcher_mojo_bindings',
69 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', 74 '../../../mojo/mojo_public.gyp:mojo_cpp_bindings',
70 '../../../services/shell/shell_public.gyp:shell_public', 75 '../../../services/shell/shell_public.gyp:shell_public',
71 ], 76 ],
72 }, 77 },
73 { 78 {
74 # GN version: //media/mojo/interfaces:image_capture 79 # GN version: //media/mojo/interfaces:image_capture
75 'target_name': 'image_capture_mojo_bindings', 80 'target_name': 'image_capture_mojo_bindings',
76 'type': 'static_library', 81 'type': 'static_library',
77 'includes': [ 82 'includes': [
78 '../../../mojo/mojom_bindings_generator.gypi', 83 '../../../mojo/mojom_bindings_generator.gypi',
79 ], 84 ],
80 'sources': [ 85 'sources': [
81 'image_capture.mojom', 86 'image_capture.mojom',
82 ], 87 ],
88 'variables': {
89 'use_new_wrapper_types': 'false',
90 },
83 }, 91 },
84 { 92 {
85 # GN version: //media/mojo/interfaces:image_capture 93 # GN version: //media/mojo/interfaces:image_capture
86 'target_name': 'image_capture_mojo_bindings_for_blink', 94 'target_name': 'image_capture_mojo_bindings_for_blink',
87 'type': 'static_library', 95 'type': 'static_library',
88 'variables': { 96 'variables': {
89 'for_blink': 'true', 97 'for_blink': 'true',
98 'use_new_wrapper_types': 'false',
90 }, 99 },
91 'includes': [ 100 'includes': [
92 '../../../mojo/mojom_bindings_generator.gypi', 101 '../../../mojo/mojom_bindings_generator.gypi',
93 ], 102 ],
94 'sources': [ 103 'sources': [
95 'image_capture.mojom', 104 'image_capture.mojom',
96 ], 105 ],
97 }, 106 },
98 ], 107 ],
99 } 108 }
OLDNEW
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | mojo/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698