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

Unified Diff: third_party/isimpledom/isimpledom.gyp

Issue 7973006: Make isimpledom write shared generated files to SHARED_INTERMEDIATE_DIR (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup the GYP Created 9 years, 3 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
Index: third_party/isimpledom/isimpledom.gyp
diff --git a/third_party/isimpledom/isimpledom.gyp b/third_party/isimpledom/isimpledom.gyp
index 61ba1623415ed9bfe646af54c67dd2ae0567f077..80a0089816ff2fda0ff3f874048d727af5e68123 100644
--- a/third_party/isimpledom/isimpledom.gyp
+++ b/third_party/isimpledom/isimpledom.gyp
@@ -3,41 +3,34 @@
# found in the LICENSE file.
{
- 'includes': [
- '../../build/common.gypi',
- ],
-
- 'target_defaults': {
- 'include_dirs': [
- '.',
- '<(INTERMEDIATE_DIR)',
- ],
- },
'targets': [
{
'target_name': 'isimpledom',
'type': 'static_library',
+ 'variables': {
+ 'midl_out_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/isimpledom',
+ },
'sources': [
'ISimpleDOMDocument.idl',
'ISimpleDOMNode.idl',
'ISimpleDOMText.idl',
- '<(INTERMEDIATE_DIR)/ISimpleDOMDocument.h',
- '<(INTERMEDIATE_DIR)/ISimpleDOMDocument_i.c',
- '<(INTERMEDIATE_DIR)/ISimpleDOMNode.h',
- '<(INTERMEDIATE_DIR)/ISimpleDOMNode_i.c',
- '<(INTERMEDIATE_DIR)/ISimpleDOMText.h',
- '<(INTERMEDIATE_DIR)/ISimpleDOMText_i.c',
+ '<(midl_out_dir)/ISimpleDOMDocument.h',
+ '<(midl_out_dir)/ISimpleDOMDocument_i.c',
+ '<(midl_out_dir)/ISimpleDOMNode.h',
+ '<(midl_out_dir)/ISimpleDOMNode_i.c',
+ '<(midl_out_dir)/ISimpleDOMText.h',
+ '<(midl_out_dir)/ISimpleDOMText_i.c',
],
'hard_dependency': 1,
'direct_dependent_settings': {
'include_dirs': [
- # Bit of a hack to work around the built in vstudio rule.
- '<(INTERMEDIATE_DIR)/../isimpledom',
+ '<(SHARED_INTERMEDIATE_DIR)',
],
},
'msvs_settings': {
'VCMIDLTool': {
'GenerateTypeLibrary': 'false',
+ 'OutputDirectory': '<(midl_out_dir)',
},
},
},

Powered by Google App Engine
This is Rietveld 408576698