| 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 # GN version: //mojo/edk/system | 11 # GN version: //mojo/edk/system |
| 12 'target_name': 'mojo_system_impl', | 12 'target_name': 'mojo_system_impl', |
| 13 'type': '<(component)', | 13 'type': '<(component)', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 '../../base/base.gyp:base', | 15 '../base/base.gyp:base', |
| 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 17 ], | 17 ], |
| 18 'includes': [ | 18 'includes': [ |
| 19 'mojo_edk_system_impl.gypi', | 19 'mojo_edk_system_impl.gypi', |
| 20 ], | 20 ], |
| 21 }, | 21 }, |
| 22 { | 22 { |
| 23 # GN version: //mojo/edk/js | 23 # GN version: //mojo/edk/js |
| 24 'target_name': 'mojo_js_lib', | 24 'target_name': 'mojo_js_lib', |
| 25 'type': 'static_library', | 25 'type': 'static_library', |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 '../../base/base.gyp:base', | 27 '../base/base.gyp:base', |
| 28 '../../gin/gin.gyp:gin', | 28 '../gin/gin.gyp:gin', |
| 29 '../../v8/tools/gyp/v8.gyp:v8', | 29 '../v8/tools/gyp/v8.gyp:v8', |
| 30 ], | 30 ], |
| 31 'export_dependent_settings': [ | 31 'export_dependent_settings': [ |
| 32 '../../base/base.gyp:base', | 32 '../base/base.gyp:base', |
| 33 '../../gin/gin.gyp:gin', | 33 '../gin/gin.gyp:gin', |
| 34 ], | 34 ], |
| 35 'sources': [ | 35 'sources': [ |
| 36 # Sources list duplicated in GN build. | 36 # Sources list duplicated in GN build. |
| 37 'js/core.cc', | 37 'edk/js/core.cc', |
| 38 'js/core.h', | 38 'edk/js/core.h', |
| 39 'js/drain_data.cc', | 39 'edk/js/drain_data.cc', |
| 40 'js/drain_data.h', | 40 'edk/js/drain_data.h', |
| 41 'js/handle.cc', | 41 'edk/js/handle.cc', |
| 42 'js/handle.h', | 42 'edk/js/handle.h', |
| 43 'js/handle_close_observer.h', | 43 'edk/js/handle_close_observer.h', |
| 44 'js/mojo_runner_delegate.cc', | 44 'edk/js/mojo_runner_delegate.cc', |
| 45 'js/mojo_runner_delegate.h', | 45 'edk/js/mojo_runner_delegate.h', |
| 46 'js/support.cc', | 46 'edk/js/support.cc', |
| 47 'js/support.h', | 47 'edk/js/support.h', |
| 48 'js/threading.cc', | 48 'edk/js/threading.cc', |
| 49 'js/threading.h', | 49 'edk/js/threading.h', |
| 50 'js/waiting_callback.cc', | 50 'edk/js/waiting_callback.cc', |
| 51 'js/waiting_callback.h', | 51 'edk/js/waiting_callback.h', |
| 52 ], | 52 ], |
| 53 }, | 53 }, |
| 54 { | 54 { |
| 55 # GN version: //mojo/edk/test:test_support_impl | 55 # GN version: //mojo/edk/test:test_support_impl |
| 56 'target_name': 'mojo_test_support_impl', | 56 'target_name': 'mojo_test_support_impl', |
| 57 'type': 'static_library', | 57 'type': 'static_library', |
| 58 'dependencies': [ | 58 'dependencies': [ |
| 59 '../../base/base.gyp:base', | 59 '../base/base.gyp:base', |
| 60 ], | 60 ], |
| 61 'sources': [ | 61 'sources': [ |
| 62 'test/test_support_impl.cc', | 62 'edk/test/test_support_impl.cc', |
| 63 'test/test_support_impl.h', | 63 'edk/test/test_support_impl.h', |
| 64 ], | 64 ], |
| 65 }, | 65 }, |
| 66 { | 66 { |
| 67 # GN version: //mojo/edk/test:test_support | 67 # GN version: //mojo/edk/test:test_support |
| 68 'target_name': 'mojo_common_test_support', | 68 'target_name': 'mojo_common_test_support', |
| 69 'type': 'static_library', | 69 'type': 'static_library', |
| 70 'dependencies': [ | 70 'dependencies': [ |
| 71 '../../base/base.gyp:base', | 71 '../base/base.gyp:base', |
| 72 '../../base/base.gyp:test_support_base', | 72 '../base/base.gyp:test_support_base', |
| 73 '../../testing/gtest.gyp:gtest', | 73 '../testing/gtest.gyp:gtest', |
| 74 'mojo_system_impl', | 74 'mojo_system_impl', |
| 75 ], | 75 ], |
| 76 'sources': [ | 76 'sources': [ |
| 77 'test/multiprocess_test_helper.cc', | 77 'edk/test/multiprocess_test_helper.cc', |
| 78 'test/multiprocess_test_helper.h', | 78 'edk/test/multiprocess_test_helper.h', |
| 79 'test/test_utils.h', | 79 'edk/test/test_utils.h', |
| 80 'test/test_utils_posix.cc', | 80 'edk/test/test_utils_posix.cc', |
| 81 'test/test_utils_win.cc', | 81 'edk/test/test_utils_win.cc', |
| 82 ], | 82 ], |
| 83 'conditions': [ | 83 'conditions': [ |
| 84 ['OS=="ios"', { | 84 ['OS=="ios"', { |
| 85 'sources!': [ | 85 'sources!': [ |
| 86 'test/multiprocess_test_helper.cc', | 86 'edk/test/multiprocess_test_helper.cc', |
| 87 ], | 87 ], |
| 88 }], | 88 }], |
| 89 ], | 89 ], |
| 90 }, | 90 }, |
| 91 { | 91 { |
| 92 # GN version: //mojo/edk/test:run_all_unittests | 92 # GN version: //mojo/edk/test:run_all_unittests |
| 93 'target_name': 'mojo_run_all_unittests', | 93 'target_name': 'mojo_run_all_unittests', |
| 94 'type': 'static_library', | 94 'type': 'static_library', |
| 95 'dependencies': [ | 95 'dependencies': [ |
| 96 '../../base/base.gyp:base', | 96 '../base/base.gyp:base', |
| 97 '../../base/base.gyp:test_support_base', | 97 '../base/base.gyp:test_support_base', |
| 98 '../../testing/gtest.gyp:gtest', | 98 '../testing/gtest.gyp:gtest', |
| 99 'mojo_system_impl', | 99 'mojo_system_impl', |
| 100 'mojo_public.gyp:mojo_test_support', |
| 100 'mojo_test_support_impl', | 101 'mojo_test_support_impl', |
| 101 '../public/mojo_public.gyp:mojo_test_support', | |
| 102 ], | 102 ], |
| 103 'sources': [ | 103 'sources': [ |
| 104 'test/run_all_unittests.cc', | 104 'edk/test/run_all_unittests.cc', |
| 105 ], | 105 ], |
| 106 }, | 106 }, |
| 107 { | 107 { |
| 108 # GN version: //mojo/edk/test:run_all_perftests | 108 # GN version: //mojo/edk/test:run_all_perftests |
| 109 'target_name': 'mojo_run_all_perftests', | 109 'target_name': 'mojo_run_all_perftests', |
| 110 'type': 'static_library', | 110 'type': 'static_library', |
| 111 'dependencies': [ | 111 'dependencies': [ |
| 112 '../../base/base.gyp:test_support_base', | 112 '../base/base.gyp:test_support_base', |
| 113 'mojo_edk.gyp:mojo_system_impl', | 113 'mojo_edk.gyp:mojo_system_impl', |
| 114 'mojo_public.gyp:mojo_test_support', |
| 114 'mojo_test_support_impl', | 115 'mojo_test_support_impl', |
| 115 '../public/mojo_public.gyp:mojo_test_support', | |
| 116 ], | 116 ], |
| 117 'sources': [ | 117 'sources': [ |
| 118 'test/run_all_perftests.cc', | 118 'edk/test/run_all_perftests.cc', |
| 119 ], | 119 ], |
| 120 }, | 120 }, |
| 121 ], | 121 ], |
| 122 'conditions': [ | 122 'conditions': [ |
| 123 ['OS=="win" and target_arch=="ia32"', { | 123 ['OS=="win" and target_arch=="ia32"', { |
| 124 'targets': [ | 124 'targets': [ |
| 125 { | 125 { |
| 126 'target_name': 'mojo_system_impl_win64', | 126 'target_name': 'mojo_system_impl_win64', |
| 127 'type': '<(component)', | 127 'type': '<(component)', |
| 128 'dependencies': [ | 128 'dependencies': [ |
| 129 '../../base/base.gyp:base_win64', | 129 '../base/base.gyp:base_win64', |
| 130 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:
dynamic_annotations_win64', | 130 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations_win64', |
| 131 ], | 131 ], |
| 132 'includes': [ | 132 'includes': [ |
| 133 'mojo_edk_system_impl.gypi', | 133 'mojo_edk_system_impl.gypi', |
| 134 ], | 134 ], |
| 135 'configurations': { | 135 'configurations': { |
| 136 'Common_Base': { | 136 'Common_Base': { |
| 137 'msvs_target_platform': 'x64', | 137 'msvs_target_platform': 'x64', |
| 138 }, | 138 }, |
| 139 }, | 139 }, |
| 140 }, | 140 }, |
| 141 ], | 141 ], |
| 142 }], | 142 }], |
| 143 ], | 143 ], |
| 144 } | 144 } |
| OLD | NEW |