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

Unified Diff: app/app_base.gypi

Issue 6965007: Define os_posix in gyp files to get new Unix platforms added quickly (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: whoops, fixed mistake Created 9 years, 7 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 | « app/app.gyp ('k') | app/resources/app_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/app_base.gypi
diff --git a/app/app_base.gypi b/app/app_base.gypi
index 873cbb0a3f6f0d8d579c8e195763e5924bd54bbc..82c39622c696ac278f706889471bb8c1b0172654 100644
--- a/app/app_base.gypi
+++ b/app/app_base.gypi
@@ -31,7 +31,7 @@
'app_paths.cc',
],
'conditions': [
- ['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
+ ['toolkit_uses_gtk!=1', {
'sources!': [
'../ui/base/dragdrop/gtk_dnd_util.cc',
'../ui/base/dragdrop/gtk_dnd_util.h',
@@ -221,7 +221,7 @@
'win/shell.h',
],
'conditions': [
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ ['toolkit_uses_gtk==1', {
'dependencies': [
# font_gtk.cc uses fontconfig.
# TODO(evanm): I think this is wrong; it should just use GTK.
@@ -273,7 +273,7 @@
['exclude', '^win/*'],
],
}],
- ['OS=="linux"', {
+ ['use_x11==1', {
'sources!': [
'../ui/base/keycodes/keyboard_code_conversion_mac.mm',
'../ui/base/keycodes/keyboard_code_conversion_mac.h',
« no previous file with comments | « app/app.gyp ('k') | app/resources/app_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698