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 # GN version: //ppapi/c |
15 'target_name': 'ppapi_c', | 15 'target_name': 'ppapi_c', |
16 'type': 'none', | 16 'type': 'none', |
17 'all_dependent_settings': { | 17 'all_dependent_settings': { |
18 'include_dirs+': [ | 18 'include_dirs+': [ |
19 '..', | 19 '..', |
20 ], | 20 ], |
21 }, | 21 }, |
22 'sources': [ | 22 'sources': [ |
23 '<@(c_source_files)', | 23 '<@(c_source_files)', |
24 ], | 24 ], |
25 }, | 25 }, |
26 { | 26 { |
27 # GN version: //ppapi:ppapi_cpp_objects | 27 # GN version: //ppapi/cpp:objects |
28 'target_name': 'ppapi_cpp_objects', | 28 'target_name': 'ppapi_cpp_objects', |
29 'type': 'static_library', | 29 'type': 'static_library', |
30 'dependencies': [ | 30 'dependencies': [ |
31 'ppapi_c' | 31 'ppapi_c' |
32 ], | 32 ], |
33 'include_dirs+': [ | 33 'include_dirs+': [ |
34 '..', | 34 '..', |
35 ], | 35 ], |
36 'sources': [ | 36 'sources': [ |
37 '<@(cpp_source_files)', | 37 '<@(cpp_source_files)', |
38 ], | 38 ], |
39 }, | 39 }, |
40 { | 40 { |
41 # GN version: //ppapi:ppapi_cpp | 41 # GN version: //ppapi/cpp |
42 'target_name': 'ppapi_cpp', | 42 'target_name': 'ppapi_cpp', |
43 'type': 'static_library', | 43 'type': 'static_library', |
44 'dependencies': [ | 44 'dependencies': [ |
45 'ppapi_c', | 45 'ppapi_c', |
46 'ppapi_cpp_objects', | 46 'ppapi_cpp_objects', |
47 ], | 47 ], |
48 'include_dirs+': [ | 48 'include_dirs+': [ |
49 '..', | 49 '..', |
50 ], | 50 ], |
51 'sources': [ | 51 'sources': [ |
52 'cpp/module_embedder.h', | 52 'cpp/module_embedder.h', |
53 'cpp/ppp_entrypoints.cc', | 53 'cpp/ppp_entrypoints.cc', |
54 ], | 54 ], |
55 }, | 55 }, |
56 { | 56 { |
57 # GN version: //ppapi:ppapi_internal_module | 57 # GN version: //ppapi/cpp/private:internal_module |
58 'target_name': 'ppapi_internal_module', | 58 'target_name': 'ppapi_internal_module', |
59 'type': 'static_library', | 59 'type': 'static_library', |
60 'include_dirs+': [ | 60 'include_dirs+': [ |
61 '..', | 61 '..', |
62 ], | 62 ], |
63 'sources': [ | 63 'sources': [ |
64 'cpp/private/internal_module.cc', | 64 'cpp/private/internal_module.cc', |
65 'cpp/private/internal_module.h', | 65 'cpp/private/internal_module.h', |
66 ] | 66 ] |
67 }, | 67 }, |
68 ], | 68 ], |
69 } | 69 } |
OLD | NEW |