blob: 00bb8f0569c92100b6e549ef93c1de47200346c3 [file] [log] [blame]
[email protected]126f4fb2011-06-27 20:18:591# Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]b42370e2011-01-22 01:13:092# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
[email protected]1f081e7a2011-12-01 19:33:215# Shared source lists between trusted and untrusted targets are stored in
6# ppapi_sources.gypi.
7
[email protected]b42370e2011-01-22 01:13:098{
[email protected]1f081e7a2011-12-01 19:33:219 'includes': [
10 'ppapi_sources.gypi',
11 ],
[email protected]b42370e2011-01-22 01:13:0912 'targets': [
13 {
[email protected]e80bdfb2011-10-19 20:17:1714 'target_name': 'ppapi_c',
[email protected]b42370e2011-01-22 01:13:0915 'type': 'none',
16 'all_dependent_settings': {
[email protected]ec5e04d2011-07-11 21:30:4317 'include_dirs+': [
[email protected]b42370e2011-01-22 01:13:0918 '..',
19 ],
20 },
21 'sources': [
[email protected]70919502011-12-16 02:30:0322 '<@(c_source_files)',
[email protected]a026daa2011-04-20 15:49:5123 ],
[email protected]b42370e2011-01-22 01:13:0924 },
25 {
[email protected]e80bdfb2011-10-19 20:17:1726 'target_name': 'ppapi_cpp_objects',
[email protected]b42370e2011-01-22 01:13:0927 'type': 'static_library',
28 'dependencies': [
[email protected]e80bdfb2011-10-19 20:17:1729 'ppapi_c'
[email protected]b42370e2011-01-22 01:13:0930 ],
[email protected]ec5e04d2011-07-11 21:30:4331 'include_dirs+': [
[email protected]b42370e2011-01-22 01:13:0932 '..',
33 ],
34 'sources': [
[email protected]70919502011-12-16 02:30:0335 '<@(cpp_source_files)',
[email protected]b42370e2011-01-22 01:13:0936 ],
37 'conditions': [
38 ['OS=="win"', {
[email protected]b42370e2011-01-22 01:13:0939 '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 },
[email protected]a026daa2011-04-20 15:49:5152 }],
[email protected]b42370e2011-01-22 01:13:0953 ],
54 },
55 {
[email protected]e80bdfb2011-10-19 20:17:1756 'target_name': 'ppapi_cpp',
[email protected]b42370e2011-01-22 01:13:0957 'type': 'static_library',
58 'dependencies': [
[email protected]e80bdfb2011-10-19 20:17:1759 'ppapi_c',
60 'ppapi_cpp_objects',
[email protected]b42370e2011-01-22 01:13:0961 ],
[email protected]ec5e04d2011-07-11 21:30:4362 'include_dirs+': [
[email protected]b42370e2011-01-22 01:13:0963 '..',
64 ],
65 'sources': [
66 'cpp/module_embedder.h',
67 'cpp/ppp_entrypoints.cc',
68 ],
69 'conditions': [
[email protected]b42370e2011-01-22 01:13:0970 ['OS=="linux"', {
71 'cflags': ['-Wextra', '-pedantic'],
72 }],
73 ['OS=="mac"', {
74 'xcode_settings': {
75 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
76 },
77 }]
78 ],
79 },
80 ],
[email protected]b42370e2011-01-22 01:13:0981}