OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 'includes': [ | 6 'includes': [ |
7 '../../../build/common.gypi', | 7 '../../../build/common.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'common_sources': [ | 10 'common_sources': [ |
11 'ppapi_plugin_main.c', | 11 'ppapi_plugin_main.c', |
12 'ppapi_plugin_start.c', | 12 'ppapi_plugin_start.c', |
13 'plugin_main_irt.c', | 13 'plugin_main_irt.c', |
14 'thread_creator.c' | 14 'thread_creator.c' |
15 ] | 15 ] |
16 }, | 16 }, |
17 'conditions': [ | 17 'targets' : [ |
18 # NOTE: We do not support untrusted gyp build on arm yet. | 18 { |
19 ['target_arch!="arm"', { | 19 'target_name': 'ppapi_stub_lib', |
20 'targets' : [ | 20 'type': 'none', |
21 { | 21 'variables': { |
22 'target_name': 'ppapi_stub_lib', | 22 'nlib_target': 'libppapi_stub.a', |
23 'type': 'none', | 23 'build_glibc': 1, |
24 'variables': { | 24 'build_newlib': 1, |
25 'nlib_target': 'libppapi_stub.a', | 25 'sources': ['<@(common_sources)'] |
26 'build_glibc': 1, | 26 }, |
27 'build_newlib': 1, | 27 'dependencies': [ |
28 'sources': ['<@(common_sources)'] | 28 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
29 }, | |
30 'dependencies': [ | |
31 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
32 ], | |
33 }, | |
34 ], | 29 ], |
35 }], | 30 }, |
36 ], | 31 ], |
37 } | 32 } |
OLD | NEW |