| 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 # This turns on e.g. the filename-based detection of which |
| 8 # platforms to include source files on (e.g. files ending in |
| 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
| 10 'chromium_code': 1, |
| 11 }, |
| 6 'targets': [ | 12 'targets': [ |
| 7 { | 13 { |
| 8 # GN version: //components/test_runner:test_runner | 14 # GN version: //components/test_runner:test_runner |
| 9 'target_name': 'test_runner', | 15 'target_name': 'test_runner', |
| 10 'type': 'static_library', | 16 'type': '<(component)', |
| 11 'variables': { | 17 'defines': [ |
| 12 'chromium_code': 1, | 18 'TEST_RUNNER_IMPLEMENTATION', |
| 13 }, | 19 ], |
| 14 'dependencies': [ | 20 'dependencies': [ |
| 15 'resources', | 21 'resources', |
| 16 '../../base/base.gyp:base', | 22 '../../base/base.gyp:base', |
| 17 '../../base/base.gyp:base_static', | |
| 18 '../../cc/cc.gyp:cc', | 23 '../../cc/cc.gyp:cc', |
| 19 '../../gin/gin.gyp:gin', | 24 '../../gin/gin.gyp:gin', |
| 25 '../../gpu/gpu.gyp:gpu', |
| 20 '../../skia/skia.gyp:skia', | 26 '../../skia/skia.gyp:skia', |
| 21 '../../third_party/WebKit/public/blink.gyp:blink', | 27 '../../third_party/WebKit/public/blink.gyp:blink', |
| 28 '../../ui/events/events.gyp:dom_keycode_converter', |
| 22 '../../ui/events/events.gyp:events_base', | 29 '../../ui/events/events.gyp:events_base', |
| 23 '../../ui/gfx/gfx.gyp:gfx', | 30 '../../ui/gfx/gfx.gyp:gfx', |
| 24 '../../ui/gfx/gfx.gyp:gfx_geometry', | 31 '../../ui/gfx/gfx.gyp:gfx_geometry', |
| 32 '../../url/url.gyp:url_lib', |
| 25 '../../v8/tools/gyp/v8.gyp:v8', | 33 '../../v8/tools/gyp/v8.gyp:v8', |
| 26 ], | 34 ], |
| 27 'include_dirs': [ | 35 'include_dirs': [ |
| 28 '..', | 36 '..', |
| 29 ], | 37 ], |
| 30 # Note: sources list duplicated in GN build. | 38 # Note: sources list duplicated in GN build. |
| 31 'sources': [ | 39 'sources': [ |
| 32 'accessibility_controller.cc', | 40 'accessibility_controller.cc', |
| 33 'accessibility_controller.h', | 41 'accessibility_controller.h', |
| 34 'app_banner_client.cc', | 42 'app_banner_client.cc', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 'spell_check_client.cc', | 78 'spell_check_client.cc', |
| 71 'spell_check_client.h', | 79 'spell_check_client.h', |
| 72 'test_common.cc', | 80 'test_common.cc', |
| 73 'test_common.h', | 81 'test_common.h', |
| 74 'test_interfaces.cc', | 82 'test_interfaces.cc', |
| 75 'test_interfaces.h', | 83 'test_interfaces.h', |
| 76 'test_plugin.cc', | 84 'test_plugin.cc', |
| 77 'test_plugin.h', | 85 'test_plugin.h', |
| 78 'test_runner.cc', | 86 'test_runner.cc', |
| 79 'test_runner.h', | 87 'test_runner.h', |
| 88 'test_runner_export.h', |
| 80 'test_preferences.cc', | 89 'test_preferences.cc', |
| 81 'test_preferences.h', | 90 'test_preferences.h', |
| 82 'text_input_controller.cc', | 91 'text_input_controller.cc', |
| 83 'text_input_controller.h', | 92 'text_input_controller.h', |
| 84 'web_ax_object_proxy.cc', | 93 'web_ax_object_proxy.cc', |
| 85 'web_ax_object_proxy.h', | 94 'web_ax_object_proxy.h', |
| 86 'web_content_settings.cc', | 95 'web_content_settings.cc', |
| 87 'web_content_settings.h', | 96 'web_content_settings.h', |
| 88 'web_frame_test_proxy.h', | 97 'web_frame_test_proxy.h', |
| 89 'web_task.cc', | 98 'web_task.cc', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 ], | 175 ], |
| 167 }, | 176 }, |
| 168 ], | 177 ], |
| 169 'conditions': [ | 178 'conditions': [ |
| 170 ['OS=="mac" or OS=="win"', { | 179 ['OS=="mac" or OS=="win"', { |
| 171 'targets': [ | 180 'targets': [ |
| 172 { | 181 { |
| 173 # GN version: //components/test_runner:layout_test_helper | 182 # GN version: //components/test_runner:layout_test_helper |
| 174 'target_name': 'layout_test_helper', | 183 'target_name': 'layout_test_helper', |
| 175 'type': 'executable', | 184 'type': 'executable', |
| 176 'variables': { | |
| 177 'chromium_code': 1, | |
| 178 }, | |
| 179 'sources': [ | 185 'sources': [ |
| 180 'helper/layout_test_helper_mac.mm', | 186 'helper/layout_test_helper_mac.mm', |
| 181 'helper/layout_test_helper_win.cc', | 187 'helper/layout_test_helper_win.cc', |
| 182 ], | 188 ], |
| 183 'conditions': [ | 189 'conditions': [ |
| 184 ['OS=="mac"', { | 190 ['OS=="mac"', { |
| 185 'link_settings': { | 191 'link_settings': { |
| 186 'libraries': [ | 192 'libraries': [ |
| 187 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 193 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 188 ], | 194 ], |
| 189 }, | 195 }, |
| 190 }], | 196 }], |
| 191 ], | 197 ], |
| 192 }, | 198 }, |
| 193 ], | 199 ], |
| 194 }], # OS=="mac" or OS=="win" | 200 }], # OS=="mac" or OS=="win" |
| 195 ] | 201 ] |
| 196 } | 202 } |
| OLD | NEW |