OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # Shared source lists between trusted and untrusted targets are stored in | 5 # Shared source lists between trusted and untrusted targets are stored in |
6 # ppapi_sources.gypi. | 6 # ppapi_sources.gypi. |
7 | 7 |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'ppapi_sources.gypi', | 10 'ppapi_sources.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'ppapi_c', | 14 'target_name': 'ppapi_c', |
15 'type': 'none', | 15 'type': 'none', |
16 'all_dependent_settings': { | 16 'all_dependent_settings': { |
17 'include_dirs+': [ | 17 'include_dirs+': [ |
18 '..', | 18 '..', |
19 ], | 19 ], |
20 }, | 20 }, |
21 'sources': [ | 21 'sources': [ |
22 '<@(c_source_files)', | 22 '<@(c_source_files)', |
23 ], | 23 ], |
| 24 'conditions': [ |
| 25 ['order_profiling!=0', { |
| 26 'conditions': [ |
| 27 ['OS=="android"', { |
| 28 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile'
], |
| 29 }], |
| 30 ], |
| 31 }], # order_profiling!=0 |
| 32 ], |
24 }, | 33 }, |
25 { | 34 { |
26 'target_name': 'ppapi_cpp_objects', | 35 'target_name': 'ppapi_cpp_objects', |
27 'type': 'static_library', | 36 'type': 'static_library', |
28 'dependencies': [ | 37 'dependencies': [ |
29 'ppapi_c' | 38 'ppapi_c' |
30 ], | 39 ], |
31 'include_dirs+': [ | 40 'include_dirs+': [ |
32 '..', | 41 '..', |
33 ], | 42 ], |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 }], | 81 }], |
73 ['OS=="mac"', { | 82 ['OS=="mac"', { |
74 'xcode_settings': { | 83 'xcode_settings': { |
75 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 84 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
76 }, | 85 }, |
77 }] | 86 }] |
78 ], | 87 ], |
79 }, | 88 }, |
80 ], | 89 ], |
81 } | 90 } |
OLD | NEW |