| OLD | NEW |
| 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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/toolchain/toolchain.gni") | 7 import("//build/toolchain/toolchain.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
| 10 import("//testing/libfuzzer/fuzzer_test.gni") | 10 import("//testing/libfuzzer/fuzzer_test.gni") |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 public_configs = [ ":core_include_dirs" ] | 227 public_configs = [ ":core_include_dirs" ] |
| 228 | 228 |
| 229 if (is_mac) { | 229 if (is_mac) { |
| 230 libs = [ | 230 libs = [ |
| 231 "AppKit.framework", | 231 "AppKit.framework", |
| 232 "Carbon.framework", | 232 "Carbon.framework", |
| 233 ] | 233 ] |
| 234 } | 234 } |
| 235 } | 235 } |
| 236 | 236 |
| 237 source_set("testing") { | 237 blink_unit_test_source_set("testing") { |
| 238 configs += [ | 238 configs += [ |
| 239 ":blink_core_pch", | 239 ":blink_core_pch", |
| 240 "//third_party/WebKit/Source:config", | 240 "//third_party/WebKit/Source:config", |
| 241 "//third_party/WebKit/Source:inside_blink", | 241 "//third_party/WebKit/Source:inside_blink", |
| 242 ] | 242 ] |
| 243 | 243 |
| 244 deps = [ | 244 deps = [ |
| 245 ":core", | 245 ":core", |
| 246 ":generated_testing_idls", | 246 ":generated_testing_idls", |
| 247 "//third_party/WebKit/Source/bindings/core/v8:testing", | 247 "//third_party/WebKit/Source/bindings/core/v8:testing", |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 sources = [ | 1167 sources = [ |
| 1168 "html/parser/TextResourceDecoderForFuzzing.h", | 1168 "html/parser/TextResourceDecoderForFuzzing.h", |
| 1169 "html/parser/TextResourceDecoderFuzzer.cpp", | 1169 "html/parser/TextResourceDecoderFuzzer.cpp", |
| 1170 ] | 1170 ] |
| 1171 deps = [ | 1171 deps = [ |
| 1172 ":core", | 1172 ":core", |
| 1173 "../platform:blink_fuzzer_test_support", | 1173 "../platform:blink_fuzzer_test_support", |
| 1174 ] | 1174 ] |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 source_set("unit_tests") { | 1177 blink_unit_test_source_set("unit_tests") { |
| 1178 testonly = true | 1178 testonly = true |
| 1179 sources = [ | 1179 sources = [ |
| 1180 "animation/AnimationClockTest.cpp", | 1180 "animation/AnimationClockTest.cpp", |
| 1181 "animation/AnimationEffectReadOnlyTest.cpp", | 1181 "animation/AnimationEffectReadOnlyTest.cpp", |
| 1182 "animation/AnimationInputHelpersTest.cpp", | 1182 "animation/AnimationInputHelpersTest.cpp", |
| 1183 "animation/AnimationSimTest.cpp", | 1183 "animation/AnimationSimTest.cpp", |
| 1184 "animation/AnimationTest.cpp", | 1184 "animation/AnimationTest.cpp", |
| 1185 "animation/AnimationTestHelper.cpp", | 1185 "animation/AnimationTestHelper.cpp", |
| 1186 "animation/AnimationTestHelper.h", | 1186 "animation/AnimationTestHelper.h", |
| 1187 "animation/CompositorAnimationsTest.cpp", | 1187 "animation/CompositorAnimationsTest.cpp", |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1559 "workers/DedicatedWorkerTest.cpp", | 1559 "workers/DedicatedWorkerTest.cpp", |
| 1560 "workers/MainThreadWorkletTest.cpp", | 1560 "workers/MainThreadWorkletTest.cpp", |
| 1561 "workers/ThreadedWorkletTest.cpp", | 1561 "workers/ThreadedWorkletTest.cpp", |
| 1562 "workers/WorkerThreadTest.cpp", | 1562 "workers/WorkerThreadTest.cpp", |
| 1563 "workers/WorkerThreadTestHelper.h", | 1563 "workers/WorkerThreadTestHelper.h", |
| 1564 "workers/WorkletModuleResponsesMapTest.cpp", | 1564 "workers/WorkletModuleResponsesMapTest.cpp", |
| 1565 "xml/XPathFunctionsTest.cpp", | 1565 "xml/XPathFunctionsTest.cpp", |
| 1566 "xml/parser/SharedBufferReaderTest.cpp", | 1566 "xml/parser/SharedBufferReaderTest.cpp", |
| 1567 ] | 1567 ] |
| 1568 | 1568 |
| 1569 |
| 1569 configs += [ | 1570 configs += [ |
| 1570 ":blink_core_pch", | 1571 ":blink_core_pch", |
| 1571 "//third_party/WebKit/Source:config", | 1572 "//third_party/WebKit/Source:config", |
| 1572 "//third_party/WebKit/Source:inside_blink", | 1573 "//third_party/WebKit/Source:inside_blink", |
| 1573 ] | 1574 ] |
| 1574 | 1575 |
| 1575 deps = [ | 1576 deps = [ |
| 1576 ":core", | 1577 ":core", |
| 1577 "//testing/gmock", | 1578 "//testing/gmock", |
| 1578 "//testing/gtest", | 1579 "//testing/gtest", |
| 1579 "//third_party/WebKit/Source/core/editing:unit_tests", | 1580 "//third_party/WebKit/Source/core/editing:editing_unit_tests", |
| 1580 ] | 1581 ] |
| 1581 | 1582 |
| 1582 # FIXME: Enable mojo unittests on Android after fixing data dependency. | 1583 # FIXME: Enable mojo unittests on Android after fixing data dependency. |
| 1583 # crbug.com/741925 | 1584 # crbug.com/741925 |
| 1584 if (!is_android) { | 1585 if (!is_android) { |
| 1585 deps += [ "//third_party/WebKit/Source/core/mojo:unit_tests" ] | 1586 deps += [ "//third_party/WebKit/Source/core/mojo:unit_tests" ] |
| 1586 } | 1587 } |
| 1587 } | 1588 } |
| 1588 | 1589 |
| 1589 # Fuzzer for blink::StyleSheetContents | 1590 # Fuzzer for blink::StyleSheetContents |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1617 sources = [ | 1618 sources = [ |
| 1618 "frame/csp/ContentSecurityPolicyFuzzer.cpp", | 1619 "frame/csp/ContentSecurityPolicyFuzzer.cpp", |
| 1619 ] | 1620 ] |
| 1620 deps = [ | 1621 deps = [ |
| 1621 ":core", | 1622 ":core", |
| 1622 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", | 1623 "//third_party/WebKit/Source/platform:blink_fuzzer_test_support", |
| 1623 ] | 1624 ] |
| 1624 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" | 1625 dict = "//testing/libfuzzer/fuzzers/dicts/content_security_policy.dict" |
| 1625 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" | 1626 seed_corpus = "//testing/libfuzzer/fuzzers/content_security_policy_corpus" |
| 1626 } | 1627 } |
| OLD | NEW |