| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/nacl/config.gni") |
| 6 |
| 5 component("shared_impl") { | 7 component("shared_impl") { |
| 6 output_name = "ppapi_shared" | 8 output_name = "ppapi_shared" |
| 7 | 9 |
| 8 sources = [ | 10 sources = [ |
| 9 "array_var.cc", | 11 "array_var.cc", |
| 10 "array_var.h", | 12 "array_var.h", |
| 11 "array_writer.cc", | 13 "array_writer.cc", |
| 12 "array_writer.h", | 14 "array_writer.h", |
| 13 "callback_tracker.cc", | 15 "callback_tracker.cc", |
| 14 "callback_tracker.h", | 16 "callback_tracker.h", |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 configs += [ "//build/config:precompiled_headers" ] | 156 configs += [ "//build/config:precompiled_headers" ] |
| 155 defines = [ | 157 defines = [ |
| 156 "PPAPI_SHARED_IMPLEMENTATION", | 158 "PPAPI_SHARED_IMPLEMENTATION", |
| 157 | 159 |
| 158 # This target goes in the same library as thunk (in GYP they are the same). | 160 # This target goes in the same library as thunk (in GYP they are the same). |
| 159 "PPAPI_THUNK_IMPLEMENTATION", | 161 "PPAPI_THUNK_IMPLEMENTATION", |
| 160 ] | 162 ] |
| 161 | 163 |
| 162 deps = [ | 164 deps = [ |
| 163 "//base", | 165 "//base", |
| 164 "//base:i18n", | |
| 165 "//base/third_party/dynamic_annotations", | |
| 166 "//gpu/command_buffer/client", | 166 "//gpu/command_buffer/client", |
| 167 "//gpu/command_buffer/client:gles2_cmd_helper", | 167 "//gpu/command_buffer/client:gles2_cmd_helper", |
| 168 "//gpu/command_buffer/client:gles2_implementation", | 168 "//gpu/command_buffer/client:gles2_implementation", |
| 169 "//gpu/command_buffer/common", | 169 "//gpu/command_buffer/common", |
| 170 "//ipc", | 170 "//ipc", |
| 171 "//media:shared_memory_support", | 171 "//media:shared_memory_support", |
| 172 "//ppapi/c", | 172 "//ppapi/c", |
| 173 "//ppapi/thunk", | 173 "//ppapi/thunk", |
| 174 "//third_party/icu:icuuc", | |
| 175 "//url", | |
| 176 ] | 174 ] |
| 177 | 175 |
| 178 if (!is_nacl) { | 176 if (!is_nacl) { |
| 179 deps += [ | 177 deps += [ |
| 180 "//skia", | 178 "//skia", |
| 181 "//ui/events:events_base", | 179 "//ui/events:events_base", |
| 182 "//ui/surface", | 180 "//ui/surface", |
| 183 ] | 181 ] |
| 184 } | 182 } |
| 185 | 183 |
| 184 if (!is_nacl_nonsfi) { |
| 185 deps += [ |
| 186 "//base:i18n", |
| 187 "//base/third_party/dynamic_annotations", |
| 188 "//third_party/icu:icuuc", |
| 189 "//url", |
| 190 ] |
| 191 } |
| 192 |
| 186 if (is_mac) { | 193 if (is_mac) { |
| 187 libs = [ "QuartzCore.framework" ] | 194 libs = [ "QuartzCore.framework" ] |
| 188 } | 195 } |
| 189 } | 196 } |
| 190 | 197 |
| 191 source_set("test_support") { | 198 source_set("test_support") { |
| 192 testonly = true | 199 testonly = true |
| 193 | 200 |
| 194 sources = [ | 201 sources = [ |
| 195 "test_globals.cc", | 202 "test_globals.cc", |
| 196 "test_globals.h", | 203 "test_globals.h", |
| 197 "test_utils.cc", | 204 "test_utils.cc", |
| 198 "test_utils.h", | 205 "test_utils.h", |
| 199 ] | 206 ] |
| 200 | 207 |
| 201 deps = [ | 208 deps = [ |
| 202 "//base/test:test_support", | 209 "//base/test:test_support", |
| 203 "//ipc", | 210 "//ipc", |
| 204 "//ipc:test_support", | 211 "//ipc:test_support", |
| 205 "//ppapi/proxy", | 212 "//ppapi/proxy", |
| 206 "//ppapi/shared_impl", | 213 "//ppapi/shared_impl", |
| 207 "//testing/gmock", | 214 "//testing/gmock", |
| 208 "//testing/gtest", | 215 "//testing/gtest", |
| 209 ] | 216 ] |
| 210 } | 217 } |
| OLD | NEW |