Updates version of android sdk and api installed and creates ARM and x86 AVD's.
[chromium-blink-merge.git] / ppapi / ppapi_internal.gyp
blob4ad96e3a6cbcd49e13a443dd0ab93784a8a55515
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.
6   'variables': {
7     'chromium_code': 1,  # Use higher warning level.
8   },
9   'target_defaults': {
10     'conditions': [
11       # Linux shared libraries should always be built -fPIC.
12       #
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$']],
23       }],
24     ],
25   },
26   'includes': [
27     'ppapi_sources.gypi',
28     'ppapi_proxy.gypi',
29     'ppapi_shared.gypi',
30     'ppapi_tests.gypi',
31   ],
32   'targets': [
33     {
34       'target_name': 'ppapi_shared',
35       'type': '<(component)',
36       'variables': {
37         'ppapi_shared_target': 1,
38       },
39       'dependencies': [
40         'ppapi.gyp:ppapi_c',
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',
48         '../net/net.gyp:net',
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',
54       ],
55       'export_dependent_settings': [
56         '../base/base.gyp:base',
57         '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
58       ],
59       'conditions': [
60         ['OS=="mac"', {
61           'link_settings': {
62             'libraries': [
63               '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
64             ],
65           },
66         }],
67       ],
68     },
69     {
70       'target_name': 'ppapi_proxy',
71       'type': '<(component)',
72       'variables': {
73         'ppapi_proxy_target': 1,
74       },
75       'dependencies': [
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',
80         '../ipc/ipc.gyp:ipc',
81         '../skia/skia.gyp:skia',
82         '../ui/surface/surface.gyp:surface',
83         'ppapi.gyp:ppapi_c',
84         'ppapi_shared',
85       ],
86       'all_dependent_settings': {
87         'include_dirs': [
88            '..',
89         ],
90       },
91     },
92   ]