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

Side by Side Diff: mojo/mojo_public.gyp

Issue 1751563002: Mojo C++ bindings: support mapping mojo string to WTF::String. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync & rebase Created 4 years, 9 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 | « mojo/mojo_edk_tests.gyp ('k') | mojo/mojom_bindings_generator.gypi » ('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 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 'includes': [ 6 'includes': [
7 'mojo_variables.gypi', 7 'mojo_variables.gypi',
8 ], 8 ],
9 'target_defaults' : { 9 'target_defaults' : {
10 'include_dirs': [ 10 'include_dirs': [
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 'public/cpp/bindings/lib/string_serialization.cc', 170 'public/cpp/bindings/lib/string_serialization.cc',
171 'public/cpp/bindings/lib/string_serialization.h', 171 'public/cpp/bindings/lib/string_serialization.h',
172 'public/cpp/bindings/lib/sync_handle_watcher.cc', 172 'public/cpp/bindings/lib/sync_handle_watcher.cc',
173 'public/cpp/bindings/lib/sync_handle_watcher.h', 173 'public/cpp/bindings/lib/sync_handle_watcher.h',
174 'public/cpp/bindings/lib/validate_params.h', 174 'public/cpp/bindings/lib/validate_params.h',
175 'public/cpp/bindings/lib/validation_errors.cc', 175 'public/cpp/bindings/lib/validation_errors.cc',
176 'public/cpp/bindings/lib/validation_errors.h', 176 'public/cpp/bindings/lib/validation_errors.h',
177 'public/cpp/bindings/lib/validation_util.cc', 177 'public/cpp/bindings/lib/validation_util.cc',
178 'public/cpp/bindings/lib/validation_util.h', 178 'public/cpp/bindings/lib/validation_util.h',
179 'public/cpp/bindings/lib/value_traits.h', 179 'public/cpp/bindings/lib/value_traits.h',
180 # Include the .h but not the .cc file. The .h file is used by
181 # serialization_forward.h.
182 'public/cpp/bindings/lib/wtf_string_serialization.h',
180 'public/cpp/bindings/message.h', 183 'public/cpp/bindings/message.h',
181 'public/cpp/bindings/message_filter.h', 184 'public/cpp/bindings/message_filter.h',
182 'public/cpp/bindings/no_interface.h', 185 'public/cpp/bindings/no_interface.h',
183 'public/cpp/bindings/stl_converters.h', 186 'public/cpp/bindings/stl_converters.h',
184 'public/cpp/bindings/string.h', 187 'public/cpp/bindings/string.h',
185 'public/cpp/bindings/strong_binding.h', 188 'public/cpp/bindings/strong_binding.h',
186 'public/cpp/bindings/type_converter.h', 189 'public/cpp/bindings/type_converter.h',
187 # This comes from the mojo_interface_bindings_cpp_sources dependency. 190 # This comes from the mojo_interface_bindings_cpp_sources dependency.
188 '>@(mojom_generated_sources)', 191 '>@(mojom_generated_sources)',
189 ], 192 ],
190 'dependencies': [ 193 'dependencies': [
191 '../base/base.gyp:base', 194 '../base/base.gyp:base',
192 'mojo_cpp_system', 195 'mojo_cpp_system',
193 'mojo_interface_bindings_cpp_sources', 196 'mojo_interface_bindings_cpp_sources',
194 ], 197 ],
195 }, 198 },
196 { 199 {
200 # GN version: //mojo/public/cpp/bindings:wtf_support
201 'target_name': 'mojo_cpp_bindings_wtf_support',
202 'type': 'static_library',
203 'include_dirs': [
204 '..'
205 ],
206 'sources': [
207 'public/cpp/bindings/lib/wtf_serialization.h',
208 'public/cpp/bindings/lib/wtf_string_serialization.cc',
209 'public/cpp/bindings/lib/wtf_string_serialization.h',
210 ],
211 'dependencies': [
212 'mojo_cpp_bindings',
213 '../third_party/WebKit/Source/config.gyp:config',
214 '../third_party/WebKit/Source/wtf/wtf.gyp:wtf',
215 ],
216 'export_dependent_settings': [
217 'mojo_cpp_bindings',
218 '../third_party/WebKit/Source/config.gyp:config',
219 ],
220 'direct_dependent_settings': {
221 'variables': {
222 'clang_warning_flags_unset': [ '-Wglobal-constructors' ],
Nico 2016/06/06 14:27:48 this looks incorrect. why do you need this?
223 },
224 },
225 },
226 {
197 # GN version: //mojo/message_pump 227 # GN version: //mojo/message_pump
198 'target_name': 'mojo_message_pump_lib', 228 'target_name': 'mojo_message_pump_lib',
199 'type': '<(component)', 229 'type': '<(component)',
200 'defines': [ 230 'defines': [
201 'MOJO_MESSAGE_PUMP_IMPLEMENTATION', 231 'MOJO_MESSAGE_PUMP_IMPLEMENTATION',
202 ], 232 ],
203 'dependencies': [ 233 'dependencies': [
204 '../base/base.gyp:base', 234 '../base/base.gyp:base',
205 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 235 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
206 '<(mojo_system_for_component)', 236 '<(mojo_system_for_component)',
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 'target_name': 'mojo_public_test_associated_interfaces', 479 'target_name': 'mojo_public_test_associated_interfaces',
450 'type': 'static_library', 480 'type': 'static_library',
451 'export_dependent_settings': [ 481 'export_dependent_settings': [
452 'mojo_cpp_bindings', 482 'mojo_cpp_bindings',
453 ], 483 ],
454 'dependencies': [ 484 'dependencies': [
455 'mojo_public_test_associated_interfaces_mojom', 485 'mojo_public_test_associated_interfaces_mojom',
456 'mojo_cpp_bindings', 486 'mojo_cpp_bindings',
457 ], 487 ],
458 }, 488 },
489 {
490 'target_name': 'mojo_public_test_wtf_types',
491 'type': 'static_library',
492 'sources': [
493 'public/interfaces/bindings/tests/test_wtf_types.mojom',
494 ],
495 'includes': [ 'mojom_bindings_generator.gypi' ],
496 },
497 {
498 'target_name': 'mojo_public_test_wtf_types_blink',
499 'type': 'static_library',
500 'variables': {
501 'mojom_variant': 'blink',
502 'for_blink': 'true',
503 },
504 'sources': [
505 'public/interfaces/bindings/tests/test_wtf_types.mojom',
506 ],
507 'includes': [ 'mojom_bindings_generator.gypi' ],
508 },
459 ], 509 ],
460 'conditions': [ 510 'conditions': [
461 ['OS == "android"', { 511 ['OS == "android"', {
462 'targets': [ 512 'targets': [
463 { 513 {
464 # GN version: //mojo/public/java:system 514 # GN version: //mojo/public/java:system
465 'target_name': 'mojo_public_java', 515 'target_name': 'mojo_public_java',
466 'type': 'none', 516 'type': 'none',
467 'variables': { 517 'variables': {
468 'chromium_code': 0, 518 'chromium_code': 0,
(...skipping 20 matching lines...) Expand all
489 'mojo_interface_bindings_java_sources', 539 'mojo_interface_bindings_java_sources',
490 'mojo_public_java', 540 'mojo_public_java',
491 '<(DEPTH)/base/base.gyp:base_java', 541 '<(DEPTH)/base/base.gyp:base_java',
492 ], 542 ],
493 'includes': [ '../build/java.gypi' ], 543 'includes': [ '../build/java.gypi' ],
494 }, 544 },
495 ], 545 ],
496 }], 546 }],
497 ], 547 ],
498 } 548 }
OLDNEW
« no previous file with comments | « mojo/mojo_edk_tests.gyp ('k') | mojo/mojom_bindings_generator.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698