2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
8 # We intentionally do not use NaClSdkLibrary() as we do not want
9 # shared versions of this library
10 libppapi_stub = env.ComponentLibrary('libppapi_stub', [
11 'ppapi_plugin_main.c',
12 'ppapi_plugin_start.c',
16 env.AddLibraryToSdk(libppapi_stub)
18 env.AddObjectToSdk(['libppapi.a'])
19 if not env.Bit('nacl_disable_shared'):
20 env.AddObjectToSdk(['libppapi.so'])
21 if env.Bit('bitcode'):
22 pso = env.InstallAs('libppapi.pso', 'libppapi.so')
23 env.AddObjectToSdk(pso)