OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, # Use higher warning level. |
| 8 }, |
6 'includes': [ | 9 'includes': [ |
7 '../../../../../native_client/build/common.gypi', | 10 '../../../../../native_client/build/common.gypi', |
8 ], | 11 ], |
| 12 'target_defaults': { |
| 13 'conditions': [ |
| 14 ['OS=="linux"', { |
| 15 'cflags!': [ |
| 16 '-Wno-unused-parameter', # be a bit stricter to match NaCl flags. |
| 17 ], |
| 18 }], |
| 19 ['OS=="mac"', { |
| 20 'cflags!': [ |
| 21 '-Wno-unused-parameter', # be a bit stricter to match NaCl flags. |
| 22 ], |
| 23 }], |
| 24 ], |
| 25 }, |
9 'targets': [ | 26 'targets': [ |
10 { | 27 { |
11 'target_name': 'nacl_ppapi_browser', | 28 'target_name': 'nacl_ppapi_browser', |
12 'type': 'static_library', | 29 'type': 'static_library', |
13 'sources': [ | 30 'sources': [ |
14 'browser_callback.cc', | 31 'browser_callback.cc', |
15 'browser_globals.cc', | 32 'browser_globals.cc', |
16 'browser_nacl_file_rpc_server.cc', | 33 'browser_nacl_file_rpc_server.cc', |
17 'browser_ppb_audio_rpc_server.cc', | 34 'browser_ppb_audio_rpc_server.cc', |
18 'browser_ppb_audio_config_rpc_server.cc', | 35 'browser_ppb_audio_config_rpc_server.cc', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 'include_dirs': [ | 88 'include_dirs': [ |
72 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/trusted', | 89 '<(DEPTH)/ppapi/native_client/src/shared/ppapi_proxy/trusted', |
73 '<(DEPTH)/ppapi', | 90 '<(DEPTH)/ppapi', |
74 ], | 91 ], |
75 'dependencies': [ | 92 'dependencies': [ |
76 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c', | 93 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c', |
77 ], | 94 ], |
78 }, | 95 }, |
79 ], | 96 ], |
80 } | 97 } |
OLD | NEW |