blob: c5caf8e5826127f5a67719f72277e5cf6d36e36d [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/public/tools/bindings/mojom.gni")
group("vsync") {
testonly = true
deps = [
":interfaces",
]
if (is_android) {
deps += [ ":vsync_lib" ]
}
}
mojom("interfaces") {
sources = [
"vsync.mojom",
]
}
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
android_library("vsync_lib") {
java_files = [ "src/org/domokit/vsync/VSyncProviderImpl.java" ]
deps = [
"//base:base_java",
"//mojo/public/java:bindings",
"//mojo/public/java:system",
":interfaces_java",
]
}
}