Updates version of android sdk and api installed and creates ARM and x86 AVD's.
[chromium-blink-merge.git] / ppapi / ppapi_cpp.gypi
blob00bb8f0569c92100b6e549ef93c1de47200346c3
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
3 # found in the LICENSE file.
5 # Shared source lists between trusted and untrusted targets are stored in 
6 # ppapi_sources.gypi.
9   'includes': [
10     'ppapi_sources.gypi',
11   ],
12   'targets': [
13     {
14       'target_name': 'ppapi_c',
15       'type': 'none',
16       'all_dependent_settings': {
17         'include_dirs+': [
18           '..',
19         ],
20       },
21       'sources': [
22         '<@(c_source_files)',
23       ],
24     },
25     {
26       'target_name': 'ppapi_cpp_objects',
27       'type': 'static_library',
28       'dependencies': [
29         'ppapi_c'
30       ],
31       'include_dirs+': [
32         '..',
33       ],
34       'sources': [
35         '<@(cpp_source_files)',
36       ],
37       'conditions': [
38         ['OS=="win"', {
39           'msvs_settings': {
40             'VCCLCompilerTool': {
41               'AdditionalOptions': ['/we4244'],  # implicit conversion, possible loss of data
42             },
43           },
44         }],
45         ['OS=="linux"', {
46           'cflags': ['-Wextra', '-pedantic'],
47         }],
48         ['OS=="mac"', {
49           'xcode_settings': {
50             'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
51            },
52         }],
53       ],
54     },
55     {
56       'target_name': 'ppapi_cpp',
57       'type': 'static_library',
58       'dependencies': [
59         'ppapi_c',
60         'ppapi_cpp_objects',
61       ],
62       'include_dirs+': [
63         '..',
64       ],
65       'sources': [
66         'cpp/module_embedder.h',
67         'cpp/ppp_entrypoints.cc',
68       ],
69       'conditions': [
70         ['OS=="linux"', {
71           'cflags': ['-Wextra', '-pedantic'],
72         }],
73         ['OS=="mac"', {
74           'xcode_settings': {
75             'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
76            },
77         }]
78       ],
79     },
80   ],