| 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("//ppapi/ppapi_sources.gni") | 5 import("//ppapi/ppapi_sources.gni") |
| 6 | 6 |
| 7 # Link to this target to get the PPAPI C++ wrapper objects and plugin startup | 7 # Link to this target to get the PPAPI C++ wrapper objects and plugin startup |
| 8 # code. See also "objects" below. | 8 # code. See also "objects" below. |
| 9 source_set("cpp") { | 9 source_set("cpp") { |
| 10 sources = [ | 10 sources = [ |
| 11 "module_embedder.h", | 11 "module_embedder.h", |
| 12 "ppp_entrypoints.cc", | 12 "ppp_entrypoints.cc", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":objects", | 16 ":objects", |
| 17 "//ppapi/c", | 17 "//ppapi/c", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 | 20 |
| 21 # Link to this target to get only the PPAPI C++ wrapper objects but not the | 21 # Link to this target to get only the PPAPI C++ wrapper objects but not the |
| 22 # plugin startup code. Some plugins need special startup code that they supply | 22 # plugin startup code. Some plugins need special startup code that they supply |
| 23 # themselves. | 23 # themselves. |
| 24 source_set("objects") { | 24 source_set("objects") { |
| 25 sources = rebase_path(ppapi_sources.cpp_source_files, ".", "..") | 25 sources = rebase_path(ppapi_sources.cpp_source_files, ".", "..") |
| 26 configs += [ "//build/config:precompiled_headers" ] |
| 26 } | 27 } |
| OLD | NEW |