diff options
Diffstat (limited to 'chromium/win8/win8.gyp')
-rw-r--r-- | chromium/win8/win8.gyp | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/chromium/win8/win8.gyp b/chromium/win8/win8.gyp new file mode 100644 index 00000000000..00bfa3bc663 --- /dev/null +++ b/chromium/win8/win8.gyp @@ -0,0 +1,101 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../build/win_precompile.gypi', + ], + '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', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + '../ipc/ipc.gyp:ipc', + '../ui/aura/aura.gyp:aura', + '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages', + ], + 'sources': [ + 'viewer/metro_viewer_constants.cc', + 'viewer/metro_viewer_constants.h', + 'viewer/metro_viewer_process_host.cc', + 'viewer/metro_viewer_process_host.h', + ], + }, + { + 'target_name': 'test_support_win8', + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base', + 'test_registrar_constants', + ], + 'sources': [ + 'test/metro_registration_helper.cc', + 'test/metro_registration_helper.h', + 'test/open_with_dialog_async.cc', + 'test/open_with_dialog_async.h', + 'test/open_with_dialog_controller.cc', + 'test/open_with_dialog_controller.h', + 'test/ui_automation_client.cc', + 'test/ui_automation_client.h', + ], + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [ 4267, ], + }, + { + 'target_name': 'test_registrar_constants', + 'type': 'static_library', + 'include_dirs': [ + '..', + ], + 'sources': [ + 'test/test_registrar_constants.cc', + 'test/test_registrar_constants.h', + ], + }, + ], +} |