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

Unified Diff: third_party/leveldatabase/leveldatabase.gyp

Issue 433203002: leveldatabase.gyp cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exclude header files too Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/leveldatabase.gyp
diff --git a/third_party/leveldatabase/leveldatabase.gyp b/third_party/leveldatabase/leveldatabase.gyp
index 71931d93b3b1960b099bbd8663a8c18d6436edf8..1696f45c668b1836bdc47c666a5605c6db9b2a16 100644
--- a/third_party/leveldatabase/leveldatabase.gyp
+++ b/third_party/leveldatabase/leveldatabase.gyp
@@ -39,6 +39,9 @@
'src/include/',
],
'conditions': [
+ ['OS!="win"', {
+ 'sources/': [ ['exclude', '_win.(h|cc)$'], ],
+ }],
['use_snappy', {
'defines': [
'USE_SNAPPY=1',
@@ -63,12 +66,6 @@
'../../third_party/snappy/snappy.gyp:snappy',
],
}],
- ['OS=="win"', {
- 'sources': [
- 'env_chromium_win.cc',
- 'env_chromium_win.h',
- ],
- }],
],
'direct_dependent_settings': {
'include_dirs': [
@@ -95,6 +92,8 @@
'env_chromium.h',
'env_chromium_stdio.cc',
'env_chromium_stdio.h',
+ 'env_chromium_win.cc',
+ 'env_chromium_win.h',
'env_idb.h',
'port/port_chromium.cc',
'port/port_chromium.h',
@@ -181,7 +180,7 @@
'src/util/status.cc',
],
'sources/': [
- ['exclude', '_(android|example|portable|posix)\\.cc$'],
+ ['exclude', '_(example|posix)\\.(h|cc)$'],
],
},
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698