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 # TODO(sbc): Make sure this library gets built with -fPIC. Right now it | |
9 # doesn't seem that is built at all. | |
10 source_set("ppapi_stub_lib") { | 8 source_set("ppapi_stub_lib") { |
11 sources = [ | 9 sources = [ |
12 "plugin_main_irt.c", | 10 "plugin_main_irt.c", |
13 "ppapi_plugin_main.c", | 11 "ppapi_plugin_main.c", |
14 "ppapi_plugin_start.c", | 12 "ppapi_plugin_start.c", |
15 "thread_creator.c", | 13 "thread_creator.c", |
16 ] | 14 ] |
| 15 cflags = [ "-fPIC" ] |
| 16 deps = [ |
| 17 "//build/config/nacl:nacl_base", |
| 18 ] |
17 } | 19 } |
OLD | NEW |