Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: src/trusted/platform/platform.gyp

Issue 10832400: Process abstraction layer for NaCl Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Provide consistent interface across all platforms. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # -*- python -*-
2 #
3 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 {
8 'includes': [
9 '../../../build/common.gypi',
10 ],
11 'common_sources': [
12 'nacl_process.h',
Mark Seaborn 2012/08/24 00:22:42 FYI, you don't need to list header files in Gyp.
13 ],
14 'conditions': [
15 ['OS=="linux"', {
16 'platform_sources': [
17 'posix/nacl_process.c',
18 'posix/nacl_process_types.h',
19 ],
20 }],
21 ['OS=="mac"', {
22 'platform_sources': [
23 'posix/nacl_process.c',
24 'posix/nacl_process_types.h',
25 ],
26 }],
27 ['OS=="win"', {
28 'platform_sources': [
29 'win/nacl_process.c',
30 'win/nacl_process_types.h',
31 ],
32 }],
33 ],
34 'target_defaults': {
35 'variables': {
36 'target_base': 'none',
37 },
38 'target_conditions': [
39 ['target_base=="nacl_platform"', {
40 'sources': [
41 '<@(common_sources)',
42 '<@(platform_sources)',
43 ],
44 }],
45 ['target_base=="nacl_platform_tests"', {
46 'sources': [
47 'nacl_process_test.c',
48 ],
49 }],
50 ],
51 },
52 'targets': [
53 {
54 'target_name': 'nacl_platform',
Mark Seaborn 2012/08/24 00:22:42 You're missing a definition of this for 64-bit Win
55 'type': 'static_library',
56 'variables': {
57 'target_base': 'nacl_platform',
58 },
59 'dependencies': [
60 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
61 ],
62 },
63 ],
64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698