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" and (MSVS_VERSION=="2010" or MSVS_VERSION=="2010e")', { |
| 7 'variables': { |
| 8 'chromium_code': 1, |
| 9 }, |
| 10 'includes': [ |
| 11 '../../build/win_precompile.gypi', |
| 12 ], |
| 13 'target_defaults': { |
| 14 'defines': [ |
| 15 # This define is required to pull in the new Win8 interfaces from |
| 16 # system headers like ShObjIdl.h |
| 17 'NTDDI_VERSION=0x06020000', |
| 18 ], |
| 19 'msvs_settings': { |
| 20 'VCLinkerTool': { |
| 21 'AdditionalDependencies': [ |
| 22 'D2D1.lib', |
| 23 'D3D11.lib', |
| 24 ], |
| 25 }, |
| 26 }, |
| 27 }, |
| 28 'targets': [ |
| 29 { |
| 30 'target_name': 'metro_driver', |
| 31 'type': 'shared_library', |
| 32 'dependencies': [ |
| 33 '../../base/base.gyp:base', |
| 34 '../../crypto/crypto.gyp:crypto', |
| 35 '../../sandbox/sandbox.gyp:sandbox', |
| 36 '../../google_update/google_update.gyp:google_update', |
| 37 '../win8.gyp:check_sdk_patch', |
| 38 ], |
| 39 'sources': [ |
| 40 'chrome_app_view.cc', |
| 41 'chrome_app_view.h', |
| 42 'chrome_url_launch_handler.cc', |
| 43 'chrome_url_launch_handler.h', |
| 44 '../delegate_execute/chrome_util.cc', |
| 45 '../win8/delegate_execute/chrome_util.h', |
| 46 'devices_handler.cc', |
| 47 'devices_handler.h', |
| 48 'file_picker.h', |
| 49 'file_picker.cc', |
| 50 'metro_dialog_box.cc', |
| 51 'metro_dialog_box.h', |
| 52 'metro_driver.cc', |
| 53 'print_handler.cc', |
| 54 'print_handler.h', |
| 55 'print_document_source.cc', |
| 56 'print_document_source.h', |
| 57 'secondary_tile.h', |
| 58 'secondary_tile.cc', |
| 59 'settings_handler.cc', |
| 60 'settings_handler.h', |
| 61 'stdafx.h', |
| 62 'toast_notification_handler.cc', |
| 63 'toast_notification_handler.h', |
| 64 'winrt_utils.cc', |
| 65 'winrt_utils.h', |
| 66 ], |
| 67 'copies': [ |
| 68 { |
| 69 'destination': '<(PRODUCT_DIR)', |
| 70 'files': [ |
| 71 'resources/Logo.png', |
| 72 'resources/SecondaryTile.png', |
| 73 'resources/SmallLogo.png', |
| 74 'resources/splash-620x300.png', |
| 75 'resources/VisualElementsManifest.xml', |
| 76 ], |
| 77 }, |
| 78 ], |
| 79 }, |
| 80 { |
| 81 'target_name': 'metro_driver_unittests', |
| 82 'type': 'executable', |
| 83 'dependencies': [ |
| 84 '../../base/base.gyp:base', |
| 85 '../../testing/gtest.gyp:gtest', |
| 86 'metro_driver', |
| 87 ], |
| 88 'sources': [ |
| 89 'run_all_unittests.cc', |
| 90 'winrt_utils.cc', |
| 91 'winrt_utils.h', |
| 92 'winrt_utils_unittest.cc', |
| 93 ], |
| 94 }, |
| 95 ], |
| 96 },], |
| 97 ], |
| 98 } |
OLD | NEW |