diff options
Diffstat (limited to 'chromium/win8/win8.gyp')
-rw-r--r-- | chromium/win8/win8.gyp | 46 |
1 files changed, 4 insertions, 42 deletions
diff --git a/chromium/win8/win8.gyp b/chromium/win8/win8.gyp index dc73584f0e3..e1fa5de9818 100644 --- a/chromium/win8/win8.gyp +++ b/chromium/win8/win8.gyp @@ -10,47 +10,6 @@ ], 'targets': [ { - 'target_name': 'check_sdk_patch', - 'type': 'none', - 'variables': { - 'check_sdk_script': 'util/check_sdk_patch.py', - 'output_path': '<(INTERMEDIATE_DIR)/check_sdk_patch', - }, - 'conditions': [ - ['MSVS_VERSION=="2010" or MSVS_VERSION=="2010e"', { - 'actions': [ - { - 'action_name': 'check_sdk_patch_action', - 'inputs': [ - '<(check_sdk_script)', - ], - 'outputs': [ - # This keeps the ninja build happy and provides a slightly - # helpful error message if the sdk is missing. - '<(output_path)' - ], - 'action': ['python', - '<(check_sdk_script)', - '<(windows_sdk_path)', - '<(output_path)', - ], - }, - ], - }], - ], - }, - { - 'target_name': 'win8_util', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - ], - 'sources': [ - 'util/win8_util.cc', - 'util/win8_util.h', - ], - }, - { 'target_name': 'metro_viewer_constants', 'type': 'static_library', 'include_dirs': [ @@ -63,7 +22,7 @@ }, { 'target_name': 'metro_viewer', - 'type': 'static_library', + 'type': '<(component)', 'dependencies': [ '../base/base.gyp:base', '../ipc/ipc.gyp:ipc', @@ -75,6 +34,9 @@ 'viewer/metro_viewer_process_host.cc', 'viewer/metro_viewer_process_host.h', ], + 'defines': [ + 'METRO_VIEWER_IMPLEMENTATION', + ], }, { 'target_name': 'test_support_win8', |