OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, # Use higher warning level. | 7 'chromium_code': 1, # Use higher warning level. |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 15 matching lines...) Expand all Loading... |
26 'includes': [ | 26 'includes': [ |
27 'ppapi_sources.gypi', | 27 'ppapi_sources.gypi', |
28 'ppapi_host.gypi', | 28 'ppapi_host.gypi', |
29 'ppapi_ipc.gypi', | 29 'ppapi_ipc.gypi', |
30 'ppapi_proxy.gypi', | 30 'ppapi_proxy.gypi', |
31 'ppapi_shared.gypi', | 31 'ppapi_shared.gypi', |
32 'ppapi_tests.gypi', | 32 'ppapi_tests.gypi', |
33 ], | 33 ], |
34 'targets': [ | 34 'targets': [ |
35 { | 35 { |
36 # GN version: //ppapi:ppapi_shared | 36 # GN version: //ppapi/shared_impl and //ppapi/thunk |
37 'target_name': 'ppapi_shared', | 37 'target_name': 'ppapi_shared', |
38 'type': '<(component)', | 38 'type': '<(component)', |
39 'variables': { | 39 'variables': { |
40 # Set the ppapi_shared_target variable, so that we will pull in the | 40 # Set the ppapi_shared_target variable, so that we will pull in the |
41 # sources from ppapi_shared.gypi (and only from there). We follow the | 41 # sources from ppapi_shared.gypi (and only from there). We follow the |
42 # same pattern for the other targets defined within this file. | 42 # same pattern for the other targets defined within this file. |
43 'ppapi_shared_target': 1, | 43 'ppapi_shared_target': 1, |
44 }, | 44 }, |
45 'dependencies': [ | 45 'dependencies': [ |
46 '../base/base.gyp:base', | 46 '../base/base.gyp:base', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 ], | 85 ], |
86 }], | 86 }], |
87 ], | 87 ], |
88 }, | 88 }, |
89 ], | 89 ], |
90 'conditions': [ | 90 'conditions': [ |
91 ['component=="static_library"', { | 91 ['component=="static_library"', { |
92 # In a static build, build ppapi_ipc separately. | 92 # In a static build, build ppapi_ipc separately. |
93 'targets': [ | 93 'targets': [ |
94 { | 94 { |
95 # GN version: //ppapi:ppapi_ipc | 95 # GN version: //ppapi/proxy:ipc |
96 'target_name': 'ppapi_ipc', | 96 'target_name': 'ppapi_ipc', |
97 'type': 'static_library', | 97 'type': 'static_library', |
98 'variables': { | 98 'variables': { |
99 'ppapi_ipc_target': 1, | 99 'ppapi_ipc_target': 1, |
100 }, | 100 }, |
101 'dependencies': [ | 101 'dependencies': [ |
102 '../base/base.gyp:base', | 102 '../base/base.gyp:base', |
103 '../gpu/gpu.gyp:gpu_ipc', | 103 '../gpu/gpu.gyp:gpu_ipc', |
104 '../ipc/ipc.gyp:ipc', | 104 '../ipc/ipc.gyp:ipc', |
105 '../skia/skia.gyp:skia', | 105 '../skia/skia.gyp:skia', |
106 '../ui/events/ipc/events_ipc.gyp:events_ipc', | 106 '../ui/events/ipc/events_ipc.gyp:events_ipc', |
107 'ppapi.gyp:ppapi_c', | 107 'ppapi.gyp:ppapi_c', |
108 'ppapi_shared', | 108 'ppapi_shared', |
109 ], | 109 ], |
110 'all_dependent_settings': { | 110 'all_dependent_settings': { |
111 'include_dirs': [ | 111 'include_dirs': [ |
112 '..', | 112 '..', |
113 ], | 113 ], |
114 }, | 114 }, |
115 }, | 115 }, |
116 { | 116 { |
117 # GN version: //ppapi:ppapi_proxy | 117 # GN version: //ppapi/proxy |
118 'target_name': 'ppapi_proxy', | 118 'target_name': 'ppapi_proxy', |
119 'type': 'static_library', | 119 'type': 'static_library', |
120 'variables': { | 120 'variables': { |
121 'ppapi_proxy_target': 1, | 121 'ppapi_proxy_target': 1, |
122 }, | 122 }, |
123 'dependencies': [ | 123 'dependencies': [ |
124 '../base/base.gyp:base', | 124 '../base/base.gyp:base', |
125 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 125 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
126 '../gin/gin.gyp:gin', | 126 '../gin/gin.gyp:gin', |
127 '../gpu/gpu.gyp:gles2_implementation', | 127 '../gpu/gpu.gyp:gles2_implementation', |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 }, | 279 }, |
280 'configurations': { | 280 'configurations': { |
281 'Common_Base': { | 281 'Common_Base': { |
282 'msvs_target_platform': 'x64', | 282 'msvs_target_platform': 'x64', |
283 }, | 283 }, |
284 }, | 284 }, |
285 }], | 285 }], |
286 }], | 286 }], |
287 ], | 287 ], |
288 } | 288 } |
OLD | NEW |