forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gpu targets to untrusted build, and add Graphics3D code to untrus…
…ted build. BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds all code needed for 3d and OpenGL ES. Review URL: https://chromiumcodereview.appspot.com/10837145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150432 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
bbudge@chromium.org
committed
Aug 7, 2012
1 parent
b9a383d
commit 9ca8a52
Showing
21 changed files
with
617 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright (c) 2012 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. | ||
|
||
{ | ||
'target_defaults': { | ||
'variables': { | ||
'gles2_utils_target': 0, | ||
}, | ||
'target_conditions': [ | ||
# This part is shared between the targets defined below. | ||
['gles2_utils_target==1', { | ||
'defines': [ | ||
'GLES2_UTILS_IMPLEMENTATION', | ||
], | ||
'include_dirs': [ | ||
'<(DEPTH)/third_party/khronos', | ||
], | ||
'sources': [ | ||
'common/gles2_cmd_format.h', | ||
'common/gles2_cmd_utils.cc', | ||
'common/gles2_cmd_utils.h', | ||
'common/gles2_utils_export.h', | ||
'common/logging.cc', | ||
'common/logging.h', | ||
], | ||
}], | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) 2012 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, | ||
}, | ||
'includes': [ | ||
'../../native_client/build/untrusted.gypi', | ||
'command_buffer.gypi', | ||
], | ||
'conditions': [ | ||
['disable_nacl==0 and disable_nacl_untrusted==0', { | ||
'targets': [ | ||
{ | ||
'target_name': 'gles2_utils_untrusted', | ||
'type': 'none', | ||
'variables': { | ||
'gles2_utils_target': 1, | ||
'nacl_untrusted_build': 1, | ||
'nlib_target': 'libgles2_utils_untrusted.a', | ||
'build_glibc': 0, | ||
'build_newlib': 1, | ||
}, | ||
'dependencies': [ | ||
'../../native_client/tools.gyp:prep_toolchain', | ||
'../../base/base_untrusted.gyp:base_untrusted', | ||
], | ||
}, | ||
], | ||
}], | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.