| OLD | NEW |
| 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 { | 5 { |
| 6 'includes': [ | 6 'variables': { |
| 7 'mojo_variables.gypi', | 7 'chromium_code': 1, |
| 8 ], | 8 }, |
| 9 'target_defaults' : { | 9 'target_defaults' : { |
| 10 'include_dirs': [ | 10 'include_dirs': [ |
| 11 '..', | 11 '..', |
| 12 ], | 12 ], |
| 13 'direct_dependent_settings': { | 13 'direct_dependent_settings': { |
| 14 'include_dirs': [ | 14 'include_dirs': [ |
| 15 '..', | 15 '..', |
| 16 ], | 16 ], |
| 17 }, | 17 }, |
| 18 }, | 18 }, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 47 ], | 47 ], |
| 48 }, | 48 }, |
| 49 { | 49 { |
| 50 # GN version: //mojo/edk/system | 50 # GN version: //mojo/edk/system |
| 51 'target_name': 'mojo_system_impl', | 51 'target_name': 'mojo_system_impl', |
| 52 'type': '<(component)', | 52 'type': '<(component)', |
| 53 'dependencies': [ | 53 'dependencies': [ |
| 54 '../base/base.gyp:base', | 54 '../base/base.gyp:base', |
| 55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 56 '../crypto/crypto.gyp:crypto', | 56 '../crypto/crypto.gyp:crypto', |
| 57 'mojo_public.gyp:mojo_system_headers', | 57 'mojo_public.gyp:mojo_public_system', |
| 58 'mojo_system_ports', | 58 'mojo_system_ports', |
| 59 ], | 59 ], |
| 60 'defines': [ | 60 'defines': [ |
| 61 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 61 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 62 'MOJO_SYSTEM_IMPLEMENTATION', | |
| 63 'MOJO_USE_SYSTEM_IMPL', | |
| 64 ], | 62 ], |
| 65 'sources': [ | 63 'sources': [ |
| 66 'edk/embedder/configuration.h', | 64 'edk/embedder/configuration.h', |
| 67 'edk/embedder/embedder.cc', | 65 'edk/embedder/embedder.cc', |
| 68 'edk/embedder/embedder.h', | 66 'edk/embedder/embedder.h', |
| 69 'edk/embedder/embedder_internal.h', | 67 'edk/embedder/embedder_internal.h', |
| 70 'edk/embedder/entrypoints.cc', | 68 'edk/embedder/entrypoints.cc', |
| 71 'edk/embedder/named_platform_channel_pair_win.cc', | 69 'edk/embedder/named_platform_channel_pair_win.cc', |
| 72 'edk/embedder/named_platform_channel_pair_win.h', | 70 'edk/embedder/named_platform_channel_pair_win.h', |
| 73 'edk/embedder/platform_channel_pair.cc', | 71 'edk/embedder/platform_channel_pair.cc', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 'edk/system/watcher.h', | 139 'edk/system/watcher.h', |
| 142 'edk/system/watcher_set.cc', | 140 'edk/system/watcher_set.cc', |
| 143 'edk/system/watcher_set.h', | 141 'edk/system/watcher_set.h', |
| 144 # Test-only code: | 142 # Test-only code: |
| 145 # TODO(vtl): It's a little unfortunate that these end up in the same | 143 # TODO(vtl): It's a little unfortunate that these end up in the same |
| 146 # component as non-test-only code. In the static build, this code | 144 # component as non-test-only code. In the static build, this code |
| 147 # should hopefully be dead-stripped. | 145 # should hopefully be dead-stripped. |
| 148 'edk/embedder/test_embedder.cc', | 146 'edk/embedder/test_embedder.cc', |
| 149 'edk/embedder/test_embedder.h', | 147 'edk/embedder/test_embedder.h', |
| 150 ], | 148 ], |
| 151 'all_dependent_settings': { | |
| 152 # Ensures that dependent projects import the core functions on Windows. | |
| 153 'defines': ['MOJO_USE_SYSTEM_IMPL'], | |
| 154 }, | |
| 155 'conditions': [ | 149 'conditions': [ |
| 156 ['OS=="android"', { | 150 ['OS=="android"', { |
| 157 'dependencies': [ | 151 'dependencies': [ |
| 158 '../third_party/ashmem/ashmem.gyp:ashmem', | 152 '../third_party/ashmem/ashmem.gyp:ashmem', |
| 159 ], | 153 ], |
| 160 }], | 154 }], |
| 161 ['OS=="win"', { | 155 ['OS=="win"', { |
| 162 # Structure was padded due to __declspec(align()), which is | 156 # Structure was padded due to __declspec(align()), which is |
| 163 # uninteresting. | 157 # uninteresting. |
| 164 'msvs_disabled_warnings': [ 4324 ], | 158 'msvs_disabled_warnings': [ 4324 ], |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 'mojo_public.gyp:mojo_public_test_support', | 267 'mojo_public.gyp:mojo_public_test_support', |
| 274 'mojo_system_impl', | 268 'mojo_system_impl', |
| 275 'mojo_test_support_impl', | 269 'mojo_test_support_impl', |
| 276 ], | 270 ], |
| 277 'sources': [ | 271 'sources': [ |
| 278 'edk/test/run_all_perftests.cc', | 272 'edk/test/run_all_perftests.cc', |
| 279 ], | 273 ], |
| 280 }, | 274 }, |
| 281 ], | 275 ], |
| 282 } | 276 } |
| OLD | NEW |