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

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: 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
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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 'public/cpp/bindings/lib/string_serialization.cc', 168 'public/cpp/bindings/lib/string_serialization.cc',
169 'public/cpp/bindings/lib/string_serialization.h', 169 'public/cpp/bindings/lib/string_serialization.h',
170 'public/cpp/bindings/lib/sync_handle_watcher.cc', 170 'public/cpp/bindings/lib/sync_handle_watcher.cc',
171 'public/cpp/bindings/lib/sync_handle_watcher.h', 171 'public/cpp/bindings/lib/sync_handle_watcher.h',
172 'public/cpp/bindings/lib/validate_params.h', 172 'public/cpp/bindings/lib/validate_params.h',
173 'public/cpp/bindings/lib/validation_errors.cc', 173 'public/cpp/bindings/lib/validation_errors.cc',
174 'public/cpp/bindings/lib/validation_errors.h', 174 'public/cpp/bindings/lib/validation_errors.h',
175 'public/cpp/bindings/lib/validation_util.cc', 175 'public/cpp/bindings/lib/validation_util.cc',
176 'public/cpp/bindings/lib/validation_util.h', 176 'public/cpp/bindings/lib/validation_util.h',
177 'public/cpp/bindings/lib/value_traits.h', 177 'public/cpp/bindings/lib/value_traits.h',
178 # Include the .h but not the .cc file. The .h file is used by
179 # serialization_forward.h.
180 'public/cpp/bindings/lib/wtf_string_serialization.h',
178 'public/cpp/bindings/message.h', 181 'public/cpp/bindings/message.h',
179 'public/cpp/bindings/message_filter.h', 182 'public/cpp/bindings/message_filter.h',
180 'public/cpp/bindings/no_interface.h', 183 'public/cpp/bindings/no_interface.h',
181 'public/cpp/bindings/stl_converters.h', 184 'public/cpp/bindings/stl_converters.h',
182 'public/cpp/bindings/string.h', 185 'public/cpp/bindings/string.h',
183 'public/cpp/bindings/strong_binding.h', 186 'public/cpp/bindings/strong_binding.h',
184 'public/cpp/bindings/type_converter.h', 187 'public/cpp/bindings/type_converter.h',
185 # This comes from the mojo_interface_bindings_cpp_sources dependency. 188 # This comes from the mojo_interface_bindings_cpp_sources dependency.
186 '>@(mojom_generated_sources)', 189 '>@(mojom_generated_sources)',
187 ], 190 ],
188 'dependencies': [ 191 'dependencies': [
189 '../base/base.gyp:base', 192 '../base/base.gyp:base',
190 'mojo_interface_bindings_cpp_sources', 193 'mojo_interface_bindings_cpp_sources',
191 ], 194 ],
192 }, 195 },
193 { 196 {
197 # GN version: //mojo/public/cpp/bindings:wtf_support
198 'target_name': 'mojo_cpp_bindings_wtf_support',
199 'type': 'static_library',
200 'include_dirs': [
201 '..'
202 ],
203 'sources': [
204 'public/cpp/bindings/lib/wtf_serialization.h',
205 'public/cpp/bindings/lib/wtf_string_serialization.cc',
206 'public/cpp/bindings/lib/wtf_string_serialization.h',
207 ],
208 'dependencies': [
209 'mojo_cpp_bindings',
210 '../third_party/WebKit/Source/config.gyp:config',
211 '../third_party/WebKit/Source/wtf/wtf.gyp:wtf',
212 ],
213 'export_dependent_settings': [
214 'mojo_cpp_bindings',
215 '../third_party/WebKit/Source/config.gyp:config',
216 ],
217 },
218 {
194 # GN version: //mojo/message_pump 219 # GN version: //mojo/message_pump
195 'target_name': 'mojo_message_pump_lib', 220 'target_name': 'mojo_message_pump_lib',
196 'type': '<(component)', 221 'type': '<(component)',
197 'defines': [ 222 'defines': [
198 'MOJO_MESSAGE_PUMP_IMPLEMENTATION', 223 'MOJO_MESSAGE_PUMP_IMPLEMENTATION',
199 ], 224 ],
200 'dependencies': [ 225 'dependencies': [
201 '../base/base.gyp:base', 226 '../base/base.gyp:base',
202 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 227 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
203 '<(mojo_system_for_component)', 228 '<(mojo_system_for_component)',
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 'target_name': 'mojo_public_test_associated_interfaces', 530 'target_name': 'mojo_public_test_associated_interfaces',
506 'type': 'static_library', 531 'type': 'static_library',
507 'export_dependent_settings': [ 532 'export_dependent_settings': [
508 'mojo_cpp_bindings', 533 'mojo_cpp_bindings',
509 ], 534 ],
510 'dependencies': [ 535 'dependencies': [
511 'mojo_public_test_associated_interfaces_mojom', 536 'mojo_public_test_associated_interfaces_mojom',
512 'mojo_cpp_bindings', 537 'mojo_cpp_bindings',
513 ], 538 ],
514 }, 539 },
540 {
541 'target_name': 'mojo_public_test_wtf_types',
542 'type': 'static_library',
543 'sources': [
544 'public/interfaces/bindings/tests/test_wtf_types.mojom',
545 ],
546 'includes': [ 'mojom_bindings_generator.gypi' ],
547 },
548 {
549 'target_name': 'mojo_public_test_wtf_types_wtf',
550 'type': 'static_library',
551 'variables': {
552 'mojom_variant': 'wtf',
553 'use_wtf_types': 'true',
554 },
555 'sources': [
556 'public/interfaces/bindings/tests/test_wtf_types.mojom',
557 ],
558 'includes': [ 'mojom_bindings_generator.gypi' ],
559 'dependencies': [ 'mojo_public_test_wtf_types' ],
560 },
515 ], 561 ],
516 'conditions': [ 562 'conditions': [
517 ['OS == "android"', { 563 ['OS == "android"', {
518 'targets': [ 564 'targets': [
519 { 565 {
520 # GN version: //mojo/public/java:system 566 # GN version: //mojo/public/java:system
521 'target_name': 'mojo_public_java', 567 'target_name': 'mojo_public_java',
522 'type': 'none', 568 'type': 'none',
523 'variables': { 569 'variables': {
524 'chromium_code': 0, 570 'chromium_code': 0,
(...skipping 20 matching lines...) Expand all
545 'mojo_interface_bindings_java_sources', 591 'mojo_interface_bindings_java_sources',
546 'mojo_public_java', 592 'mojo_public_java',
547 '<(DEPTH)/base/base.gyp:base_java', 593 '<(DEPTH)/base/base.gyp:base_java',
548 ], 594 ],
549 'includes': [ '../build/java.gypi' ], 595 'includes': [ '../build/java.gypi' ],
550 }, 596 },
551 ], 597 ],
552 }], 598 }],
553 ], 599 ],
554 } 600 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698