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

Side by Side Diff: ui/gl/BUILD.gn

Issue 544423002: Convert GN visibility variables to lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 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
« no previous file with comments | « tools/generate_library_loader/generate_library_loader.gni ('k') | ui/keyboard/webui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 "//ui/ozone:ozone_base", 251 "//ui/ozone:ozone_base",
252 ] 252 ]
253 } 253 }
254 254
255 if (is_android && !is_android_webview_build) { 255 if (is_android && !is_android_webview_build) {
256 deps += [ "//ui/android:ui_java" ] 256 deps += [ "//ui/android:ui_java" ]
257 } 257 }
258 } 258 }
259 259
260 action("generate_gl_bindings") { 260 action("generate_gl_bindings") {
261 visibility = ":*" # Only targets in this file can see this. 261 visibility = [ ":*" ] # Only targets in this file can see this.
262 262
263 script = "generate_bindings.py" 263 script = "generate_bindings.py"
264 264
265 # TODO(brettw) make this dynamic. The GYP version calls "generate_bindings.py 265 # TODO(brettw) make this dynamic. The GYP version calls "generate_bindings.py
266 # --inputs" to get the list here. What should happen is that the script 266 # --inputs" to get the list here. What should happen is that the script
267 # should generate a .d file, which we should declare here. That will 267 # should generate a .d file, which we should declare here. That will
268 # eliminate the need bot both hardcoding the list here or calling the script 268 # eliminate the need bot both hardcoding the list here or calling the script
269 # during GN-time. 269 # during GN-time.
270 inputs = [ 270 inputs = [
271 "EGL/eglextchromium.h", 271 "EGL/eglextchromium.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 generate_jni("gl_jni_headers") { 342 generate_jni("gl_jni_headers") {
343 deps = [ ":surface_jni_headers" ] 343 deps = [ ":surface_jni_headers" ]
344 forward_dependent_configs_from = [ ":surface_jni_headers" ] 344 forward_dependent_configs_from = [ ":surface_jni_headers" ]
345 sources = [ 345 sources = [
346 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 346 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
347 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 347 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
348 ] 348 ]
349 jni_package = "ui/gl" 349 jni_package = "ui/gl"
350 } 350 }
351 } 351 }
OLDNEW
« no previous file with comments | « tools/generate_library_loader/generate_library_loader.gni ('k') | ui/keyboard/webui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698