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 # GN version: //ppapi:ppapi_c |
14 'target_name': 'ppapi_c', | 15 'target_name': 'ppapi_c', |
15 'type': 'none', | 16 'type': 'none', |
16 'all_dependent_settings': { | 17 'all_dependent_settings': { |
17 'include_dirs+': [ | 18 'include_dirs+': [ |
18 '..', | 19 '..', |
19 ], | 20 ], |
20 }, | 21 }, |
21 'sources': [ | 22 'sources': [ |
22 '<@(c_source_files)', | 23 '<@(c_source_files)', |
23 ], | 24 ], |
24 }, | 25 }, |
25 { | 26 { |
| 27 # GN version: //ppapi:ppapi_cpp_pbjects |
26 'target_name': 'ppapi_cpp_objects', | 28 'target_name': 'ppapi_cpp_objects', |
27 'type': 'static_library', | 29 'type': 'static_library', |
28 'dependencies': [ | 30 'dependencies': [ |
29 'ppapi_c' | 31 'ppapi_c' |
30 ], | 32 ], |
31 'include_dirs+': [ | 33 'include_dirs+': [ |
32 '..', | 34 '..', |
33 ], | 35 ], |
34 'sources': [ | 36 'sources': [ |
35 '<@(cpp_source_files)', | 37 '<@(cpp_source_files)', |
(...skipping 13 matching lines...) Expand all Loading... |
49 'cflags': ['-Wextra', '-pedantic'], | 51 'cflags': ['-Wextra', '-pedantic'], |
50 }], | 52 }], |
51 ['OS=="mac"', { | 53 ['OS=="mac"', { |
52 'xcode_settings': { | 54 'xcode_settings': { |
53 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 55 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
54 }, | 56 }, |
55 }], | 57 }], |
56 ], | 58 ], |
57 }, | 59 }, |
58 { | 60 { |
| 61 # GN version: //ppapi:ppapi_cpp |
59 'target_name': 'ppapi_cpp', | 62 'target_name': 'ppapi_cpp', |
60 'type': 'static_library', | 63 'type': 'static_library', |
61 'dependencies': [ | 64 'dependencies': [ |
62 'ppapi_c', | 65 'ppapi_c', |
63 'ppapi_cpp_objects', | 66 'ppapi_cpp_objects', |
64 ], | 67 ], |
65 'include_dirs+': [ | 68 'include_dirs+': [ |
66 '..', | 69 '..', |
67 ], | 70 ], |
68 'sources': [ | 71 'sources': [ |
69 'cpp/module_embedder.h', | 72 'cpp/module_embedder.h', |
70 'cpp/ppp_entrypoints.cc', | 73 'cpp/ppp_entrypoints.cc', |
71 ], | 74 ], |
72 'conditions': [ | 75 'conditions': [ |
73 ['OS=="linux"', { | 76 ['OS=="linux"', { |
74 'cflags': ['-Wextra', '-pedantic'], | 77 'cflags': ['-Wextra', '-pedantic'], |
75 }], | 78 }], |
76 ['OS=="mac"', { | 79 ['OS=="mac"', { |
77 'xcode_settings': { | 80 'xcode_settings': { |
78 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], | 81 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], |
79 }, | 82 }, |
80 }] | 83 }] |
81 ], | 84 ], |
82 }, | 85 }, |
83 ], | 86 ], |
84 } | 87 } |
OLD | NEW |