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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | compiler/technique/technique.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/nacl.gyp
===================================================================
--- build/nacl.gyp (revision 0)
+++ build/nacl.gyp (revision 0)
@@ -0,0 +1,57 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+ 'nacl_scons_dir': '../../third_party/native_client/googleclient/native_client/scons-out',
+ },
+ 'includes': [
+ 'common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'build_nacl',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_libs': [
+ 'google_nacl_imc',
+ 'google_nacl_imc_c',
+ ],
+ 'nacl_lib_dir': '<(nacl_scons_dir)/<(CONFIGURATION)-<(OS)/lib',
+ 'nacl_output_dir': '<(SHARED_INTERMEDIATE_DIR)/nacl_libs',
+ },
+ 'actions': [
+ {
+ 'action_name': 'build_nacl',
+ 'inputs' : [
+ 'build_nacl.py',
+ ],
+ 'outputs': [
+ '<(nacl_output_dir)/google_nacl_imc<(LIBRARY_SUFFIX)',
+ '<(nacl_output_dir)/google_nacl_imc_c<(LIBRARY_SUFFIX)',
+ 'dummy_file_that_never_gets_built_so_scons_always_runs',
+ ],
+ 'action': [
+ 'python',
+ '<@(_inputs)',
+ '--output="<(nacl_output_dir)"',
+ '--configuration="<(CONFIGURATION)"',
+ '--platform=<(OS)',
+ '<@(nacl_libs)',
+ ],
+ },
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(nacldir)',
+ ],
+ 'libraries': [
+ '-l<(nacl_output_dir)/google_nacl_imc<(LIBRARY_SUFFIX)',
+ '-l<(nacl_output_dir)/google_nacl_imc_c<(LIBRARY_SUFFIX)',
+ ],
+ },
+ },
+ ],
+}
« 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