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

Unified Diff: gpu/BUILD.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Actually undo gyp change 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 side-by-side diff with in-line comments
Download patch
Index: gpu/BUILD.gn
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index 8239940abe20fabaee8de75e8b30ff37da6bd064..bf13b05548b7e5a8ade840184cb86c191d6e1688 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -117,12 +117,15 @@ test("gl_tests") {
"//gpu/command_buffer/client:gles2_implementation_client_side_arrays",
]
+ libs = []
+
+ if (is_android) {
+ deps += [
+ "//testing/android:native_test_native_code",
+ ]
+ libs += [ "android" ]
+ }
# TODO(GYP)
- # ['OS == "android"', {
- # 'dependencies': [
- # '../testing/android/native_test.gyp:native_test_native_code',
- # ],
- # }],
# ['OS == "win"', {
# 'dependencies': [
# '../third_party/angle/src/build_angle.gyp:libEGL',

Powered by Google App Engine
This is Rietveld 408576698