Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
| 4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
| 5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
| 10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
| (...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1532 "//build/config/sanitizers:deps", | 1532 "//build/config/sanitizers:deps", |
| 1533 ] | 1533 ] |
| 1534 | 1534 |
| 1535 if (is_win) { | 1535 if (is_win) { |
| 1536 cflags = [ | 1536 cflags = [ |
| 1537 # Disable warnings to enable Win64 build, issue 1323. | 1537 # Disable warnings to enable Win64 build, issue 1323. |
| 1538 "/wd4267", # size_t to int truncation | 1538 "/wd4267", # size_t to int truncation |
| 1539 ] | 1539 ] |
| 1540 } | 1540 } |
| 1541 } | 1541 } |
| 1542 | |
| 1543 executable("isac_test") { | |
| 1544 testonly = true | |
| 1545 | |
| 1546 sources = [ | |
| 1547 "codecs/isac/main/test/simpleKenny.c", | |
| 1548 "codecs/isac/main/util/utility.c", | |
| 1549 ] | |
| 1550 | |
| 1551 include_dirs = [ | |
| 1552 "codecs/isac/main/test", | |
| 1553 "codecs/isac/main/include", | |
|
kjellander_webrtc
2016/08/23 10:03:31
Sort alphabetically (please fix GYP version too)
ivoc
2016/08/23 11:38:50
Done.
| |
| 1554 "codecs/isac/main/util", | |
| 1555 "../..", | |
|
kjellander_webrtc
2016/08/23 10:03:32
This is not needed for GN.
ivoc
2016/08/23 11:38:50
Done.
| |
| 1556 ] | |
| 1557 | |
| 1558 deps = [ | |
| 1559 ":isac", | |
| 1560 "../../base:rtc_base", | |
|
kjellander_webrtc
2016/08/23 10:03:31
Please add "//build/config/sanitizers:deps" as wel
kjellander_webrtc
2016/08/23 10:03:32
Is rtc_base really needed? rtc_base_approved is us
ivoc
2016/08/23 11:38:50
Done.
ivoc
2016/08/23 11:38:50
According to gn check it has to be rtc_base, becau
| |
| 1561 ] | |
| 1562 | |
| 1563 if (is_win && is_clang) { | |
| 1564 cflags = [ | |
| 1565 # Disable warnings failing when compiling with Clang on Windows. | |
| 1566 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | |
| 1567 "-Wno-format", | |
| 1568 ] | |
| 1569 } | |
| 1570 } | |
| 1542 } | 1571 } |
| OLD | NEW |