| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//sky/engine/config.gni") | 6 import("//sky/engine/config.gni") |
| 7 | 7 |
| 8 visibility = ["//sky/*"] | 8 visibility = ["//sky/*"] |
| 9 | 9 |
| 10 platform_web_unittest_files = [ | 10 platform_web_unittest_files = [ |
| 11 "//sky/engine/platform/graphics/BitmapImageTest.cpp", | 11 "//sky/engine/platform/graphics/BitmapImageTest.cpp", |
| 12 "//sky/engine/platform/graphics/DeferredImageDecoderTest.cpp", | 12 "//sky/engine/platform/graphics/DeferredImageDecoderTest.cpp", |
| 13 "//sky/engine/platform/graphics/ImageDecodingStoreTest.cpp", | 13 "//sky/engine/platform/graphics/ImageDecodingStoreTest.cpp", |
| 14 "//sky/engine/platform/graphics/ImageFrameGeneratorTest.cpp", | 14 "//sky/engine/platform/graphics/ImageFrameGeneratorTest.cpp", |
| 15 "//sky/engine/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp
", | 15 "//sky/engine/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp
", |
| 16 "//sky/engine/platform/graphics/test/MockImageDecoder.h", | 16 "//sky/engine/platform/graphics/test/MockImageDecoder.h", |
| 17 "//sky/engine/platform/graphics/test/MockWebGraphicsContext3D.h", | 17 "//sky/engine/platform/graphics/test/MockWebGraphicsContext3D.h", |
| 18 "//sky/engine/platform/image-decoders/gif/GIFImageDecoderTest.cpp", | 18 "//sky/engine/platform/image-decoders/gif/GIFImageDecoderTest.cpp", |
| 19 "//sky/engine/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp", | 19 "//sky/engine/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 component("web") { | 22 component("web") { |
| 23 output_name = "sky_web" | 23 output_name = "sky_web" |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//sky/engine/core", | 26 "//sky/engine/core", |
| 27 "//sky/engine/platform", | 27 "//sky/engine/platform", |
| 28 # FIXME: v8_inspector should not depend on core types and be separate |
| 29 # from both web and core. |
| 30 "//sky/engine/v8_inspector", |
| 28 ] | 31 ] |
| 29 | 32 |
| 30 configs += [ | 33 configs += [ |
| 31 "//sky/engine:config", | 34 "//sky/engine:config", |
| 32 "//sky/engine:inside_blink", | 35 "//sky/engine:inside_blink", |
| 33 "//sky/engine:non_test_config", | 36 "//sky/engine:non_test_config", |
| 34 ] | 37 ] |
| 35 | 38 |
| 36 sources = [ | 39 sources = [ |
| 37 "AssertMatchingEnums.cpp", | 40 "AssertMatchingEnums.cpp", |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 configs += [ "//sky/engine:config" ] | 159 configs += [ "//sky/engine:config" ] |
| 157 | 160 |
| 158 if (!is_component_build) { | 161 if (!is_component_build) { |
| 159 deps += [ "//sky/engine/core" ] | 162 deps += [ "//sky/engine/core" ] |
| 160 | 163 |
| 161 configs += [ "//sky/engine:inside_blink" ] | 164 configs += [ "//sky/engine:inside_blink" ] |
| 162 | 165 |
| 163 sources += platform_web_unittest_files | 166 sources += platform_web_unittest_files |
| 164 } | 167 } |
| 165 } | 168 } |
| OLD | NEW |