OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
| 8 'target_name': 'nacl_common', |
| 9 'type': 'static_library', |
| 10 'dependencies': [ |
| 11 '../base/base.gyp:base', |
| 12 ], |
| 13 'sources': [ |
| 14 'nacl/common/nacl_messages.cc', |
| 15 'nacl/common/nacl_messages.h', |
| 16 'nacl/common/nacl_types.cc', |
| 17 'nacl/common/nacl_types.h', |
| 18 ], |
| 19 'include_dirs': [ |
| 20 '..', |
| 21 ], |
| 22 }, |
| 23 { |
8 'target_name': 'nacl_switches', | 24 'target_name': 'nacl_switches', |
9 'type': 'static_library', | 25 'type': 'static_library', |
10 'sources': [ | 26 'sources': [ |
11 'nacl/common/nacl_switches.cc', | 27 'nacl/common/nacl_switches.cc', |
12 'nacl/common/nacl_switches.h', | 28 'nacl/common/nacl_switches.h', |
13 ], | 29 ], |
14 'include_dirs': [ | 30 'include_dirs': [ |
15 '..', | 31 '..', |
16 ], | 32 ], |
17 }, | 33 }, |
| 34 { |
| 35 'target_name': 'nacl_cmd_line', |
| 36 'type': 'static_library', |
| 37 'sources': [ |
| 38 'nacl/common/nacl_cmd_line.cc', |
| 39 'nacl/common/nacl_cmd_line.h', |
| 40 ], |
| 41 'include_dirs': [ |
| 42 '..', |
| 43 ], |
| 44 }, |
18 ], | 45 ], |
19 'conditions': [ | 46 'conditions': [ |
20 ['OS=="win" and target_arch=="ia32"', { | 47 ['OS=="win" and target_arch=="ia32"', { |
21 'targets': [ | 48 'targets': [ |
22 { | 49 { |
23 'target_name': 'nacl_switches_win64', | 50 'target_name': 'nacl_switches_win64', |
24 'type': 'static_library', | 51 'type': 'static_library', |
25 'sources': [ | 52 'sources': [ |
26 'nacl/common/nacl_switches.cc', | 53 'nacl/common/nacl_switches.cc', |
27 'nacl/common/nacl_switches.h', | 54 'nacl/common/nacl_switches.h', |
28 ], | 55 ], |
29 'include_dirs': [ | 56 'include_dirs': [ |
30 '..', | 57 '..', |
31 ], | 58 ], |
32 'configurations': { | 59 'configurations': { |
33 'Common_Base': { | 60 'Common_Base': { |
34 'msvs_target_platform': 'x64', | 61 'msvs_target_platform': 'x64', |
35 }, | 62 }, |
36 }, | 63 }, |
37 }, | 64 }, |
38 ], | 65 ], |
39 }], | 66 }], |
40 ], | 67 ], |
41 } | 68 } |
OLD | NEW |