Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: ppapi/native_client/src/untrusted/irt_stub/irt_stub.gyp

Issue 1094103003: [NaCl SDK] Compile libppapi_stub.a with -fPIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'includes': [ 6 'includes': [
7 '../../../../../build/common_untrusted.gypi', 7 '../../../../../build/common_untrusted.gypi',
8 ], 8 ],
9 'targets' : [ 9 'targets' : [
10 { 10 {
11 'target_name': 'ppapi_stub_lib', 11 'target_name': 'ppapi_stub_lib',
12 'type': 'none', 12 'type': 'none',
13 'variables': { 13 'variables': {
14 'nlib_target': 'libppapi_stub.a', 14 'nlib_target': 'libppapi_stub.a',
15 'build_glibc': 1, 15 'build_glibc': 1,
16 'build_newlib': 1, 16 'build_newlib': 1,
17 'build_pnacl_newlib': 1, 17 'build_pnacl_newlib': 1,
18 }, 18 },
19 # Always compile libppapi_stub with -fPIC so that -lppapi can be linked
20 # into shared libraries (libppapi.so is linker script that pulls in
Roland McGrath 2015/04/21 19:46:07 "is a linker script"
Sam Clegg 2015/04/21 22:02:19 Done.
21 # ppapi_stub).
22 'compile_flags': [ '-fPIC' ],
19 'include_dirs': [ 23 'include_dirs': [
20 '../../../..', 24 '../../../..',
21 ], 25 ],
22 'sources': [ 26 'sources': [
23 'plugin_main_irt.c', 27 'plugin_main_irt.c',
24 'ppapi_plugin_main.c', 28 'ppapi_plugin_main.c',
25 'ppapi_plugin_start.c', 29 'ppapi_plugin_start.c',
26 'thread_creator.c' 30 'thread_creator.c'
27 ], 31 ],
28 }, 32 },
29 ], 33 ],
30 } 34 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698