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

Unified Diff: ui/window/window.gyp

Issue 255823009: [WIP] ui/window: Master CL. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ui/window/window.gyp
diff --git a/ui/window/window.gyp b/ui/window/window.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ec86a4465a1a7116fa8602c0721b17734f04d37c
--- /dev/null
+++ b/ui/window/window.gyp
@@ -0,0 +1,44 @@
+# Copyright 2014 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,
+ 'use_x11': 1,
+ },
+ 'targets': [
+ {
+ 'target_name': 'window',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
tfarina 2014/04/28 18:20:53 please, do not add more usage of <(DEPTH) in .gyp
+ '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../gfx/gfx.gyp:gfx_geometry',
+ ],
+ 'defines': [
+ 'WINDOW_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'platform_window.h',
+ 'x11/x11_window.cc',
+ ],
+ 'conditions': [
+ # We explicitly enumerate the platforms we _do_ provide native cracking
+ # for here.
+ ['use_x11==1', {
+ 'dependencies': [
+ '../events/x/events_x11.gyp:events_x11',
+ '../gfx/x/gfx_x11.gyp:gfx_x11',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-lX11',
+ '-lXi',
+ ],
+ },
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698