| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 8 import("//third_party/WebKit/Source/bindings/bindings.gni") |
| 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 9 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
| 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 10 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
| 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 11 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
| 11 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") | 12 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") |
| 12 import("//third_party/WebKit/Source/config.gni") | 13 import("//third_party/WebKit/Source/config.gni") |
| 13 import("//third_party/WebKit/Source/core/core.gni") | 14 import("//third_party/WebKit/Source/core/core.gni") |
| 14 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 15 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 15 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 16 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 | 45 |
| 45 # Config for code that builds as part of core. | 46 # Config for code that builds as part of core. |
| 46 config("config") { | 47 config("config") { |
| 47 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] | 48 defines = [ "BLINK_CORE_IMPLEMENTATION=1" ] |
| 48 | 49 |
| 49 cflags = [] | 50 cflags = [] |
| 50 if (is_win) { | 51 if (is_win) { |
| 51 # Suppress __declspec(dllexport)/extern conflict (C4910). | 52 # Suppress __declspec(dllexport)/extern conflict (C4910). |
| 52 cflags += [ "/wd4910" ] | 53 cflags += [ "/wd4910" ] |
| 53 } | 54 } |
| 55 |
| 56 if (is_chromecast) { |
| 57 defines += [ "BLINK_MEDIA_LOG=DVLOG(2)" ] |
| 58 } |
| 54 } | 59 } |
| 55 core_config_add += [ ":config" ] | 60 core_config_add += [ ":config" ] |
| 56 | 61 |
| 57 config("core_include_dirs") { | 62 config("core_include_dirs") { |
| 58 include_dirs = [ | 63 include_dirs = [ |
| 59 "..", | 64 "..", |
| 60 "$root_gen_dir/blink", | 65 "$root_gen_dir/blink", |
| 61 ] | 66 ] |
| 62 if (is_android && use_openmax_dl_fft) { | 67 if (is_android && use_openmax_dl_fft) { |
| 63 include_dirs += [ "//third_party/openmax_dl" ] | 68 include_dirs += [ "//third_party/openmax_dl" ] |
| (...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 "$blink_core_output_dir/{{source_name_part}}.h", | 1083 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1079 ] | 1084 ] |
| 1080 args = [ | 1085 args = [ |
| 1081 "{{source}}", | 1086 "{{source}}", |
| 1082 rel_blink_core_gen_dir, | 1087 rel_blink_core_gen_dir, |
| 1083 bison_exe, | 1088 bison_exe, |
| 1084 ] | 1089 ] |
| 1085 | 1090 |
| 1086 deps = make_core_generated_deps | 1091 deps = make_core_generated_deps |
| 1087 } | 1092 } |
| OLD | NEW |