| 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("//third_party/WebKit/Source/bindings/bindings.gni") | 5 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 6 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 6 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
| 7 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") | 7 import("//third_party/WebKit/Source/bindings/modules/v8/v8.gni") |
| 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 8 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 9 import("//third_party/WebKit/Source/modules/modules.gni") | 9 import("//third_party/WebKit/Source/modules/modules.gni") |
| 10 | 10 |
| 11 visibility = [ "//third_party/WebKit/Source/*" ] | 11 visibility = [ "//third_party/WebKit/Source/*" ] |
| 12 | 12 |
| 13 # GYP version: WebKit/Source/modules/modules.gyp:modules | 13 # GYP version: WebKit/Source/modules/modules.gyp:modules |
| 14 source_set("modules") { | 14 source_set("modules") { |
| 15 visibility = [] # Allow re-assignment of list. | 15 visibility = [] # Allow re-assignment of list. |
| 16 visibility = [ "//third_party/WebKit/*" ] | 16 visibility = [ "//third_party/WebKit/*" ] |
| 17 | 17 |
| 18 sources = rebase_path(modules_files, ".", "//") | 18 sources = rebase_path(modules_files, ".", "//") |
| 19 sources += bindings_modules_v8_files | 19 sources += bindings_modules_v8_files |
| 20 sources += rebase_path(bindings_modules_generated_aggregate_files, ".", "//") | 20 sources += rebase_path(bindings_modules_generated_aggregate_files, ".", "//") |
| 21 sources += rebase_path(bindings_modules_generated_union_type_files, ".", "//") | 21 sources += rebase_path(bindings_modules_generated_union_type_files, ".", "//") |
| 22 sources += rebase_path(bindings_modules_generated_partial_aggregate_files, "."
, "//") | 22 sources += |
| 23 sources += rebase_path([ bindings_modules_generated_init_partial_interfaces_fi
le ], ".", "//") | 23 rebase_path(bindings_modules_generated_partial_aggregate_files, ".", "//") |
| 24 sources += |
| 25 rebase_path([ bindings_modules_generated_init_partial_interfaces_file ], |
| 26 ".", |
| 27 "//") |
| 24 | 28 |
| 25 if (!is_win) { | 29 if (!is_win) { |
| 26 sources -= [ | 30 sources -= [ "webdatabase/sqlite/SQLiteFileSystemWin.cpp" ] |
| 27 "webdatabase/sqlite/SQLiteFileSystemWin.cpp", | |
| 28 ] | |
| 29 } | 31 } |
| 30 if (!is_posix) { | 32 if (!is_posix) { |
| 31 sources -= [ | 33 sources -= [ "webdatabase/sqlite/SQLiteFileSystemPosix.cpp" ] |
| 32 "webdatabase/sqlite/SQLiteFileSystemPosix.cpp", | |
| 33 ] | |
| 34 } | 34 } |
| 35 | 35 |
| 36 configs += [ | 36 configs += [ |
| 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 37 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 38 "//build/config/compiler:no_size_t_to_int_warning", | 38 "//build/config/compiler:no_size_t_to_int_warning", |
| 39 "//third_party/WebKit/Source:config", | 39 "//third_party/WebKit/Source:config", |
| 40 "//third_party/WebKit/Source:inside_blink", | 40 "//third_party/WebKit/Source:inside_blink", |
| 41 ] | 41 ] |
| 42 | 42 |
| 43 deps = [ | 43 deps = [ |
| 44 ":make_modules_generated", | 44 ":make_modules_generated", |
| 45 "//third_party/WebKit/Source/core", | 45 "//third_party/WebKit/Source/core", |
| 46 "//third_party/icu", | 46 "//third_party/icu", |
| 47 "//third_party/sqlite", | 47 "//third_party/sqlite", |
| 48 "//third_party/zlib", | 48 "//third_party/zlib", |
| 49 ] | 49 ] |
| 50 | 50 |
| 51 if (is_win) { | 51 if (is_win) { |
| 52 cflags = [ | 52 cflags = [ "/wd4334" ] # Result of 32-bit shift implicitly converted to 64
bits. |
| 53 "/wd4334", # Result of 32-bit shift implicitly converted to 64 bits. | |
| 54 ] | |
| 55 # TODO(GYP) | 53 # TODO(GYP) |
| 56 # Shard this taret into parts to work around linker limitations. | 54 # Shard this taret into parts to work around linker limitations. |
| 57 # on link time code generation builds. | 55 # on link time code generation builds. |
| 58 #[buildtype=="Official"', { | 56 #[buildtype=="Official"', { |
| 59 # 'msvs_shard': 5, | 57 # 'msvs_shard': 5, |
| 60 #}], | 58 #}], |
| 61 } | 59 } |
| 62 } | 60 } |
| 63 | 61 |
| 64 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing | 62 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 96 } |
| 99 | 97 |
| 100 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d | 98 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate
d |
| 101 group("make_modules_generated") { | 99 group("make_modules_generated") { |
| 102 public_deps = [ | 100 public_deps = [ |
| 103 "//third_party/WebKit/Source/core:core_event_interfaces", | 101 "//third_party/WebKit/Source/core:core_event_interfaces", |
| 104 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 102 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 105 ":module_names", | 103 ":module_names", |
| 106 ] | 104 ] |
| 107 } | 105 } |
| OLD | NEW |