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
3 # found in the LICENSE file.
13 'direct_dependent_settings': {
21 # GN version: //mojo/edk/system
22 'target_name': 'mojo_system_impl',
23 'type': '<(component)',
25 '../../base/base.gyp:base',
26 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
27 '../../crypto/crypto.gyp:crypto',
30 'mojo_edk_system_impl.gypi',
34 # GN version: //mojo/edk/js
35 'target_name': 'mojo_js_lib',
36 'type': 'static_library',
38 '../../base/base.gyp:base',
39 '../../gin/gin.gyp:gin',
40 '../../v8/tools/gyp/v8.gyp:v8',
42 'export_dependent_settings': [
43 '../../base/base.gyp:base',
44 '../../gin/gin.gyp:gin',
47 # Sources list duplicated in GN build.
48 'src/mojo/edk/js/core.cc',
49 'src/mojo/edk/js/core.h',
50 'src/mojo/edk/js/drain_data.cc',
51 'src/mojo/edk/js/drain_data.h',
52 'src/mojo/edk/js/handle.cc',
53 'src/mojo/edk/js/handle.h',
54 'src/mojo/edk/js/handle_close_observer.h',
55 'src/mojo/edk/js/mojo_runner_delegate.cc',
56 'src/mojo/edk/js/mojo_runner_delegate.h',
57 'src/mojo/edk/js/support.cc',
58 'src/mojo/edk/js/support.h',
59 'src/mojo/edk/js/threading.cc',
60 'src/mojo/edk/js/threading.h',
61 'src/mojo/edk/js/waiting_callback.cc',
62 'src/mojo/edk/js/waiting_callback.h',
66 # GN version: //mojo/edk/test:test_support_impl
67 'target_name': 'mojo_test_support_impl',
68 'type': 'static_library',
70 '../../base/base.gyp:base',
73 'src/mojo/edk/test/test_support_impl.cc',
74 'src/mojo/edk/test/test_support_impl.h',
78 # GN version: //mojo/edk/test:test_support
79 'target_name': 'mojo_common_test_support',
80 'type': 'static_library',
82 '../../base/base.gyp:base',
83 '../../base/base.gyp:test_support_base',
84 '../../testing/gtest.gyp:gtest',
88 'src/mojo/edk/test/multiprocess_test_helper.cc',
89 'src/mojo/edk/test/multiprocess_test_helper.h',
90 'src/mojo/edk/test/scoped_ipc_support.cc',
91 'src/mojo/edk/test/scoped_ipc_support.h',
92 'src/mojo/edk/test/test_utils.h',
93 'src/mojo/edk/test/test_utils_posix.cc',
94 'src/mojo/edk/test/test_utils_win.cc',
99 'src/mojo/edk/test/multiprocess_test_helper.cc',
105 # GN version: //mojo/edk/test:run_all_unittests
106 'target_name': 'mojo_run_all_unittests',
107 'type': 'static_library',
109 '../../base/base.gyp:base',
110 '../../base/base.gyp:test_support_base',
111 '../../testing/gtest.gyp:gtest',
113 'mojo_public.gyp:mojo_public_test_support',
114 'mojo_test_support_impl',
117 'src/mojo/edk/test/run_all_unittests.cc',
121 # GN version: //mojo/edk/test:run_all_perftests
122 'target_name': 'mojo_run_all_perftests',
123 'type': 'static_library',
125 '../../base/base.gyp:test_support_base',
126 'mojo_edk.gyp:mojo_system_impl',
127 'mojo_public.gyp:mojo_public_test_support',
128 'mojo_test_support_impl',
131 'src/mojo/edk/test/run_all_perftests.cc',
136 ['OS=="win" and target_arch=="ia32"', {
139 'target_name': 'mojo_system_impl_win64',
140 'type': '<(component)',
142 '../../base/base.gyp:base_win64',
143 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64',
144 '../../crypto/crypto.gyp:crypto_nacl_win64',
147 'mojo_edk_system_impl.gypi',
151 'msvs_target_platform': 'x64',