Chromium Code Reviews| Index: mojo/services/public/cpp/view_manager/lib/BUILD.gn |
| diff --git a/mojo/services/public/cpp/view_manager/lib/BUILD.gn b/mojo/services/public/cpp/view_manager/lib/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..48a6f11ad608e8f626fce6e747f8bad034edaba9 |
| --- /dev/null |
| +++ b/mojo/services/public/cpp/view_manager/lib/BUILD.gn |
| @@ -0,0 +1,29 @@ |
| +# Copyright (c) 2014 The Chromium Authors. All rights reserved. |
|
viettrungluu
2014/08/21 22:31:29
nit: no "(c)" in the current copyright statement
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/ui.gni") |
| + |
| +# GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests |
| +source_set("run_unittests") { |
| + sources = [ |
| + "view_manager_test_suite.cc", |
| + "view_manager_test_suite.h", |
| + "view_manager_unittests.cc", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//base/test:test_support", |
| + "//ui/gl", |
| + ] |
| + if (is_linux) { |
| + deps += [ |
| + "//third_party/mesa:osmesa", |
| + "//mojo/services/native_viewport", |
| + ] |
| + } |
| + if (use_x11) { |
| + deps += [ "//ui/gfx/x" ] |
| + } |
| +} |