mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
36 lines
876 B
Plaintext
36 lines
876 B
Plaintext
|
# Copyright 2018 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("//ios/web/js_compile.gni")
|
||
|
import("//testing/test.gni")
|
||
|
|
||
|
source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
configs += [ "//build/config/compiler:enable_arc" ]
|
||
|
sources = [
|
||
|
"fill_js_unittest.mm",
|
||
|
"form_unittest.mm",
|
||
|
]
|
||
|
deps = [
|
||
|
":form_js",
|
||
|
"//base",
|
||
|
"//ios/chrome/app:tests_fake_hook",
|
||
|
"//ios/chrome/browser/browser_state:test_support",
|
||
|
"//ios/chrome/browser/tabs:tabs_internal",
|
||
|
"//ios/chrome/browser/web:test_support",
|
||
|
"//ios/web/public/test",
|
||
|
"//ios/web/public/test/fakes",
|
||
|
"//ios/web/web_state/js",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
js_compile_checked("form_js") {
|
||
|
visibility = [ ":unit_tests" ]
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"resources/form.js",
|
||
|
]
|
||
|
}
|