Simplify the thunk targets since we don't support apps as components
Since we don't support using the component build to produce mojo apps, we can simplify the build targets in a few ways: *) every mojo_native_application must depend on the c system thunks, so just make that part of the template instead of requiring the dep *) there's no such thing as depending on gles2 headers from a component, so delete the forwarding group. Most targets that want to use the gles2 headers in a mojo context want to depend on an implementation through the thunks, so //mojo/public/c/gles2 does just that. A smaller number of targets (such as the implementation of the thunks) want to just depend on the headers but not an impl, so they can depend on //mojo/public/c/gles2:headers. The //mojo/public/gles target isn't that useful since the only thing we expose is a set of C entry points. We can probably also simplify the c system targets, but that's trickier due to more extensive use from the chromium side. BUG=438701 R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/780733002
This commit is contained in:
@@ -26,11 +26,11 @@ source_set("compositor") {
|
||||
"//mojo/converters/geometry",
|
||||
"//mojo/converters/surfaces",
|
||||
"//mojo/gpu",
|
||||
"//mojo/public/c/gles2",
|
||||
"//mojo/public/cpp/bindings",
|
||||
"//mojo/public/cpp/environment",
|
||||
"//mojo/public/cpp/system",
|
||||
"//mojo/public/cpp/utility",
|
||||
"//mojo/public/gles2:for_shared_library",
|
||||
"//mojo/public/interfaces/application",
|
||||
"//mojo/services/public/cpp/surfaces",
|
||||
"//mojo/services/public/interfaces/geometry",
|
||||
|
||||
@@ -28,7 +28,6 @@ mojo_native_application("sky_debugger") {
|
||||
"//mojo/application",
|
||||
"//mojo/converters/geometry",
|
||||
"//mojo/converters/input_events",
|
||||
"//mojo/public/c/system:for_shared_library",
|
||||
"//mojo/public/cpp/bindings",
|
||||
"//mojo/public/cpp/utility",
|
||||
"//mojo/services/public/cpp/view_manager",
|
||||
|
||||
@@ -14,7 +14,6 @@ mojo_native_application("prompt") {
|
||||
deps = [
|
||||
"//base",
|
||||
"//mojo/application",
|
||||
"//mojo/public/c/system:for_shared_library",
|
||||
"//mojo/public/cpp/bindings",
|
||||
"//mojo/public/cpp/utility",
|
||||
"//services/tracing:bindings",
|
||||
|
||||
@@ -20,7 +20,6 @@ mojo_native_application("tester") {
|
||||
"//mojo/application",
|
||||
"//mojo/converters/geometry",
|
||||
"//mojo/converters/input_events",
|
||||
"//mojo/public/c/system:for_shared_library",
|
||||
"//mojo/public/cpp/bindings",
|
||||
"//mojo/public/cpp/system",
|
||||
"//mojo/public/cpp/utility",
|
||||
|
||||
Reference in New Issue
Block a user