| 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 '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 19 matching lines...) Expand all Loading... |
| 30 }, | 30 }, |
| 31 { | 31 { |
| 32 # Targets that (a) need to obtain the settings that mojo_system passes on | 32 # Targets that (a) need to obtain the settings that mojo_system passes on |
| 33 # to its direct dependents but (b) are not themselves in a position to | 33 # to its direct dependents but (b) are not themselves in a position to |
| 34 # hardcode a dependency to mojo_system vs. mojo_system_impl (e.g., | 34 # hardcode a dependency to mojo_system vs. mojo_system_impl (e.g., |
| 35 # because they are components) should depend on this target. | 35 # because they are components) should depend on this target. |
| 36 'target_name': 'mojo_system_placeholder', | 36 'target_name': 'mojo_system_placeholder', |
| 37 'type': 'none', | 37 'type': 'none', |
| 38 }, | 38 }, |
| 39 { | 39 { |
| 40 # GN version: //mojo/public/c/system | |
| 41 'target_name': 'mojo_system', | 40 'target_name': 'mojo_system', |
| 42 'type': 'static_library', | 41 'type': 'static_library', |
| 43 'defines': [ | 42 'defines': [ |
| 44 'MOJO_SYSTEM_IMPLEMENTATION', | 43 'MOJO_SYSTEM_IMPLEMENTATION', |
| 45 ], | 44 ], |
| 46 'all_dependent_settings': { | 45 'all_dependent_settings': { |
| 47 'conditions': [ | 46 'conditions': [ |
| 48 # We need to be able to call the MojoSetSystemThunks() function in | 47 # We need to be able to call the MojoSetSystemThunks() function in |
| 49 # system_thunks.cc | 48 # system_thunks.cc |
| 50 ['OS=="android"', { | 49 ['OS=="android"', { |
| 51 'ldflags!': [ | 50 'ldflags!': [ |
| 52 '-Wl,--exclude-libs=ALL', | 51 '-Wl,--exclude-libs=ALL', |
| 53 ], | 52 ], |
| 54 }], | 53 }], |
| 55 ], | 54 ], |
| 56 }, | 55 }, |
| 57 'sources': [ | 56 'sources': [ |
| 57 'src/mojo/public/platform/native/system_thunks.cc', |
| 58 'src/mojo/public/platform/native/system_thunks.h', |
| 59 ], |
| 60 'dependencies': [ |
| 61 'mojo_system_headers', |
| 62 ], |
| 63 }, |
| 64 { |
| 65 # GN version: //mojo/public/c/system |
| 66 'target_name': 'mojo_system_headers', |
| 67 'type': 'none', |
| 68 'sources': [ |
| 58 'src/mojo/public/c/system/buffer.h', | 69 'src/mojo/public/c/system/buffer.h', |
| 59 'src/mojo/public/c/system/core.h', | 70 'src/mojo/public/c/system/core.h', |
| 60 'src/mojo/public/c/system/data_pipe.h', | 71 'src/mojo/public/c/system/data_pipe.h', |
| 61 'src/mojo/public/c/system/functions.h', | 72 'src/mojo/public/c/system/functions.h', |
| 62 'src/mojo/public/c/system/macros.h', | 73 'src/mojo/public/c/system/macros.h', |
| 63 'src/mojo/public/c/system/message_pipe.h', | 74 'src/mojo/public/c/system/message_pipe.h', |
| 64 'src/mojo/public/c/system/system_export.h', | 75 'src/mojo/public/c/system/system_export.h', |
| 65 'src/mojo/public/c/system/types.h', | 76 'src/mojo/public/c/system/types.h', |
| 66 'src/mojo/public/platform/native/system_thunks.cc', | |
| 67 'src/mojo/public/platform/native/system_thunks.h', | |
| 68 ], | 77 ], |
| 69 }, | 78 }, |
| 70 { | 79 { |
| 80 # GN version: //mojo/public/cpp/system |
| 81 'target_name': 'mojo_system_cpp_headers', |
| 82 'type': 'none', |
| 83 'sources': [ |
| 84 'src/mojo/public/cpp/system/buffer.h', |
| 85 'src/mojo/public/cpp/system/core.h', |
| 86 'src/mojo/public/cpp/system/data_pipe.h', |
| 87 'src/mojo/public/cpp/system/functions.h', |
| 88 'src/mojo/public/cpp/system/handle.h', |
| 89 'src/mojo/public/cpp/system/macros.h', |
| 90 'src/mojo/public/cpp/system/message_pipe.h', |
| 91 ], |
| 92 'dependencies': [ |
| 93 'mojo_system_headers', |
| 94 ], |
| 95 }, |
| 96 { |
| 71 # GN version: //mojo/public/cpp/bindings | 97 # GN version: //mojo/public/cpp/bindings |
| 72 'target_name': 'mojo_cpp_bindings', | 98 'target_name': 'mojo_cpp_bindings', |
| 73 'type': 'static_library', | 99 'type': 'static_library', |
| 74 'include_dirs': [ | 100 'include_dirs': [ |
| 75 '../..' | 101 '../..' |
| 76 ], | 102 ], |
| 77 'sources': [ | 103 'sources': [ |
| 78 'src/mojo/public/cpp/bindings/array.h', | 104 'src/mojo/public/cpp/bindings/array.h', |
| 79 'src/mojo/public/cpp/bindings/binding.h', | 105 'src/mojo/public/cpp/bindings/binding.h', |
| 80 'src/mojo/public/cpp/bindings/callback.h', | 106 'src/mojo/public/cpp/bindings/callback.h', |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 'dependencies': [ | 391 'dependencies': [ |
| 366 'mojo_interface_bindings_java_sources', | 392 'mojo_interface_bindings_java_sources', |
| 367 'mojo_public_java', | 393 'mojo_public_java', |
| 368 ], | 394 ], |
| 369 'includes': [ '../../build/java.gypi' ], | 395 'includes': [ '../../build/java.gypi' ], |
| 370 }, | 396 }, |
| 371 ], | 397 ], |
| 372 }], | 398 }], |
| 373 ], | 399 ], |
| 374 } | 400 } |
| OLD | NEW |