Chromium Code Reviews| 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 "//mojo/application/public/cpp:cpp_for_chromium", | |
| 50 "//mojo/environment:chromium", | |
| 51 "//third_party/mojo/src/mojo/edk/system", | |
| 52 ] | |
| 53 | |
| 54 public_deps = [ | |
| 55 "//content/common:mojo_bindings", | |
|
Ken Rockot(use gerrit already)
2015/09/29 19:20:45
Looks like this is not in sync with PS1 and should
Sam McNally
2015/09/30 01:51:06
I've split the mojom move into https://codereview.
| |
| 49 ] | 56 ] |
| 50 | 57 |
| 51 if (is_win) { | 58 if (is_win) { |
| 52 cflags = [ | 59 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) | 60 # TODO(GYP) |
| 56 # Shard this taret into parts to work around linker limitations. | 61 # Shard this taret into parts to work around linker limitations. |
| 57 # on link time code generation builds. | 62 # on link time code generation builds. |
| 58 #[buildtype=="Official"', { | 63 #[buildtype=="Official"', { |
| 59 # 'msvs_shard': 5, | 64 # 'msvs_shard': 5, |
| 60 #}], | 65 #}], |
| 61 } | 66 } |
| 62 } | 67 } |
| 63 | 68 |
| 64 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing | 69 # GYP version: WebKit/Source/modules/modules.gyp:modules_testing |
| 65 source_set("modules_testing") { | 70 source_set("modules_testing") { |
| 66 sources = modules_testing_files | 71 sources = modules_testing_files |
| 67 sources += [ | 72 sources += [ |
| 68 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", | 73 "$bindings_modules_v8_output_dir/V8InternalsPartial.cpp", |
| 69 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", | 74 "$bindings_modules_v8_output_dir/V8InternalsPartial.h", |
| 70 ] | 75 ] |
| 71 | 76 |
| 72 configs += [ | 77 configs += [ |
| 73 "//third_party/WebKit/Source:config", | 78 "//third_party/WebKit/Source:config", |
| 74 "//third_party/WebKit/Source:inside_blink", | 79 "//third_party/WebKit/Source:inside_blink", |
| 75 ] | 80 ] |
| 76 | 81 |
| 77 deps = [ | 82 deps = [ |
| 83 ":modules", | |
| 78 "//third_party/WebKit/Source/core", | 84 "//third_party/WebKit/Source/core", |
| 79 ] | 85 ] |
| 80 } | 86 } |
| 81 | 87 |
| 82 action("module_names") { | 88 action("module_names") { |
| 83 script = "../build/scripts/make_names.py" | 89 script = "../build/scripts/make_names.py" |
| 84 | 90 |
| 85 module_names_in = "indexeddb/IndexedDBNames.in" | 91 module_names_in = "indexeddb/IndexedDBNames.in" |
| 86 inputs = make_names_files + [ module_names_in ] | 92 inputs = make_names_files + [ module_names_in ] |
| 87 | 93 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 98 } | 104 } |
| 99 | 105 |
| 100 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate d | 106 # GYP version: WebKit/Source/modules/modules_generated.gyp:make_modules_generate d |
| 101 group("make_modules_generated") { | 107 group("make_modules_generated") { |
| 102 public_deps = [ | 108 public_deps = [ |
| 103 "//third_party/WebKit/Source/core:core_event_interfaces", | 109 "//third_party/WebKit/Source/core:core_event_interfaces", |
| 104 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 110 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 105 ":module_names", | 111 ":module_names", |
| 106 ] | 112 ] |
| 107 } | 113 } |
| OLD | NEW |