| 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 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 6 'includes': [ | 9 'includes': [ |
| 7 '../build/common_untrusted.gypi', | 10 '../build/common_untrusted.gypi', |
| 8 'mojo_variables.gypi', | |
| 9 ], | 11 ], |
| 10 'target_defaults' : { | 12 'target_defaults' : { |
| 11 'include_dirs': [ | 13 'include_dirs': [ |
| 12 '..', | 14 '..', |
| 13 ], | 15 ], |
| 14 }, | 16 }, |
| 15 'targets': [ | 17 'targets': [ |
| 16 { | 18 { |
| 17 # GN version: //mojo/edk/system | 19 # GN version: //mojo/edk/system |
| 18 'target_name': 'mojo_system_impl_nacl', | 20 'target_name': 'mojo_system_impl_nacl', |
| 19 'type': 'none', | 21 'type': 'none', |
| 20 'variables': { | 22 'variables': { |
| 21 'nacl_untrusted_build': 1, | 23 'nacl_untrusted_build': 1, |
| 22 'nlib_target': 'libmojo_system_impl_nacl.a', | 24 'nlib_target': 'libmojo_system_impl_nacl.a', |
| 23 'build_glibc': 0, | 25 'build_glibc': 0, |
| 24 'build_newlib': 0, | 26 'build_newlib': 0, |
| 25 'build_irt': 1, | 27 'build_irt': 1, |
| 26 'build_pnacl_newlib': 0, | 28 'build_pnacl_newlib': 0, |
| 27 'build_nonsfi_helper': 1, | 29 'build_nonsfi_helper': 1, |
| 28 }, | 30 }, |
| 29 'dependencies': [ | 31 'dependencies': [ |
| 30 '../base/base_nacl.gyp:base_nacl', | 32 '../base/base_nacl.gyp:base_nacl', |
| 31 '../base/base_nacl.gyp:base_nacl_nonsfi', | 33 '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 34 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 33 'mojo_public.gyp:mojo_system_headers', | 35 'mojo_public.gyp:mojo_public_system', |
| 34 ], | 36 ], |
| 35 'defines': [ | 37 'defines': [ |
| 36 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 38 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 37 'MOJO_SYSTEM_IMPLEMENTATION', | |
| 38 'MOJO_USE_SYSTEM_IMPL', | |
| 39 ], | 39 ], |
| 40 'sources': [ | 40 'sources': [ |
| 41 'edk/embedder/configuration.h', | 41 'edk/embedder/configuration.h', |
| 42 'edk/embedder/embedder.cc', | 42 'edk/embedder/embedder.cc', |
| 43 'edk/embedder/embedder.h', | 43 'edk/embedder/embedder.h', |
| 44 'edk/embedder/embedder_internal.h', | 44 'edk/embedder/embedder_internal.h', |
| 45 'edk/embedder/entrypoints.cc', | 45 'edk/embedder/entrypoints.cc', |
| 46 'edk/embedder/platform_channel_pair.cc', | 46 'edk/embedder/platform_channel_pair.cc', |
| 47 'edk/embedder/platform_channel_pair.h', | 47 'edk/embedder/platform_channel_pair.h', |
| 48 'edk/embedder/platform_channel_pair_posix.cc', | 48 'edk/embedder/platform_channel_pair_posix.cc', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 'edk/system/watcher.h', | 119 'edk/system/watcher.h', |
| 120 'edk/system/watcher_set.cc', | 120 'edk/system/watcher_set.cc', |
| 121 'edk/system/watcher_set.h', | 121 'edk/system/watcher_set.h', |
| 122 # Test-only code: | 122 # Test-only code: |
| 123 # TODO(vtl): It's a little unfortunate that these end up in the same | 123 # TODO(vtl): It's a little unfortunate that these end up in the same |
| 124 # component as non-test-only code. In the static build, this code | 124 # component as non-test-only code. In the static build, this code |
| 125 # should hopefully be dead-stripped. | 125 # should hopefully be dead-stripped. |
| 126 'edk/embedder/test_embedder.cc', | 126 'edk/embedder/test_embedder.cc', |
| 127 'edk/embedder/test_embedder.h', | 127 'edk/embedder/test_embedder.h', |
| 128 ], | 128 ], |
| 129 'all_dependent_settings': { | |
| 130 # Ensures that dependent projects import the core functions on Windows. | |
| 131 'defines': ['MOJO_USE_SYSTEM_IMPL'], | |
| 132 }, | |
| 133 }, | 129 }, |
| 134 ], | 130 ], |
| 135 } | 131 } |
| OLD | NEW |