1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 'chromium_code': 1, # Use higher warning level.
11 # Linux shared libraries should always be built -fPIC.
13 # TODO(ajwong): For internal pepper plugins, which are statically linked
14 # into chrome, do we want to build w/o -fPIC? If so, how can we express
15 # that in the build system?
16 ['os_posix==1 and OS!="android" and OS!="mac"', {
17 'cflags': ['-fPIC', '-fvisibility=hidden'],
19 # This is needed to make the Linux shlib build happy. Without this,
20 # -fvisibility=hidden gets stripped by the exclusion in common.gypi
21 # that is triggered when a shared library build is specified.
22 'cflags/': [['include', '^-fvisibility=hidden$']],
34 'target_name': 'ppapi_shared',
35 'type': '<(component)',
37 'ppapi_shared_target': 1,
41 '../base/base.gyp:base',
42 '../base/base.gyp:base_i18n',
43 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
44 '../build/temp_gyp/googleurl.gyp:googleurl',
45 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
46 '../gpu/gpu.gyp:command_buffer_client',
47 '../gpu/gpu.gyp:gles2_implementation',
49 '../skia/skia.gyp:skia',
50 '../third_party/icu/icu.gyp:icuuc',
51 # TODO(ananta) : The WebKit dependency needs to move to a new target for NACL.
52 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
53 '../ui/surface/surface.gyp:surface',
55 'export_dependent_settings': [
56 '../base/base.gyp:base',
57 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
63 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
70 'target_name': 'ppapi_proxy',
71 'type': '<(component)',
73 'ppapi_proxy_target': 1,
76 '../base/base.gyp:base',
77 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
78 '../gpu/gpu.gyp:gles2_implementation',
79 '../gpu/gpu.gyp:gpu_ipc',
81 '../skia/skia.gyp:skia',
82 '../ui/surface/surface.gyp:surface',
86 'all_dependent_settings': {