Home | History | Annotate | Download | only in components
      1 # Copyright 2013 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   'targets': [
      7     {
      8       'target_name': 'nacl_switches',
      9       'type': 'static_library',
     10       'sources': [
     11         'nacl/common/nacl_switches.cc',
     12         'nacl/common/nacl_switches.h',
     13       ],
     14       'include_dirs': [
     15         '..',
     16       ],
     17     },
     18     {
     19       'target_name': 'nacl_common',
     20       'type': 'static_library',
     21       'sources': [
     22         'nacl/common/nacl_cmd_line.cc',
     23         'nacl/common/nacl_cmd_line.h',
     24         'nacl/common/nacl_messages.cc',
     25         'nacl/common/nacl_messages.h',
     26         'nacl/common/nacl_types.cc',
     27         'nacl/common/nacl_types.h',
     28       ],
     29       'include_dirs': [
     30         '..',
     31       ],
     32     },
     33   ],
     34   'conditions': [
     35     ['OS=="win" and target_arch=="ia32"', {
     36       'targets': [
     37         {
     38           'target_name': 'nacl_switches_win64',
     39           'type': 'static_library',
     40           'sources': [
     41             'nacl/common/nacl_switches.cc',
     42             'nacl/common/nacl_switches.h',
     43           ],
     44           'include_dirs': [
     45             '..',
     46           ],
     47           'configurations': {
     48             'Common_Base': {
     49               'msvs_target_platform': 'x64',
     50             },
     51           },
     52         },
     53         {
     54           'target_name': 'nacl_common_win64',
     55           'type': 'static_library',
     56           'sources': [
     57             'nacl/common/nacl_cmd_line.cc',
     58             'nacl/common/nacl_cmd_line.h',
     59             'nacl/common/nacl_messages.cc',
     60             'nacl/common/nacl_messages.h',
     61             'nacl/common/nacl_types.cc',
     62             'nacl/common/nacl_types.h',
     63           ],
     64           'include_dirs': [
     65             '..',
     66           ],
     67           'configurations': {
     68             'Common_Base': {
     69               'msvs_target_platform': 'x64',
     70             },
     71           },
     72         },
     73       ],
     74     }],
     75   ],
     76 }
     77