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

Side by Side Diff: build/nacl.gyp

Issue 131116: This adds in the GYP files needed for our GYP build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 6 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
« no previous file with comments | « build/common.gypi ('k') | compiler/technique/technique.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2009 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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'nacl_scons_dir': '../../third_party/native_client/googleclient/native_clien t/scons-out',
9 },
10 'includes': [
11 'common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'build_nacl',
16 'type': 'none',
17 'variables': {
18 'nacl_libs': [
19 'google_nacl_imc',
20 'google_nacl_imc_c',
21 ],
22 'nacl_lib_dir': '<(nacl_scons_dir)/<(CONFIGURATION)-<(OS)/lib',
23 'nacl_output_dir': '<(SHARED_INTERMEDIATE_DIR)/nacl_libs',
24 },
25 'actions': [
26 {
27 'action_name': 'build_nacl',
28 'inputs' : [
29 'build_nacl.py',
30 ],
31 'outputs': [
32 '<(nacl_output_dir)/google_nacl_imc<(LIBRARY_SUFFIX)',
33 '<(nacl_output_dir)/google_nacl_imc_c<(LIBRARY_SUFFIX)',
34 'dummy_file_that_never_gets_built_so_scons_always_runs',
35 ],
36 'action': [
37 'python',
38 '<@(_inputs)',
39 '--output="<(nacl_output_dir)"',
40 '--configuration="<(CONFIGURATION)"',
41 '--platform=<(OS)',
42 '<@(nacl_libs)',
43 ],
44 },
45 ],
46 'direct_dependent_settings': {
47 'include_dirs': [
48 '<(nacldir)',
49 ],
50 'libraries': [
51 '-l<(nacl_output_dir)/google_nacl_imc<(LIBRARY_SUFFIX)',
52 '-l<(nacl_output_dir)/google_nacl_imc_c<(LIBRARY_SUFFIX)',
53 ],
54 },
55 },
56 ],
57 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | compiler/technique/technique.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698