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 assert(is_nacl, | 5 assert(is_nacl, |
6 "These targets must only be built using the untrusted NaCl toolchains.") | 6 "These targets must only be built using the untrusted NaCl toolchains.") |
7 | 7 |
8 static_library("ppapi_stub_lib") { | 8 static_library("ppapi_stub_lib") { |
| 9 output_name = "ppapi_stub" |
| 10 |
9 # This library is distributed as a part of the SDK and as such has to | 11 # This library is distributed as a part of the SDK and as such has to |
10 # be a static library rather than a source set. | 12 # be a static library rather than a source set. |
11 sources = [ | 13 sources = [ |
12 "plugin_main_irt.c", | 14 "plugin_main_irt.c", |
13 "ppapi_plugin_main.c", | 15 "ppapi_plugin_main.c", |
14 "ppapi_plugin_start.c", | 16 "ppapi_plugin_start.c", |
15 "thread_creator.c", | 17 "thread_creator.c", |
16 ] | 18 ] |
| 19 configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
17 cflags = [ "-fPIC" ] | 20 cflags = [ "-fPIC" ] |
18 deps = [ | 21 deps = [ |
19 "//build/config/nacl:nacl_base", | 22 "//build/config/nacl:nacl_base", |
20 ] | 23 ] |
21 } | 24 } |
OLD | NEW |