Home | History | Annotate | Download | only in win8
      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   'variables': {
      6     'chromium_code': 1,
      7   },
      8   'includes': [
      9     '../build/win_precompile.gypi',
     10   ],
     11   'targets': [
     12     {
     13       'target_name': 'metro_viewer_constants',
     14       'type': 'static_library',
     15       'include_dirs': [
     16         '..',
     17       ],
     18       'sources': [
     19         'viewer/metro_viewer_constants.cc',
     20         'viewer/metro_viewer_constants.h',
     21       ],
     22     },
     23     {
     24       'target_name': 'metro_viewer',
     25       'type': '<(component)',
     26       'dependencies': [
     27         '../base/base.gyp:base',
     28         '../ipc/ipc.gyp:ipc',
     29         '../ui/aura/aura.gyp:aura',
     30         '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
     31         'metro_viewer_constants'
     32       ],
     33       'sources': [
     34         'viewer/metro_viewer_process_host.cc',
     35         'viewer/metro_viewer_process_host.h',
     36       ],
     37       'defines': [
     38         'METRO_VIEWER_IMPLEMENTATION',
     39       ],
     40     },
     41     {
     42       'target_name': 'test_support_win8',
     43       'type': 'static_library',
     44       'dependencies': [
     45         '../base/base.gyp:base',
     46         'test_registrar_constants',
     47       ],
     48       'sources': [
     49         'test/metro_registration_helper.cc',
     50         'test/metro_registration_helper.h',
     51         'test/open_with_dialog_async.cc',
     52         'test/open_with_dialog_async.h',
     53         'test/open_with_dialog_controller.cc',
     54         'test/open_with_dialog_controller.h',
     55         'test/ui_automation_client.cc',
     56         'test/ui_automation_client.h',
     57       ],
     58       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
     59       'msvs_disabled_warnings': [ 4267, ],
     60     },
     61     {
     62       'target_name': 'test_registrar_constants',
     63       'type': 'static_library',
     64       'include_dirs': [
     65         '..',
     66       ],
     67       'sources': [
     68         'test/test_registrar_constants.cc',
     69         'test/test_registrar_constants.h',
     70       ],
     71     },
     72   ],
     73 }
     74