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

Side by Side Diff: mojo/public/gles2/BUILD.gn

Issue 599283003: Make gn check //mojo/public/* pass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("gles2_config") { 5 config("gles2_config") {
6 defines = [ "GLES2_USE_MOJO" ] 6 defines = [ "GLES2_USE_MOJO" ]
7 } 7 }
8 8
9 # GYP version: mojo/mojo_public.gypi:mojo_gles2 9 # GYP version: mojo/mojo_public.gypi:mojo_gles2
10 static_library("gles2") { 10 static_library("gles2") {
(...skipping 17 matching lines...) Expand all
28 "../platform/native/gles2_thunks.h", 28 "../platform/native/gles2_thunks.h",
29 "../platform/native/gles2_impl_thunks.cc", 29 "../platform/native/gles2_impl_thunks.cc",
30 "../platform/native/gles2_impl_thunks.h", 30 "../platform/native/gles2_impl_thunks.h",
31 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.cc", 31 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.cc",
32 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.h", 32 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.h",
33 "../platform/native/gles2_impl_chromium_sync_point_thunks.cc", 33 "../platform/native/gles2_impl_chromium_sync_point_thunks.cc",
34 "../platform/native/gles2_impl_chromium_sync_point_thunks.h", 34 "../platform/native/gles2_impl_chromium_sync_point_thunks.h",
35 "gles2_interface.h", 35 "gles2_interface.h",
36 ] 36 ]
37 37
38 deps = [
39 "//mojo/public/c/environment",
40 "//mojo/public/c/system:headers",
41 ]
42
38 if (is_mac) { 43 if (is_mac) {
39 # TODO(GYP): Make it a run-path dependent library. 44 # TODO(GYP): Make it a run-path dependent library.
40 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 45 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
41 } 46 }
42 } 47 }
43 48
44 49
45 # In an is_component_build build, everything can link against //mojo/gles2 50 # In an is_component_build build, everything can link against //mojo/gles2
46 # because it is built as a shared library. However, in a static build, 51 # because it is built as a shared library. However, in a static build,
47 # //mojo/gles2 is linked into an executable (e.g., mojo_shell), and must be 52 # //mojo/gles2 is linked into an executable (e.g., mojo_shell), and must be
(...skipping 12 matching lines...) Expand all
60 } else { 65 } else {
61 deps = [ ":gles2" ] 66 deps = [ ":gles2" ]
62 } 67 }
63 } 68 }
64 69
65 group("for_component") { 70 group("for_component") {
66 if (is_component_build) { 71 if (is_component_build) {
67 deps = [ "//mojo/gles2" ] 72 deps = [ "//mojo/gles2" ]
68 } 73 }
69 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698