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 '<(DEPTH)/base/base.gyp:base', |
| 34 '<(DEPTH)/crypto/crypto.gyp:crypto', |
| 35 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
| 36 '<(DEPTH)/google_update/google_update.gyp:google_update', |
| 37 ], |
| 38 'sources': [ |
| 39 'chrome_app_view.cc', |
| 40 'chrome_app_view.h', |
| 41 'chrome_url_launch_handler.cc', |
| 42 'chrome_url_launch_handler.h', |
| 43 '<(DEPTH)/win8/delegate_execute/chrome_util.cc', |
| 44 '<(DEPTH)/win8/delegate_execute/chrome_util.h', |
| 45 'devices_handler.cc', |
| 46 'devices_handler.h', |
| 47 'file_picker.h', |
| 48 'file_picker.cc', |
| 49 'metro_dialog_box.cc', |
| 50 'metro_dialog_box.h', |
| 51 'metro_driver.cc', |
| 52 'print_handler.cc', |
| 53 'print_handler.h', |
| 54 'print_document_source.cc', |
| 55 'print_document_source.h', |
| 56 'secondary_tile.h', |
| 57 'secondary_tile.cc', |
| 58 'settings_handler.cc', |
| 59 'settings_handler.h', |
| 60 'stdafx.h', |
| 61 'toast_notification_handler.cc', |
| 62 'toast_notification_handler.h', |
| 63 'winrt_utils.cc', |
| 64 'winrt_utils.h', |
| 65 ], |
| 66 'copies': [ |
| 67 { |
| 68 'destination': '<(PRODUCT_DIR)', |
| 69 'files': [ |
| 70 'resources/Logo.png', |
| 71 'resources/SecondaryTile.png', |
| 72 'resources/SmallLogo.png', |
| 73 'resources/splash-620x300.png', |
| 74 'resources/VisualElementsManifest.xml', |
| 75 ], |
| 76 }, |
| 77 ], |
| 78 }, |
| 79 { |
| 80 'target_name': 'metro_driver_unittests', |
| 81 'type': 'executable', |
| 82 'dependencies': [ |
| 83 '<(DEPTH)/base/base.gyp:base', |
| 84 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 85 'metro_driver', |
| 86 ], |
| 87 'sources': [ |
| 88 'run_all_unittests.cc', |
| 89 'winrt_utils.cc', |
| 90 'winrt_utils.h', |
| 91 'winrt_utils_unittest.cc', |
| 92 ], |
| 93 }, |
| 94 ], |
| 95 },], |
| 96 ], |
| 97 } |
OLD | NEW |