Home | History | Annotate | Download | only in idl-rules
      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 {
      6   'variables': {
      7     'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)',
      8   },
      9   'target_defaults': {
     10     'configurations': {
     11       'Debug': {
     12         'msvs_configuration_platform': 'Win32',
     13       },
     14       'Debug_x64': {
     15         'inherit_from': ['Debug'],
     16         'msvs_configuration_platform': 'x64',
     17       },
     18     },
     19   },
     20   'targets': [
     21     {
     22       'target_name': 'idl_test',
     23       'type': 'executable',
     24       'sources': [
     25         'history_indexer.idl',
     26         '<(midl_out_dir)/history_indexer.h',
     27         '<(midl_out_dir)/history_indexer_i.c',
     28         'history_indexer_user.cc',
     29       ],
     30       'libraries': ['ole32.lib'],
     31       'include_dirs': [
     32         '<(midl_out_dir)',
     33       ],
     34       'msvs_settings': {
     35         'VCMIDLTool': {
     36           'OutputDirectory': '<(midl_out_dir)',
     37           'HeaderFileName': '<(RULE_INPUT_ROOT).h',
     38          },
     39       },
     40     },
     41   ],
     42 }
     43