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

Side by Side Diff: mojo/public/platform/native/BUILD.gn

Issue 1185963002: Add some Mojo C thunks used by cc when turning on impl-side painting. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 5 years, 6 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 assert(!defined(is_nacl) || !is_nacl) 5 assert(!defined(is_nacl) || !is_nacl)
6 6
7 import("../../mojo_sdk.gni") 7 import("../../mojo_sdk.gni")
8 8
9 mojo_sdk_source_set("system") { 9 mojo_sdk_source_set("system") {
10 sources = [ 10 sources = [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 deps = [ 55 deps = [
56 ":system_impl_private_api", 56 ":system_impl_private_api",
57 "//testing/gtest", 57 "//testing/gtest",
58 ] 58 ]
59 59
60 mojo_sdk_deps = [ "mojo/public/c/system" ] 60 mojo_sdk_deps = [ "mojo/public/c/system" ]
61 } 61 }
62 62
63 mojo_sdk_source_set("gles2") { 63 mojo_sdk_source_set("gles2") {
64 sources = [ 64 sources = [
65 "gles2_impl_chromium_copy_texture_thunks.cc",
66 "gles2_impl_chromium_copy_texture_thunks.h",
67 "gles2_impl_chromium_image_thunks.cc",
68 "gles2_impl_chromium_image_thunks.h",
65 "gles2_impl_chromium_miscellaneous_thunks.cc", 69 "gles2_impl_chromium_miscellaneous_thunks.cc",
66 "gles2_impl_chromium_miscellaneous_thunks.h", 70 "gles2_impl_chromium_miscellaneous_thunks.h",
71 "gles2_impl_chromium_pixel_transfer_buffer_object_thunks.cc",
72 "gles2_impl_chromium_pixel_transfer_buffer_object_thunks.h",
67 "gles2_impl_chromium_sub_image_thunks.cc", 73 "gles2_impl_chromium_sub_image_thunks.cc",
68 "gles2_impl_chromium_sub_image_thunks.h", 74 "gles2_impl_chromium_sub_image_thunks.h",
69 "gles2_impl_chromium_sync_point_thunks.cc", 75 "gles2_impl_chromium_sync_point_thunks.cc",
70 "gles2_impl_chromium_sync_point_thunks.h", 76 "gles2_impl_chromium_sync_point_thunks.h",
71 "gles2_impl_chromium_texture_mailbox_thunks.cc", 77 "gles2_impl_chromium_texture_mailbox_thunks.cc",
72 "gles2_impl_chromium_texture_mailbox_thunks.h", 78 "gles2_impl_chromium_texture_mailbox_thunks.h",
73 "gles2_impl_occlusion_query_ext_thunks.cc", 79 "gles2_impl_occlusion_query_ext_thunks.cc",
74 "gles2_impl_occlusion_query_ext_thunks.h", 80 "gles2_impl_occlusion_query_ext_thunks.h",
75 "gles2_impl_thunks.cc", 81 "gles2_impl_thunks.cc",
76 "gles2_impl_thunks.h", 82 "gles2_impl_thunks.h",
77 "gles2_thunks.cc", 83 "gles2_thunks.cc",
78 "gles2_thunks.h", 84 "gles2_thunks.h",
79 ] 85 ]
80 86
81 defines = [ "MOJO_GLES2_IMPLEMENTATION" ] 87 defines = [ "MOJO_GLES2_IMPLEMENTATION" ]
82 88
83 configs = [ "//third_party/khronos:khronos_headers" ] 89 configs = [ "//third_party/khronos:khronos_headers" ]
84 90
85 mojo_sdk_deps = [ 91 mojo_sdk_deps = [
86 "mojo/public/c/gles2:headers", 92 "mojo/public/c/gles2:headers",
87 "mojo/public/c/environment", 93 "mojo/public/c/environment",
88 "mojo/public/c/system", 94 "mojo/public/c/system",
89 ] 95 ]
90 96
91 if (is_mac) { 97 if (is_mac) {
92 # TODO(GYP): Make it a run-path dependent library. 98 # TODO(GYP): Make it a run-path dependent library.
93 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 99 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
94 } 100 }
95 } 101 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698