Chromium Code Reviews| 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', |
| + ], |
| + }, |
| + }], |
| + ], |
| + }, |
| + ], |
| +} |