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

Unified Diff: cc/cc.gyp

Issue 11615020: Clean up cc and webkit/compositor_bindings include path shenanigans (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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 | « cc/animation_curve.h ('k') | cc/cc.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/cc.gyp
diff --git a/cc/cc.gyp b/cc/cc.gyp
index 7caacff6894c4cd4b8fc2c5849298175744541e5..4c3b5406a5919aab815779036a8ecc81e429d50f 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -286,14 +286,25 @@
'yuv_video_draw_quad.cc',
'yuv_video_draw_quad.h',
],
+ 'conditions': [
+ ['inside_chromium_build==1', {
+ 'webkit_src_dir': '<(DEPTH)/third_party/WebKit',
+ }, {
+ 'webkit_src_dir': '<(DEPTH)/../../..',
+ }],
+ ],
},
+ 'conditions': [
+ ['inside_chromium_build==0', {
+ 'defines': [
+ 'INSIDE_WEBKIT_BUILD=1',
+ ],
+ }],
+ ],
'targets': [
{
'target_name': 'cc',
'type': '<(component)',
- 'includes': [
- 'cc.gypi',
- ],
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
@@ -306,18 +317,14 @@
'defines': [
'CC_IMPLEMENTATION=1',
],
- 'include_dirs': [
- '<(webkit_src_dir)/Source/Platform/chromium',
- '<@(cc_stubs_dirs)',
- ],
'sources': [
'<@(cc_source_files)',
],
'all_dependent_settings': {
'include_dirs': [
- # Needed for <public/WebTransformationMatrix.h> in layer.h
- '<(webkit_src_dir)/Source/Platform/chromium',
- ],
+ # TODO(jamesr): Remove once https://webkit.org/b/105259 lands + rolls
+ '<(webkit_src_dir)/Source/Platform/chromium'
+ ]
}
},
],
« no previous file with comments | « cc/animation_curve.h ('k') | cc/cc.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698