| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 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. | |
| 4 { | |
| 5 'conditions': [ | |
| 6 ['OS=="win"', { | |
| 7 'variables': { | |
| 8 'chromium_code': 1, | |
| 9 }, | |
| 10 'includes': [ | |
| 11 '../../build/util/version.gypi', | |
| 12 '../../build/win_precompile.gypi', | |
| 13 ], | |
| 14 'target_defaults': { | |
| 15 'msvs_settings': { | |
| 16 'VCLinkerTool': { | |
| 17 'AdditionalDependencies': [ | |
| 18 'D2D1.lib', | |
| 19 'D3D11.lib', | |
| 20 'runtimeobject.lib', | |
| 21 ], | |
| 22 'DelayLoadDLLs': [ | |
| 23 'API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL', | |
| 24 'API-MS-WIN-CORE-WINRT-L1-1-0.DLL', | |
| 25 'API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL', | |
| 26 ], | |
| 27 }, | |
| 28 }, | |
| 29 }, | |
| 30 'targets': [ | |
| 31 { | |
| 32 # GN version: //win8/metro_driver:version_resources | |
| 33 'target_name': 'metro_driver_version_resources', | |
| 34 'type': 'none', | |
| 35 'variables': { | |
| 36 'output_dir': 'metro_driver', | |
| 37 'branding_path': '../../chrome/app/theme/<(branding_path_component)/
BRANDING', | |
| 38 'template_input_path': '../../chrome/app/chrome_version.rc.version', | |
| 39 }, | |
| 40 'sources': [ | |
| 41 'metro_driver_dll.ver', | |
| 42 ], | |
| 43 'includes': [ | |
| 44 '../../chrome/version_resource_rules.gypi', | |
| 45 ], | |
| 46 }, | |
| 47 { | |
| 48 # GN version: //win8/metro_driver | |
| 49 'target_name': 'metro_driver', | |
| 50 'type': 'shared_library', | |
| 51 'dependencies': [ | |
| 52 '../../base/base.gyp:base', | |
| 53 '../../chrome/common_constants.gyp:common_constants', | |
| 54 '../../chrome/chrome.gyp:installer_util', | |
| 55 '../../crypto/crypto.gyp:crypto', | |
| 56 '../../ipc/ipc.gyp:ipc', | |
| 57 '../../sandbox/sandbox.gyp:sandbox', | |
| 58 '../../ui/events/events.gyp:events', | |
| 59 '../../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages', | |
| 60 '../../ui/gfx/gfx.gyp:gfx', | |
| 61 '../../ui/gfx/gfx.gyp:gfx_geometry', | |
| 62 '../../url/url.gyp:url_lib', | |
| 63 'metro_driver_version_resources', | |
| 64 ], | |
| 65 'sources': [ | |
| 66 'display_properties.cc', | |
| 67 'display_properties.h', | |
| 68 'stdafx.h', | |
| 69 'winrt_utils.cc', | |
| 70 'winrt_utils.h', | |
| 71 '<(SHARED_INTERMEDIATE_DIR)/metro_driver/metro_driver_dll_version.rc
', | |
| 72 ], | |
| 73 'conditions': [ | |
| 74 ['use_aura==1', { | |
| 75 'sources': [ | |
| 76 'direct3d_helper.cc', | |
| 77 'direct3d_helper.h', | |
| 78 ], | |
| 79 'includes': [ | |
| 80 'ime/ime.gypi', | |
| 81 ], | |
| 82 }, { # use_aura!=1 | |
| 83 'sources': [ | |
| 84 'chrome_app_view.cc', | |
| 85 'chrome_app_view.h', | |
| 86 'chrome_url_launch_handler.cc', | |
| 87 'chrome_url_launch_handler.h', | |
| 88 'devices_handler.cc', | |
| 89 'devices_handler.h', | |
| 90 'metro_dialog_box.cc', | |
| 91 'metro_dialog_box.h', | |
| 92 'print_document_source.cc', | |
| 93 'print_document_source.h', | |
| 94 'print_handler.cc', | |
| 95 'print_handler.h', | |
| 96 'secondary_tile.cc', | |
| 97 'secondary_tile.h', | |
| 98 'settings_handler.cc', | |
| 99 'settings_handler.h', | |
| 100 'toast_notification_handler.cc', | |
| 101 'toast_notification_handler.h', | |
| 102 ], | |
| 103 }], | |
| 104 ], | |
| 105 }, | |
| 106 { | |
| 107 # GN version: //win8/metro_driver:metro_driver_unittests | |
| 108 'target_name': 'metro_driver_unittests', | |
| 109 'type': 'executable', | |
| 110 'dependencies': [ | |
| 111 '../../base/base.gyp:base', | |
| 112 '../../chrome/chrome.gyp:installer_util', | |
| 113 '../../testing/gtest.gyp:gtest', | |
| 114 'metro_driver', | |
| 115 ], | |
| 116 'sources': [ | |
| 117 'run_all_unittests.cc', | |
| 118 'winrt_utils.cc', | |
| 119 'winrt_utils.h', | |
| 120 'winrt_utils_unittest.cc', | |
| 121 ], | |
| 122 }, | |
| 123 ], | |
| 124 },], | |
| 125 ], | |
| 126 } | |
| OLD | NEW |